| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package documentai aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/documentai/apiv1beta3/documentaipb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package documentai |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/documentai/apiv1beta3/documentaipb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 31 |
const ( |
| 32 |
BatchProcessMetadata_CANCELLED = src.BatchProcessMetadata_CANCELLED |
| 33 |
BatchProcessMetadata_CANCELLING = src.BatchProcessMetadata_CANCELLING |
| 34 |
BatchProcessMetadata_FAILED = src.BatchProcessMetadata_FAILED |
| 35 |
BatchProcessMetadata_RUNNING = src.BatchProcessMetadata_RUNNING |
| 36 |
BatchProcessMetadata_STATE_UNSPECIFIED = src.BatchProcessMetadata_STATE_UNSPECIFIED |
| 37 |
BatchProcessMetadata_SUCCEEDED = src.BatchProcessMetadata_SUCCEEDED |
| 38 |
BatchProcessMetadata_WAITING = src.BatchProcessMetadata_WAITING |
| 39 |
CommonOperationMetadata_CANCELLED = src.CommonOperationMetadata_CANCELLED |
| 40 |
CommonOperationMetadata_CANCELLING = src.CommonOperationMetadata_CANCELLING |
| 41 |
CommonOperationMetadata_FAILED = src.CommonOperationMetadata_FAILED |
| 42 |
CommonOperationMetadata_RUNNING = src.CommonOperationMetadata_RUNNING |
| 43 |
CommonOperationMetadata_STATE_UNSPECIFIED = src.CommonOperationMetadata_STATE_UNSPECIFIED |
| 44 |
CommonOperationMetadata_SUCCEEDED = src.CommonOperationMetadata_SUCCEEDED |
| 45 |
DocumentSchema_EntityType_Property_OCCURRENCE_TYPE_UNSPECIFIED = src.DocumentSchema_EntityType_Property_OCCURRENCE_TYPE_UNSPECIFIED |
| 46 |
DocumentSchema_EntityType_Property_OPTIONAL_MULTIPLE = src.DocumentSchema_EntityType_Property_OPTIONAL_MULTIPLE |
| 47 |
DocumentSchema_EntityType_Property_OPTIONAL_ONCE = src.DocumentSchema_EntityType_Property_OPTIONAL_ONCE |
| 48 |
DocumentSchema_EntityType_Property_REQUIRED_MULTIPLE = src.DocumentSchema_EntityType_Property_REQUIRED_MULTIPLE |
| 49 |
DocumentSchema_EntityType_Property_REQUIRED_ONCE = src.DocumentSchema_EntityType_Property_REQUIRED_ONCE |
| 50 |
Document_PageAnchor_PageRef_BLOCK = src.Document_PageAnchor_PageRef_BLOCK |
| 51 |
Document_PageAnchor_PageRef_FORM_FIELD = src.Document_PageAnchor_PageRef_FORM_FIELD |
| 52 |
Document_PageAnchor_PageRef_LAYOUT_TYPE_UNSPECIFIED = src.Document_PageAnchor_PageRef_LAYOUT_TYPE_UNSPECIFIED |
| 53 |
Document_PageAnchor_PageRef_LINE = src.Document_PageAnchor_PageRef_LINE |
| 54 |
Document_PageAnchor_PageRef_PARAGRAPH = src.Document_PageAnchor_PageRef_PARAGRAPH |
| 55 |
Document_PageAnchor_PageRef_TABLE = src.Document_PageAnchor_PageRef_TABLE |
| 56 |
Document_PageAnchor_PageRef_TOKEN = src.Document_PageAnchor_PageRef_TOKEN |
| 57 |
Document_PageAnchor_PageRef_VISUAL_ELEMENT = src.Document_PageAnchor_PageRef_VISUAL_ELEMENT |
| 58 |
Document_Page_Layout_ORIENTATION_UNSPECIFIED = src.Document_Page_Layout_ORIENTATION_UNSPECIFIED |
| 59 |
Document_Page_Layout_PAGE_DOWN = src.Document_Page_Layout_PAGE_DOWN |
| 60 |
Document_Page_Layout_PAGE_LEFT = src.Document_Page_Layout_PAGE_LEFT |
| 61 |
Document_Page_Layout_PAGE_RIGHT = src.Document_Page_Layout_PAGE_RIGHT |
| 62 |
Document_Page_Layout_PAGE_UP = src.Document_Page_Layout_PAGE_UP |
| 63 |
Document_Page_Token_DetectedBreak_HYPHEN = src.Document_Page_Token_DetectedBreak_HYPHEN |
| 64 |
Document_Page_Token_DetectedBreak_SPACE = src.Document_Page_Token_DetectedBreak_SPACE |
| 65 |
Document_Page_Token_DetectedBreak_TYPE_UNSPECIFIED = src.Document_Page_Token_DetectedBreak_TYPE_UNSPECIFIED |
| 66 |
Document_Page_Token_DetectedBreak_WIDE_SPACE = src.Document_Page_Token_DetectedBreak_WIDE_SPACE |
| 67 |
Document_Provenance_ADD = src.Document_Provenance_ADD |
| 68 |
Document_Provenance_EVAL_APPROVED = src.Document_Provenance_EVAL_APPROVED |
| 69 |
Document_Provenance_EVAL_REQUESTED = src.Document_Provenance_EVAL_REQUESTED |
| 70 |
Document_Provenance_EVAL_SKIPPED = src.Document_Provenance_EVAL_SKIPPED |
| 71 |
Document_Provenance_OPERATION_TYPE_UNSPECIFIED = src.Document_Provenance_OPERATION_TYPE_UNSPECIFIED |
| 72 |
Document_Provenance_REMOVE = src.Document_Provenance_REMOVE |
| 73 |
Document_Provenance_REPLACE = src.Document_Provenance_REPLACE |
| 74 |
HumanReviewStatus_ERROR = src.HumanReviewStatus_ERROR |
| 75 |
HumanReviewStatus_IN_PROGRESS = src.HumanReviewStatus_IN_PROGRESS |
| 76 |
HumanReviewStatus_SKIPPED = src.HumanReviewStatus_SKIPPED |
| 77 |
HumanReviewStatus_STATE_UNSPECIFIED = src.HumanReviewStatus_STATE_UNSPECIFIED |
| 78 |
HumanReviewStatus_VALIDATION_PASSED = src.HumanReviewStatus_VALIDATION_PASSED |
| 79 |
ProcessorVersion_CREATING = src.ProcessorVersion_CREATING |
| 80 |
ProcessorVersion_DELETING = src.ProcessorVersion_DELETING |
| 81 |
ProcessorVersion_DEPLOYED = src.ProcessorVersion_DEPLOYED |
| 82 |
ProcessorVersion_DEPLOYING = src.ProcessorVersion_DEPLOYING |
| 83 |
ProcessorVersion_FAILED = src.ProcessorVersion_FAILED |
| 84 |
ProcessorVersion_STATE_UNSPECIFIED = src.ProcessorVersion_STATE_UNSPECIFIED |
| 85 |
ProcessorVersion_UNDEPLOYED = src.ProcessorVersion_UNDEPLOYED |
| 86 |
ProcessorVersion_UNDEPLOYING = src.ProcessorVersion_UNDEPLOYING |
| 87 |
Processor_CREATING = src.Processor_CREATING |
| 88 |
Processor_DELETING = src.Processor_DELETING |
| 89 |
Processor_DISABLED = src.Processor_DISABLED |
| 90 |
Processor_DISABLING = src.Processor_DISABLING |
| 91 |
Processor_ENABLED = src.Processor_ENABLED |
| 92 |
Processor_ENABLING = src.Processor_ENABLING |
| 93 |
Processor_FAILED = src.Processor_FAILED |
| 94 |
Processor_STATE_UNSPECIFIED = src.Processor_STATE_UNSPECIFIED |
| 95 |
ReviewDocumentOperationMetadata_CANCELLED = src.ReviewDocumentOperationMetadata_CANCELLED |
| 96 |
ReviewDocumentOperationMetadata_CANCELLING = src.ReviewDocumentOperationMetadata_CANCELLING |
| 97 |
ReviewDocumentOperationMetadata_FAILED = src.ReviewDocumentOperationMetadata_FAILED |
| 98 |
ReviewDocumentOperationMetadata_RUNNING = src.ReviewDocumentOperationMetadata_RUNNING |
| 99 |
ReviewDocumentOperationMetadata_STATE_UNSPECIFIED = src.ReviewDocumentOperationMetadata_STATE_UNSPECIFIED |
| 100 |
ReviewDocumentOperationMetadata_SUCCEEDED = src.ReviewDocumentOperationMetadata_SUCCEEDED |
| 101 |
ReviewDocumentRequest_DEFAULT = src.ReviewDocumentRequest_DEFAULT |
| 102 |
ReviewDocumentRequest_URGENT = src.ReviewDocumentRequest_URGENT |
| 103 |
ReviewDocumentResponse_REJECTED = src.ReviewDocumentResponse_REJECTED |
| 104 |
ReviewDocumentResponse_STATE_UNSPECIFIED = src.ReviewDocumentResponse_STATE_UNSPECIFIED |
| 105 |
ReviewDocumentResponse_SUCCEEDED = src.ReviewDocumentResponse_SUCCEEDED |
| 106 |
) |
| 107 |
|
| 108 |
// Deprecated: Please use vars in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 109 |
var ( |
| 110 |
BatchProcessMetadata_State_name = src.BatchProcessMetadata_State_name |
| 111 |
BatchProcessMetadata_State_value = src.BatchProcessMetadata_State_value |
| 112 |
CommonOperationMetadata_State_name = src.CommonOperationMetadata_State_name |
| 113 |
CommonOperationMetadata_State_value = src.CommonOperationMetadata_State_value |
| 114 |
DocumentSchema_EntityType_Property_OccurrenceType_name = src.DocumentSchema_EntityType_Property_OccurrenceType_name |
| 115 |
DocumentSchema_EntityType_Property_OccurrenceType_value = src.DocumentSchema_EntityType_Property_OccurrenceType_value |
| 116 |
Document_PageAnchor_PageRef_LayoutType_name = src.Document_PageAnchor_PageRef_LayoutType_name |
| 117 |
Document_PageAnchor_PageRef_LayoutType_value = src.Document_PageAnchor_PageRef_LayoutType_value |
| 118 |
Document_Page_Layout_Orientation_name = src.Document_Page_Layout_Orientation_name |
| 119 |
Document_Page_Layout_Orientation_value = src.Document_Page_Layout_Orientation_value |
| 120 |
Document_Page_Token_DetectedBreak_Type_name = src.Document_Page_Token_DetectedBreak_Type_name |
| 121 |
Document_Page_Token_DetectedBreak_Type_value = src.Document_Page_Token_DetectedBreak_Type_value |
| 122 |
Document_Provenance_OperationType_name = src.Document_Provenance_OperationType_name |
| 123 |
Document_Provenance_OperationType_value = src.Document_Provenance_OperationType_value |
| 124 |
File_google_cloud_documentai_v1beta3_barcode_proto = src.File_google_cloud_documentai_v1beta3_barcode_proto |
| 125 |
File_google_cloud_documentai_v1beta3_document_io_proto = src.File_google_cloud_documentai_v1beta3_document_io_proto |
| 126 |
File_google_cloud_documentai_v1beta3_document_processor_service_proto = src.File_google_cloud_documentai_v1beta3_document_processor_service_proto |
| 127 |
File_google_cloud_documentai_v1beta3_document_proto = src.File_google_cloud_documentai_v1beta3_document_proto |
| 128 |
File_google_cloud_documentai_v1beta3_document_schema_proto = src.File_google_cloud_documentai_v1beta3_document_schema_proto |
| 129 |
File_google_cloud_documentai_v1beta3_geometry_proto = src.File_google_cloud_documentai_v1beta3_geometry_proto |
| 130 |
File_google_cloud_documentai_v1beta3_operation_metadata_proto = src.File_google_cloud_documentai_v1beta3_operation_metadata_proto |
| 131 |
File_google_cloud_documentai_v1beta3_processor_proto = src.File_google_cloud_documentai_v1beta3_processor_proto |
| 132 |
File_google_cloud_documentai_v1beta3_processor_type_proto = src.File_google_cloud_documentai_v1beta3_processor_type_proto |
| 133 |
HumanReviewStatus_State_name = src.HumanReviewStatus_State_name |
| 134 |
HumanReviewStatus_State_value = src.HumanReviewStatus_State_value |
| 135 |
ProcessorVersion_State_name = src.ProcessorVersion_State_name |
| 136 |
ProcessorVersion_State_value = src.ProcessorVersion_State_value |
| 137 |
Processor_State_name = src.Processor_State_name |
| 138 |
Processor_State_value = src.Processor_State_value |
| 139 |
ReviewDocumentOperationMetadata_State_name = src.ReviewDocumentOperationMetadata_State_name |
| 140 |
ReviewDocumentOperationMetadata_State_value = src.ReviewDocumentOperationMetadata_State_value |
| 141 |
ReviewDocumentRequest_Priority_name = src.ReviewDocumentRequest_Priority_name |
| 142 |
ReviewDocumentRequest_Priority_value = src.ReviewDocumentRequest_Priority_value |
| 143 |
ReviewDocumentResponse_State_name = src.ReviewDocumentResponse_State_name |
| 144 |
ReviewDocumentResponse_State_value = src.ReviewDocumentResponse_State_value |
| 145 |
) |
| 146 |
|
| 147 |
// Encodes the detailed information of a barcode. |
| 148 |
// |
| 149 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 150 |
type Barcode = src.Barcode |
| 151 |
|
| 152 |
// The common config to specify a set of documents used as input. |
| 153 |
// |
| 154 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 155 |
type BatchDocumentsInputConfig = src.BatchDocumentsInputConfig |
| 156 |
type BatchDocumentsInputConfig_GcsDocuments = src.BatchDocumentsInputConfig_GcsDocuments |
| 157 |
type BatchDocumentsInputConfig_GcsPrefix = src.BatchDocumentsInputConfig_GcsPrefix |
| 158 |
|
| 159 |
// The long running operation metadata for batch process method. |
| 160 |
// |
| 161 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 162 |
type BatchProcessMetadata = src.BatchProcessMetadata |
| 163 |
|
| 164 |
// The status of a each individual document in the batch process. |
| 165 |
// |
| 166 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 167 |
type BatchProcessMetadata_IndividualProcessStatus = src.BatchProcessMetadata_IndividualProcessStatus |
| 168 |
|
| 169 |
// Possible states of the batch processing operation. |
| 170 |
// |
| 171 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 172 |
type BatchProcessMetadata_State = src.BatchProcessMetadata_State |
| 173 |
|
| 174 |
// Request message for batch process document method. |
| 175 |
// |
| 176 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 177 |
type BatchProcessRequest = src.BatchProcessRequest |
| 178 |
|
| 179 |
// The message for input config in batch process. Deprecated: Do not use. |
| 180 |
// |
| 181 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 182 |
type BatchProcessRequest_BatchInputConfig = src.BatchProcessRequest_BatchInputConfig |
| 183 |
|
| 184 |
// The message for output config in batch process. Deprecated: Do not use. |
| 185 |
// |
| 186 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 187 |
type BatchProcessRequest_BatchOutputConfig = src.BatchProcessRequest_BatchOutputConfig |
| 188 |
|
| 189 |
// Response message for batch process document method. |
| 190 |
// |
| 191 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 192 |
type BatchProcessResponse = src.BatchProcessResponse |
| 193 |
|
| 194 |
// A bounding polygon for the detected image annotation. |
| 195 |
// |
| 196 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 197 |
type BoundingPoly = src.BoundingPoly |
| 198 |
|
| 199 |
// The common metadata for long running operations. |
| 200 |
// |
| 201 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 202 |
type CommonOperationMetadata = src.CommonOperationMetadata |
| 203 |
|
| 204 |
// State of the longrunning operation. |
| 205 |
// |
| 206 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 207 |
type CommonOperationMetadata_State = src.CommonOperationMetadata_State |
| 208 |
|
| 209 |
// Request message for create a processor. Notice this request is sent to a |
| 210 |
// regionalized backend service, and if the processor type is not available on |
| 211 |
// that region, the creation will fail. |
| 212 |
// |
| 213 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 214 |
type CreateProcessorRequest = src.CreateProcessorRequest |
| 215 |
|
| 216 |
// The long running operation metadata for delete processor method. |
| 217 |
// |
| 218 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 219 |
type DeleteProcessorMetadata = src.DeleteProcessorMetadata |
| 220 |
|
| 221 |
// Request message for the delete processor method. |
| 222 |
// |
| 223 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 224 |
type DeleteProcessorRequest = src.DeleteProcessorRequest |
| 225 |
|
| 226 |
// The long running operation metadata for delete processor version method. |
| 227 |
// |
| 228 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 229 |
type DeleteProcessorVersionMetadata = src.DeleteProcessorVersionMetadata |
| 230 |
|
| 231 |
// Request message for the delete processor version method. |
| 232 |
// |
| 233 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 234 |
type DeleteProcessorVersionRequest = src.DeleteProcessorVersionRequest |
| 235 |
|
| 236 |
// The long running operation metadata for deploy processor version method. |
| 237 |
// |
| 238 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 239 |
type DeployProcessorVersionMetadata = src.DeployProcessorVersionMetadata |
| 240 |
|
| 241 |
// Request message for the deploy processor version method. |
| 242 |
// |
| 243 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 244 |
type DeployProcessorVersionRequest = src.DeployProcessorVersionRequest |
| 245 |
|
| 246 |
// Response message for the deploy processor version method. |
| 247 |
// |
| 248 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 249 |
type DeployProcessorVersionResponse = src.DeployProcessorVersionResponse |
| 250 |
|
| 251 |
// The long running operation metadata for disable processor method. |
| 252 |
// |
| 253 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 254 |
type DisableProcessorMetadata = src.DisableProcessorMetadata |
| 255 |
|
| 256 |
// Request message for the disable processor method. |
| 257 |
// |
| 258 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 259 |
type DisableProcessorRequest = src.DisableProcessorRequest |
| 260 |
|
| 261 |
// Response message for the disable processor method. Intentionally empty |
| 262 |
// proto for adding fields in future. |
| 263 |
// |
| 264 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 265 |
type DisableProcessorResponse = src.DisableProcessorResponse |
| 266 |
|
| 267 |
// Document represents the canonical document resource in Document AI. It is |
| 268 |
// an interchange format that provides insights into documents and allows for |
| 269 |
// collaboration between users and Document AI to iterate and optimize for |
| 270 |
// quality. |
| 271 |
// |
| 272 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 273 |
type Document = src.Document |
| 274 |
|
| 275 |
// Config that controls the output of documents. All documents will be written |
| 276 |
// as a JSON file. |
| 277 |
// |
| 278 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 279 |
type DocumentOutputConfig = src.DocumentOutputConfig |
| 280 |
|
| 281 |
// The configuration used when outputting documents. |
| 282 |
// |
| 283 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 284 |
type DocumentOutputConfig_GcsOutputConfig = src.DocumentOutputConfig_GcsOutputConfig |
| 285 |
type DocumentOutputConfig_GcsOutputConfig_ = src.DocumentOutputConfig_GcsOutputConfig_ |
| 286 |
|
| 287 |
// DocumentProcessorServiceClient is the client API for |
| 288 |
// DocumentProcessorService service. For semantics around ctx use and |
| 289 |
// closing/ending streaming RPCs, please refer to |
| 290 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 291 |
// |
| 292 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 293 |
type DocumentProcessorServiceClient = src.DocumentProcessorServiceClient |
| 294 |
|
| 295 |
// DocumentProcessorServiceServer is the server API for |
| 296 |
// DocumentProcessorService service. |
| 297 |
// |
| 298 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 299 |
type DocumentProcessorServiceServer = src.DocumentProcessorServiceServer |
| 300 |
|
| 301 |
// The schema defines the output of the processed document by a processor. |
| 302 |
// |
| 303 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 304 |
type DocumentSchema = src.DocumentSchema |
| 305 |
|
| 306 |
// EntityType is the wrapper of a label of the corresponding model with |
| 307 |
// detailed attributes and limitations for entity-based processors. Multiple |
| 308 |
// types can also compose a dependency tree to represent nested types. |
| 309 |
// |
| 310 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 311 |
type DocumentSchema_EntityType = src.DocumentSchema_EntityType |
| 312 |
|
| 313 |
// Defines the a list of enum values. |
| 314 |
// |
| 315 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 316 |
type DocumentSchema_EntityType_EnumValues = src.DocumentSchema_EntityType_EnumValues |
| 317 |
type DocumentSchema_EntityType_EnumValues_ = src.DocumentSchema_EntityType_EnumValues_ |
| 318 |
|
| 319 |
// Defines properties that can be part of the entity type. |
| 320 |
// |
| 321 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 322 |
type DocumentSchema_EntityType_Property = src.DocumentSchema_EntityType_Property |
| 323 |
|
| 324 |
// Types of occurrences of the entity type in the document. Note: this |
| 325 |
// represents the number of instances of an entity types, not number of |
| 326 |
// mentions of a given entity instance. |
| 327 |
// |
| 328 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 329 |
type DocumentSchema_EntityType_Property_OccurrenceType = src.DocumentSchema_EntityType_Property_OccurrenceType |
| 330 |
|
| 331 |
// Metadata for global schema behavior. |
| 332 |
// |
| 333 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 334 |
type DocumentSchema_Metadata = src.DocumentSchema_Metadata |
| 335 |
type Document_Content = src.Document_Content |
| 336 |
|
| 337 |
// An entity that could be a phrase in the text or a property that belongs to |
| 338 |
// the document. It is a known entity type, such as a person, an organization, |
| 339 |
// or location. |
| 340 |
// |
| 341 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 342 |
type Document_Entity = src.Document_Entity |
| 343 |
|
| 344 |
// Relationship between |
| 345 |
// [Entities][google.cloud.documentai.v1beta3.Document.Entity]. |
| 346 |
// |
| 347 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 348 |
type Document_EntityRelation = src.Document_EntityRelation |
| 349 |
|
| 350 |
// Parsed and normalized entity value. |
| 351 |
// |
| 352 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 353 |
type Document_Entity_NormalizedValue = src.Document_Entity_NormalizedValue |
| 354 |
type Document_Entity_NormalizedValue_AddressValue = src.Document_Entity_NormalizedValue_AddressValue |
| 355 |
type Document_Entity_NormalizedValue_BooleanValue = src.Document_Entity_NormalizedValue_BooleanValue |
| 356 |
type Document_Entity_NormalizedValue_DateValue = src.Document_Entity_NormalizedValue_DateValue |
| 357 |
type Document_Entity_NormalizedValue_DatetimeValue = src.Document_Entity_NormalizedValue_DatetimeValue |
| 358 |
type Document_Entity_NormalizedValue_FloatValue = src.Document_Entity_NormalizedValue_FloatValue |
| 359 |
type Document_Entity_NormalizedValue_IntegerValue = src.Document_Entity_NormalizedValue_IntegerValue |
| 360 |
type Document_Entity_NormalizedValue_MoneyValue = src.Document_Entity_NormalizedValue_MoneyValue |
| 361 |
|
| 362 |
// A page in a [Document][google.cloud.documentai.v1beta3.Document]. |
| 363 |
// |
| 364 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 365 |
type Document_Page = src.Document_Page |
| 366 |
|
| 367 |
// Referencing the visual context of the entity in the |
| 368 |
// [Document.pages][google.cloud.documentai.v1beta3.Document.pages]. Page |
| 369 |
// anchors can be cross-page, consist of multiple bounding polygons and |
| 370 |
// optionally reference specific layout element types. |
| 371 |
// |
| 372 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 373 |
type Document_PageAnchor = src.Document_PageAnchor |
| 374 |
|
| 375 |
// Represents a weak reference to a page element within a document. |
| 376 |
// |
| 377 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 378 |
type Document_PageAnchor_PageRef = src.Document_PageAnchor_PageRef |
| 379 |
|
| 380 |
// The type of layout that is being referenced. |
| 381 |
// |
| 382 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 383 |
type Document_PageAnchor_PageRef_LayoutType = src.Document_PageAnchor_PageRef_LayoutType |
| 384 |
|
| 385 |
// A block has a set of lines (collected into paragraphs) that have a common |
| 386 |
// line-spacing and orientation. |
| 387 |
// |
| 388 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 389 |
type Document_Page_Block = src.Document_Page_Block |
| 390 |
|
| 391 |
// A detected barcode. |
| 392 |
// |
| 393 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 394 |
type Document_Page_DetectedBarcode = src.Document_Page_DetectedBarcode |
| 395 |
|
| 396 |
// Detected language for a structural component. |
| 397 |
// |
| 398 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 399 |
type Document_Page_DetectedLanguage = src.Document_Page_DetectedLanguage |
| 400 |
|
| 401 |
// Dimension for the page. |
| 402 |
// |
| 403 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 404 |
type Document_Page_Dimension = src.Document_Page_Dimension |
| 405 |
|
| 406 |
// A form field detected on the page. |
| 407 |
// |
| 408 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 409 |
type Document_Page_FormField = src.Document_Page_FormField |
| 410 |
|
| 411 |
// Rendered image contents for this page. |
| 412 |
// |
| 413 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 414 |
type Document_Page_Image = src.Document_Page_Image |
| 415 |
|
| 416 |
// Visual element describing a layout unit on a page. |
| 417 |
// |
| 418 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 419 |
type Document_Page_Layout = src.Document_Page_Layout |
| 420 |
|
| 421 |
// Detected human reading orientation. |
| 422 |
// |
| 423 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 424 |
type Document_Page_Layout_Orientation = src.Document_Page_Layout_Orientation |
| 425 |
|
| 426 |
// A collection of tokens that a human would perceive as a line. Does not |
| 427 |
// cross column boundaries, can be horizontal, vertical, etc. |
| 428 |
// |
| 429 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 430 |
type Document_Page_Line = src.Document_Page_Line |
| 431 |
|
| 432 |
// Representation for transformation matrix, intended to be compatible and |
| 433 |
// used with OpenCV format for image manipulation. |
| 434 |
// |
| 435 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 436 |
type Document_Page_Matrix = src.Document_Page_Matrix |
| 437 |
|
| 438 |
// A collection of lines that a human would perceive as a paragraph. |
| 439 |
// |
| 440 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 441 |
type Document_Page_Paragraph = src.Document_Page_Paragraph |
| 442 |
|
| 443 |
// A detected symbol. |
| 444 |
// |
| 445 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 446 |
type Document_Page_Symbol = src.Document_Page_Symbol |
| 447 |
|
| 448 |
// A table representation similar to HTML table structure. |
| 449 |
// |
| 450 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 451 |
type Document_Page_Table = src.Document_Page_Table |
| 452 |
|
| 453 |
// A cell representation inside the table. |
| 454 |
// |
| 455 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 456 |
type Document_Page_Table_TableCell = src.Document_Page_Table_TableCell |
| 457 |
|
| 458 |
// A row of table cells. |
| 459 |
// |
| 460 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 461 |
type Document_Page_Table_TableRow = src.Document_Page_Table_TableRow |
| 462 |
|
| 463 |
// A detected token. |
| 464 |
// |
| 465 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 466 |
type Document_Page_Token = src.Document_Page_Token |
| 467 |
|
| 468 |
// Detected break at the end of a |
| 469 |
// [Token][google.cloud.documentai.v1beta3.Document.Page.Token]. |
| 470 |
// |
| 471 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 472 |
type Document_Page_Token_DetectedBreak = src.Document_Page_Token_DetectedBreak |
| 473 |
|
| 474 |
// Enum to denote the type of break found. |
| 475 |
// |
| 476 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 477 |
type Document_Page_Token_DetectedBreak_Type = src.Document_Page_Token_DetectedBreak_Type |
| 478 |
|
| 479 |
// Detected non-text visual elements e.g. checkbox, signature etc. on the |
| 480 |
// page. |
| 481 |
// |
| 482 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 483 |
type Document_Page_VisualElement = src.Document_Page_VisualElement |
| 484 |
|
| 485 |
// Structure to identify provenance relationships between annotations in |
| 486 |
// different revisions. |
| 487 |
// |
| 488 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 489 |
type Document_Provenance = src.Document_Provenance |
| 490 |
|
| 491 |
// If a processor or agent does an explicit operation on existing elements. |
| 492 |
// |
| 493 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 494 |
type Document_Provenance_OperationType = src.Document_Provenance_OperationType |
| 495 |
|
| 496 |
// The parent element the current element is based on. Used for |
| 497 |
// referencing/aligning, removal and replacement operations. |
| 498 |
// |
| 499 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 500 |
type Document_Provenance_Parent = src.Document_Provenance_Parent |
| 501 |
|
| 502 |
// Contains past or forward revisions of this document. |
| 503 |
// |
| 504 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 505 |
type Document_Revision = src.Document_Revision |
| 506 |
type Document_Revision_Agent = src.Document_Revision_Agent |
| 507 |
|
| 508 |
// Human Review information of the document. |
| 509 |
// |
| 510 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 511 |
type Document_Revision_HumanReview = src.Document_Revision_HumanReview |
| 512 |
type Document_Revision_Processor = src.Document_Revision_Processor |
| 513 |
|
| 514 |
// For a large document, sharding may be performed to produce several document |
| 515 |
// shards. Each document shard contains this field to detail which shard it is. |
| 516 |
// |
| 517 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 518 |
type Document_ShardInfo = src.Document_ShardInfo |
| 519 |
|
| 520 |
// Annotation for common text style attributes. This adheres to CSS |
| 521 |
// conventions as much as possible. |
| 522 |
// |
| 523 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 524 |
type Document_Style = src.Document_Style |
| 525 |
|
| 526 |
// Font size with unit. |
| 527 |
// |
| 528 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 529 |
type Document_Style_FontSize = src.Document_Style_FontSize |
| 530 |
|
| 531 |
// Text reference indexing into the |
| 532 |
// [Document.text][google.cloud.documentai.v1beta3.Document.text]. |
| 533 |
// |
| 534 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 535 |
type Document_TextAnchor = src.Document_TextAnchor |
| 536 |
|
| 537 |
// A text segment in the |
| 538 |
// [Document.text][google.cloud.documentai.v1beta3.Document.text]. The indices |
| 539 |
// may be out of bounds which indicate that the text extends into another |
| 540 |
// document shard for large sharded documents. See |
| 541 |
// [ShardInfo.text_offset][google.cloud.documentai.v1beta3.Document.ShardInfo.text_offset] |
| 542 |
// |
| 543 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 544 |
type Document_TextAnchor_TextSegment = src.Document_TextAnchor_TextSegment |
| 545 |
|
| 546 |
// This message is used for text changes aka. OCR corrections. |
| 547 |
// |
| 548 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 549 |
type Document_TextChange = src.Document_TextChange |
| 550 |
type Document_Uri = src.Document_Uri |
| 551 |
|
| 552 |
// The long running operation metadata for enable processor method. |
| 553 |
// |
| 554 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 555 |
type EnableProcessorMetadata = src.EnableProcessorMetadata |
| 556 |
|
| 557 |
// Request message for the enable processor method. |
| 558 |
// |
| 559 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 560 |
type EnableProcessorRequest = src.EnableProcessorRequest |
| 561 |
|
| 562 |
// Response message for the enable processor method. Intentionally empty proto |
| 563 |
// for adding fields in future. |
| 564 |
// |
| 565 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 566 |
type EnableProcessorResponse = src.EnableProcessorResponse |
| 567 |
|
| 568 |
// Request message for fetch processor types. |
| 569 |
// |
| 570 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 571 |
type FetchProcessorTypesRequest = src.FetchProcessorTypesRequest |
| 572 |
|
| 573 |
// Response message for fetch processor types. |
| 574 |
// |
| 575 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 576 |
type FetchProcessorTypesResponse = src.FetchProcessorTypesResponse |
| 577 |
|
| 578 |
// Specifies a document stored on Cloud Storage. |
| 579 |
// |
| 580 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 581 |
type GcsDocument = src.GcsDocument |
| 582 |
|
| 583 |
// Specifies a set of documents on Cloud Storage. |
| 584 |
// |
| 585 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 586 |
type GcsDocuments = src.GcsDocuments |
| 587 |
|
| 588 |
// Specifies all documents on Cloud Storage with a common prefix. |
| 589 |
// |
| 590 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 591 |
type GcsPrefix = src.GcsPrefix |
| 592 |
|
| 593 |
// Request message for get processor. |
| 594 |
// |
| 595 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 596 |
type GetProcessorRequest = src.GetProcessorRequest |
| 597 |
|
| 598 |
// Request message for get processor version. |
| 599 |
// |
| 600 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 601 |
type GetProcessorVersionRequest = src.GetProcessorVersionRequest |
| 602 |
|
| 603 |
// The status of human review on a processed document. |
| 604 |
// |
| 605 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 606 |
type HumanReviewStatus = src.HumanReviewStatus |
| 607 |
|
| 608 |
// The final state of human review on a processed document. |
| 609 |
// |
| 610 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 611 |
type HumanReviewStatus_State = src.HumanReviewStatus_State |
| 612 |
|
| 613 |
// Request message for list processor types. |
| 614 |
// |
| 615 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 616 |
type ListProcessorTypesRequest = src.ListProcessorTypesRequest |
| 617 |
|
| 618 |
// Response message for list processor types. |
| 619 |
// |
| 620 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 621 |
type ListProcessorTypesResponse = src.ListProcessorTypesResponse |
| 622 |
|
| 623 |
// Request message for list all processor versions belongs to a processor. |
| 624 |
// |
| 625 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 626 |
type ListProcessorVersionsRequest = src.ListProcessorVersionsRequest |
| 627 |
|
| 628 |
// Response message for list processors. |
| 629 |
// |
| 630 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 631 |
type ListProcessorVersionsResponse = src.ListProcessorVersionsResponse |
| 632 |
|
| 633 |
// Request message for list all processors belongs to a project. |
| 634 |
// |
| 635 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 636 |
type ListProcessorsRequest = src.ListProcessorsRequest |
| 637 |
|
| 638 |
// Response message for list processors. |
| 639 |
// |
| 640 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 641 |
type ListProcessorsResponse = src.ListProcessorsResponse |
| 642 |
|
| 643 |
// A vertex represents a 2D point in the image. NOTE: the normalized vertex |
| 644 |
// coordinates are relative to the original image and range from 0 to 1. |
| 645 |
// |
| 646 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 647 |
type NormalizedVertex = src.NormalizedVertex |
| 648 |
|
| 649 |
// Request message for the process document method. |
| 650 |
// |
| 651 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 652 |
type ProcessRequest = src.ProcessRequest |
| 653 |
type ProcessRequest_InlineDocument = src.ProcessRequest_InlineDocument |
| 654 |
type ProcessRequest_RawDocument = src.ProcessRequest_RawDocument |
| 655 |
|
| 656 |
// Response message for the process document method. |
| 657 |
// |
| 658 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 659 |
type ProcessResponse = src.ProcessResponse |
| 660 |
|
| 661 |
// The first-class citizen for Document AI. Each processor defines how to |
| 662 |
// extract structural information from a document. |
| 663 |
// |
| 664 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 665 |
type Processor = src.Processor |
| 666 |
|
| 667 |
// A processor type is responsible for performing a certain document |
| 668 |
// understanding task on a certain type of document. |
| 669 |
// |
| 670 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 671 |
type ProcessorType = src.ProcessorType |
| 672 |
|
| 673 |
// The location information about where the processor is available. |
| 674 |
// |
| 675 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 676 |
type ProcessorType_LocationInfo = src.ProcessorType_LocationInfo |
| 677 |
|
| 678 |
// A processor version is an implementation of a processor. Each processor can |
| 679 |
// have multiple versions, pre-trained by Google internally or up-trained by |
| 680 |
// the customer. At a time, a processor can only have one default version |
| 681 |
// version. So the processor's behavior (when processing documents) is defined |
| 682 |
// by a default version |
| 683 |
// |
| 684 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 685 |
type ProcessorVersion = src.ProcessorVersion |
| 686 |
|
| 687 |
// Information about the upcoming deprecation of this processor version. |
| 688 |
// |
| 689 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 690 |
type ProcessorVersion_DeprecationInfo = src.ProcessorVersion_DeprecationInfo |
| 691 |
|
| 692 |
// The possible states of the processor version. |
| 693 |
// |
| 694 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 695 |
type ProcessorVersion_State = src.ProcessorVersion_State |
| 696 |
|
| 697 |
// The possible states of the processor. |
| 698 |
// |
| 699 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 700 |
type Processor_State = src.Processor_State |
| 701 |
|
| 702 |
// Payload message of raw document content (bytes). |
| 703 |
// |
| 704 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 705 |
type RawDocument = src.RawDocument |
| 706 |
|
| 707 |
// The long running operation metadata for review document method. |
| 708 |
// |
| 709 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 710 |
type ReviewDocumentOperationMetadata = src.ReviewDocumentOperationMetadata |
| 711 |
|
| 712 |
// State of the longrunning operation. |
| 713 |
// |
| 714 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 715 |
type ReviewDocumentOperationMetadata_State = src.ReviewDocumentOperationMetadata_State |
| 716 |
|
| 717 |
// Request message for review document method. |
| 718 |
// |
| 719 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 720 |
type ReviewDocumentRequest = src.ReviewDocumentRequest |
| 721 |
type ReviewDocumentRequest_InlineDocument = src.ReviewDocumentRequest_InlineDocument |
| 722 |
|
| 723 |
// The priority level of the human review task. |
| 724 |
// |
| 725 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 726 |
type ReviewDocumentRequest_Priority = src.ReviewDocumentRequest_Priority |
| 727 |
|
| 728 |
// Response message for review document method. |
| 729 |
// |
| 730 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 731 |
type ReviewDocumentResponse = src.ReviewDocumentResponse |
| 732 |
|
| 733 |
// Possible states of the review operation. |
| 734 |
// |
| 735 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 736 |
type ReviewDocumentResponse_State = src.ReviewDocumentResponse_State |
| 737 |
|
| 738 |
// The long running operation metadata for set default processor version |
| 739 |
// method. |
| 740 |
// |
| 741 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 742 |
type SetDefaultProcessorVersionMetadata = src.SetDefaultProcessorVersionMetadata |
| 743 |
|
| 744 |
// Request message for the set default processor version method. |
| 745 |
// |
| 746 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 747 |
type SetDefaultProcessorVersionRequest = src.SetDefaultProcessorVersionRequest |
| 748 |
|
| 749 |
// Response message for set default processor version method. |
| 750 |
// |
| 751 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 752 |
type SetDefaultProcessorVersionResponse = src.SetDefaultProcessorVersionResponse |
| 753 |
|
| 754 |
// The long running operation metadata for the undeploy processor version |
| 755 |
// method. |
| 756 |
// |
| 757 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 758 |
type UndeployProcessorVersionMetadata = src.UndeployProcessorVersionMetadata |
| 759 |
|
| 760 |
// Request message for the undeploy processor version method. |
| 761 |
// |
| 762 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 763 |
type UndeployProcessorVersionRequest = src.UndeployProcessorVersionRequest |
| 764 |
|
| 765 |
// Response message for the undeploy processor version method. |
| 766 |
// |
| 767 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 768 |
type UndeployProcessorVersionResponse = src.UndeployProcessorVersionResponse |
| 769 |
|
| 770 |
// UnimplementedDocumentProcessorServiceServer can be embedded to have forward |
| 771 |
// compatible implementations. |
| 772 |
// |
| 773 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 774 |
type UnimplementedDocumentProcessorServiceServer = src.UnimplementedDocumentProcessorServiceServer |
| 775 |
|
| 776 |
// A vertex represents a 2D point in the image. NOTE: the vertex coordinates |
| 777 |
// are in the same scale as the original image. |
| 778 |
// |
| 779 |
// Deprecated: Please use types in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 780 |
type Vertex = src.Vertex |
| 781 |
|
| 782 |
// Deprecated: Please use funcs in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 783 |
func NewDocumentProcessorServiceClient(cc grpc.ClientConnInterface) DocumentProcessorServiceClient { |
| 784 |
return src.NewDocumentProcessorServiceClient(cc) |
| 785 |
} |
| 786 |
|
| 787 |
// Deprecated: Please use funcs in: cloud.google.com/go/documentai/apiv1beta3/documentaipb |
| 788 |
func RegisterDocumentProcessorServiceServer(s *grpc.Server, srv DocumentProcessorServiceServer) { |
| 789 |
src.RegisterDocumentProcessorServiceServer(s, srv) |
| 790 |
} |