diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b99fcfa..2712ae13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [2.4.0](https://github.com/googleapis/java-document-ai/compare/v2.3.1...v2.4.0) (2022-03-29) + + +### Features + +* add `content` field in TextAnchor ([#787](https://github.com/googleapis/java-document-ai/issues/787)) ([a0b46b5](https://github.com/googleapis/java-document-ai/commit/a0b46b5b81e45fe7908e3f8487582e85fddb3dab)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 ([#794](https://github.com/googleapis/java-document-ai/issues/794)) ([7388098](https://github.com/googleapis/java-document-ai/commit/7388098207f7be76fff2bc9c2900e57eb65e7dfb)) +* update dependency com.google.cloud:google-cloud-storage to v2.5.1 ([#792](https://github.com/googleapis/java-document-ai/issues/792)) ([8b1c13a](https://github.com/googleapis/java-document-ai/commit/8b1c13a091276a8e095006de66697c1532a9f4c5)) + ### [2.3.1](https://github.com/googleapis/java-document-ai/compare/v2.3.0...v2.3.1) (2022-03-09) diff --git a/README.md b/README.md index 3c907b7d..ecd386f2 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 24.4.0 + 25.0.0 pom import @@ -30,7 +30,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud google-cloud-document-ai - 2.3.0 + 2.3.1 ``` @@ -42,7 +42,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-document-ai - 2.3.0 + 2.3.1 ``` @@ -50,20 +50,20 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:24.4.0') +implementation platform('com.google.cloud:libraries-bom:25.0.0') implementation 'com.google.cloud:google-cloud-document-ai' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-document-ai:2.3.0' +implementation 'com.google.cloud:google-cloud-document-ai:2.3.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.3.1" ``` ## Authentication diff --git a/google-cloud-document-ai-bom/pom.xml b/google-cloud-document-ai-bom/pom.xml index 604e0b74..8990c635 100644 --- a/google-cloud-document-ai-bom/pom.xml +++ b/google-cloud-document-ai-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-document-ai-bom - 2.3.1 + 2.4.0 pom com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 Google Cloud Document AI BOM @@ -50,47 +50,47 @@ com.google.cloud google-cloud-document-ai - 2.3.1 + 2.4.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.15.1 + 0.16.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.15.1 + 0.16.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.15.1 + 0.16.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.3.1 + 2.4.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.15.1 + 0.16.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.15.1 + 0.16.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.15.1 + 0.16.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.3.1 + 2.4.0 diff --git a/google-cloud-document-ai/pom.xml b/google-cloud-document-ai/pom.xml index 57b60bf9..57713500 100644 --- a/google-cloud-document-ai/pom.xml +++ b/google-cloud-document-ai/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai - 2.3.1 + 2.4.0 jar Google Cloud Document AI https://github.com/googleapis/java-document-ai @@ -11,7 +11,7 @@ com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 google-cloud-document-ai diff --git a/grpc-google-cloud-document-ai-v1/pom.xml b/grpc-google-cloud-document-ai-v1/pom.xml index bb9ae2c8..229794fb 100644 --- a/grpc-google-cloud-document-ai-v1/pom.xml +++ b/grpc-google-cloud-document-ai-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.3.1 + 2.4.0 grpc-google-cloud-document-ai-v1 GRPC library for google-cloud-document-ai com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 diff --git a/grpc-google-cloud-document-ai-v1beta1/pom.xml b/grpc-google-cloud-document-ai-v1beta1/pom.xml index fa9a7054..c0f9718d 100644 --- a/grpc-google-cloud-document-ai-v1beta1/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.15.1 + 0.16.0 grpc-google-cloud-document-ai-v1beta1 GRPC library for grpc-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 diff --git a/grpc-google-cloud-document-ai-v1beta2/pom.xml b/grpc-google-cloud-document-ai-v1beta2/pom.xml index 53411f23..e925beed 100644 --- a/grpc-google-cloud-document-ai-v1beta2/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.15.1 + 0.16.0 grpc-google-cloud-document-ai-v1beta2 GRPC library for grpc-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 diff --git a/grpc-google-cloud-document-ai-v1beta3/pom.xml b/grpc-google-cloud-document-ai-v1beta3/pom.xml index ca69df94..c091511c 100644 --- a/grpc-google-cloud-document-ai-v1beta3/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.15.1 + 0.16.0 grpc-google-cloud-document-ai-v1beta3 GRPC library for grpc-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 diff --git a/pom.xml b/pom.xml index e5f60d7e..a5846587 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-document-ai-parent pom - 2.3.1 + 2.4.0 Google Cloud Document AI Parent https://github.com/googleapis/java-document-ai @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 @@ -61,53 +61,53 @@ com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.15.1 + 0.16.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.3.1 + 2.4.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.3.1 + 2.4.0 com.google.cloud google-cloud-document-ai - 2.3.1 + 2.4.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.15.1 + 0.16.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.15.1 + 0.16.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.15.1 + 0.16.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.15.1 + 0.16.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.15.1 + 0.16.0 com.google.cloud google-cloud-shared-dependencies - 2.8.0 + 2.9.0 pom import diff --git a/proto-google-cloud-document-ai-v1/pom.xml b/proto-google-cloud-document-ai-v1/pom.xml index afbed171..27470ec5 100644 --- a/proto-google-cloud-document-ai-v1/pom.xml +++ b/proto-google-cloud-document-ai-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.3.1 + 2.4.0 proto-google-cloud-document-ai-v1 Proto library for google-cloud-document-ai com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java index db02fad7..67374a30 100644 --- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java +++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java @@ -85,96 +85,95 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t.proto\032,google/cloud/documentai/v1/docu" + "ment_io.proto\0323google/cloud/documentai/v" + "1/operation_metadata.proto\032#google/longr" - + "unning/operations.proto\032 google/protobuf" - + "/field_mask.proto\032\037google/protobuf/times" - + "tamp.proto\032\027google/rpc/status.proto\"\362\001\n\016" - + "ProcessRequest\022?\n\017inline_document\030\004 \001(\0132" - + "$.google.cloud.documentai.v1.DocumentH\000\022" - + "?\n\014raw_document\030\005 \001(\0132\'.google.cloud.doc" - + "umentai.v1.RawDocumentH\000\0229\n\004name\030\001 \001(\tB+" - + "\340A\002\372A%\n#documentai.googleapis.com/Proces" - + "sor\022\031\n\021skip_human_review\030\003 \001(\010B\010\n\006source" - + "\"\356\001\n\021HumanReviewStatus\022B\n\005state\030\001 \001(\01623." - + "google.cloud.documentai.v1.HumanReviewSt" - + "atus.State\022\025\n\rstate_message\030\002 \001(\t\022\036\n\026hum" - + "an_review_operation\030\003 \001(\t\"^\n\005State\022\025\n\021ST" - + "ATE_UNSPECIFIED\020\000\022\013\n\007SKIPPED\020\001\022\025\n\021VALIDA" - + "TION_PASSED\020\002\022\017\n\013IN_PROGRESS\020\003\022\t\n\005ERROR\020" - + "\004\"\225\001\n\017ProcessResponse\0226\n\010document\030\001 \001(\0132" - + "$.google.cloud.documentai.v1.Document\022J\n" - + "\023human_review_status\030\003 \001(\0132-.google.clou" - + "d.documentai.v1.HumanReviewStatus\"\215\002\n\023Ba" - + "tchProcessRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n" - + "#documentai.googleapis.com/Processor\022N\n\017" - + "input_documents\030\005 \001(\01325.google.cloud.doc" - + "umentai.v1.BatchDocumentsInputConfig\022P\n\026" - + "document_output_config\030\006 \001(\01320.google.cl" - + "oud.documentai.v1.DocumentOutputConfig\022\031" - + "\n\021skip_human_review\030\004 \001(\010\"\026\n\024BatchProces" - + "sResponse\"\377\004\n\024BatchProcessMetadata\022E\n\005st" - + "ate\030\001 \001(\01626.google.cloud.documentai.v1.B" - + "atchProcessMetadata.State\022\025\n\rstate_messa" - + "ge\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032" - + ".google.protobuf.Timestamp\022m\n\033individual" - + "_process_statuses\030\005 \003(\0132H.google.cloud.d" - + "ocumentai.v1.BatchProcessMetadata.Indivi" - + "dualProcessStatus\032\303\001\n\027IndividualProcessS" - + "tatus\022\030\n\020input_gcs_source\030\001 \001(\t\022\"\n\006statu" - + "s\030\002 \001(\0132\022.google.rpc.Status\022\036\n\026output_gc" - + "s_destination\030\003 \001(\t\022J\n\023human_review_stat" - + "us\030\005 \001(\0132-.google.cloud.documentai.v1.Hu" - + "manReviewStatus\"r\n\005State\022\025\n\021STATE_UNSPEC" - + "IFIED\020\000\022\013\n\007WAITING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUC" - + "CEEDED\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCANCELLED\020\005\022" - + "\n\n\006FAILED\020\006\"\317\002\n\025ReviewDocumentRequest\022?\n" - + "\017inline_document\030\004 \001(\0132$.google.cloud.do" - + "cumentai.v1.DocumentH\000\022P\n\023human_review_c" - + "onfig\030\001 \001(\tB3\340A\002\372A-\n+documentai.googleap" - + "is.com/HumanReviewConfig\022 \n\030enable_schem" - + "a_validation\030\003 \001(\010\022L\n\010priority\030\005 \001(\0162:.g" - + "oogle.cloud.documentai.v1.ReviewDocument" - + "Request.Priority\"#\n\010Priority\022\013\n\007DEFAULT\020" - + "\000\022\n\n\006URGENT\020\001B\010\n\006sourceJ\004\010\002\020\003\"1\n\026ReviewD" - + "ocumentResponse\022\027\n\017gcs_destination\030\001 \001(\t" - + "\"\204\001\n\037ReviewDocumentOperationMetadata\022L\n\017" - + "common_metadata\030\005 \001(\01323.google.cloud.doc" - + "umentai.v1.CommonOperationMetadata\022\023\n\013qu" - + "estion_id\030\006 \001(\t2\253\006\n\030DocumentProcessorSer" - + "vice\022\264\001\n\017ProcessDocument\022*.google.cloud." - + "documentai.v1.ProcessRequest\032+.google.cl" - + "oud.documentai.v1.ProcessResponse\"H\202\323\344\223\002" - + ";\"6/v1/{name=projects/*/locations/*/proc" - + "essors/*}:process:\001*\332A\004name\022\345\001\n\025BatchPro" - + "cessDocuments\022/.google.cloud.documentai." - + "v1.BatchProcessRequest\032\035.google.longrunn" - + "ing.Operation\"|\202\323\344\223\002@\";/v1/{name=project" - + "s/*/locations/*/processors/*}:batchProce" - + "ss:\001*\332A\004name\312A,\n\024BatchProcessResponse\022\024B" - + "atchProcessMetadata\022\240\002\n\016ReviewDocument\0221" - + ".google.cloud.documentai.v1.ReviewDocume" - + "ntRequest\032\035.google.longrunning.Operation" - + "\"\273\001\202\323\344\223\002c\"^/v1/{human_review_config=proj" - + "ects/*/locations/*/processors/*/humanRev" - + "iewConfig}:reviewDocument:\001*\332A\023human_rev" - + "iew_config\312A9\n\026ReviewDocumentResponse\022\037R" - + "eviewDocumentOperationMetadata\032M\312A\031docum" - + "entai.googleapis.com\322A.https://www.googl" - + "eapis.com/auth/cloud-platformB\230\004\n\036com.go" - + "ogle.cloud.documentai.v1B\032DocumentAiProc" - + "essorServiceP\001ZDgoogle.golang.org/genpro" - + "to/googleapis/cloud/documentai/v1;docume" - + "ntai\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Goog" - + "le\\Cloud\\DocumentAI\\V1\352\002\035Google::Cloud::" - + "DocumentAI::V1\352AM\n\"documentai.googleapis" - + ".com/Location\022\'projects/{project}/locati" - + "ons/{location}\352Ae\n#documentai.googleapis" - + ".com/Processor\022>projects/{project}/locat" - + "ions/{location}/processors/{processor}\352A" - + "\177\n+documentai.googleapis.com/HumanReview" - + "Config\022Pprojects/{project}/locations/{lo" - + "cation}/processors/{processor}/humanRevi" - + "ewConfigb\006proto3" + + "unning/operations.proto\032\037google/protobuf" + + "/timestamp.proto\032\027google/rpc/status.prot" + + "o\"\362\001\n\016ProcessRequest\022?\n\017inline_document\030" + + "\004 \001(\0132$.google.cloud.documentai.v1.Docum" + + "entH\000\022?\n\014raw_document\030\005 \001(\0132\'.google.clo" + + "ud.documentai.v1.RawDocumentH\000\0229\n\004name\030\001" + + " \001(\tB+\340A\002\372A%\n#documentai.googleapis.com/" + + "Processor\022\031\n\021skip_human_review\030\003 \001(\010B\010\n\006" + + "source\"\356\001\n\021HumanReviewStatus\022B\n\005state\030\001 " + + "\001(\01623.google.cloud.documentai.v1.HumanRe" + + "viewStatus.State\022\025\n\rstate_message\030\002 \001(\t\022" + + "\036\n\026human_review_operation\030\003 \001(\t\"^\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007SKIPPED\020\001\022\025\n\021" + + "VALIDATION_PASSED\020\002\022\017\n\013IN_PROGRESS\020\003\022\t\n\005" + + "ERROR\020\004\"\225\001\n\017ProcessResponse\0226\n\010document\030" + + "\001 \001(\0132$.google.cloud.documentai.v1.Docum" + + "ent\022J\n\023human_review_status\030\003 \001(\0132-.googl" + + "e.cloud.documentai.v1.HumanReviewStatus\"" + + "\215\002\n\023BatchProcessRequest\0229\n\004name\030\001 \001(\tB+\340" + + "A\002\372A%\n#documentai.googleapis.com/Process" + + "or\022N\n\017input_documents\030\005 \001(\01325.google.clo" + + "ud.documentai.v1.BatchDocumentsInputConf" + + "ig\022P\n\026document_output_config\030\006 \001(\01320.goo" + + "gle.cloud.documentai.v1.DocumentOutputCo" + + "nfig\022\031\n\021skip_human_review\030\004 \001(\010\"\026\n\024Batch" + + "ProcessResponse\"\377\004\n\024BatchProcessMetadata" + + "\022E\n\005state\030\001 \001(\01626.google.cloud.documenta" + + "i.v1.BatchProcessMetadata.State\022\025\n\rstate" + + "_message\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022/\n\013update_time\030\004" + + " \001(\0132\032.google.protobuf.Timestamp\022m\n\033indi" + + "vidual_process_statuses\030\005 \003(\0132H.google.c" + + "loud.documentai.v1.BatchProcessMetadata." + + "IndividualProcessStatus\032\303\001\n\027IndividualPr" + + "ocessStatus\022\030\n\020input_gcs_source\030\001 \001(\t\022\"\n" + + "\006status\030\002 \001(\0132\022.google.rpc.Status\022\036\n\026out" + + "put_gcs_destination\030\003 \001(\t\022J\n\023human_revie" + + "w_status\030\005 \001(\0132-.google.cloud.documentai" + + ".v1.HumanReviewStatus\"r\n\005State\022\025\n\021STATE_" + + "UNSPECIFIED\020\000\022\013\n\007WAITING\020\001\022\013\n\007RUNNING\020\002\022" + + "\r\n\tSUCCEEDED\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCANCEL" + + "LED\020\005\022\n\n\006FAILED\020\006\"\317\002\n\025ReviewDocumentRequ" + + "est\022?\n\017inline_document\030\004 \001(\0132$.google.cl" + + "oud.documentai.v1.DocumentH\000\022P\n\023human_re" + + "view_config\030\001 \001(\tB3\340A\002\372A-\n+documentai.go" + + "ogleapis.com/HumanReviewConfig\022 \n\030enable" + + "_schema_validation\030\003 \001(\010\022L\n\010priority\030\005 \001" + + "(\0162:.google.cloud.documentai.v1.ReviewDo" + + "cumentRequest.Priority\"#\n\010Priority\022\013\n\007DE" + + "FAULT\020\000\022\n\n\006URGENT\020\001B\010\n\006sourceJ\004\010\002\020\003\"1\n\026R" + + "eviewDocumentResponse\022\027\n\017gcs_destination" + + "\030\001 \001(\t\"\204\001\n\037ReviewDocumentOperationMetada" + + "ta\022L\n\017common_metadata\030\005 \001(\01323.google.clo" + + "ud.documentai.v1.CommonOperationMetadata" + + "\022\023\n\013question_id\030\006 \001(\t2\253\006\n\030DocumentProces" + + "sorService\022\264\001\n\017ProcessDocument\022*.google." + + "cloud.documentai.v1.ProcessRequest\032+.goo" + + "gle.cloud.documentai.v1.ProcessResponse\"" + + "H\202\323\344\223\002;\"6/v1/{name=projects/*/locations/" + + "*/processors/*}:process:\001*\332A\004name\022\345\001\n\025Ba" + + "tchProcessDocuments\022/.google.cloud.docum" + + "entai.v1.BatchProcessRequest\032\035.google.lo" + + "ngrunning.Operation\"|\202\323\344\223\002@\";/v1/{name=p" + + "rojects/*/locations/*/processors/*}:batc" + + "hProcess:\001*\332A\004name\312A,\n\024BatchProcessRespo" + + "nse\022\024BatchProcessMetadata\022\240\002\n\016ReviewDocu" + + "ment\0221.google.cloud.documentai.v1.Review" + + "DocumentRequest\032\035.google.longrunning.Ope" + + "ration\"\273\001\202\323\344\223\002c\"^/v1/{human_review_confi" + + "g=projects/*/locations/*/processors/*/hu" + + "manReviewConfig}:reviewDocument:\001*\332A\023hum" + + "an_review_config\312A9\n\026ReviewDocumentRespo" + + "nse\022\037ReviewDocumentOperationMetadata\032M\312A" + + "\031documentai.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformB\230\004\n\036" + + "com.google.cloud.documentai.v1B\032Document" + + "AiProcessorServiceP\001ZDgoogle.golang.org/" + + "genproto/googleapis/cloud/documentai/v1;" + + "documentai\252\002\032Google.Cloud.DocumentAI.V1\312" + + "\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035Google::C" + + "loud::DocumentAI::V1\352AM\n\"documentai.goog" + + "leapis.com/Location\022\'projects/{project}/" + + "locations/{location}\352Ae\n#documentai.goog" + + "leapis.com/Processor\022>projects/{project}" + + "/locations/{location}/processors/{proces" + + "sor}\352A\177\n+documentai.googleapis.com/Human" + + "ReviewConfig\022Pprojects/{project}/locatio" + + "ns/{location}/processors/{processor}/hum" + + "anReviewConfigb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -188,7 +187,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.documentai.v1.DocumentIoProto.getDescriptor(), com.google.cloud.documentai.v1.OperationMetadataProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), }); @@ -292,7 +290,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.documentai.v1.DocumentIoProto.getDescriptor(); com.google.cloud.documentai.v1.OperationMetadataProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); } diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java index 42642d03..ae3b00d3 100644 --- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java +++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java @@ -65,34 +65,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n,google/cloud/documentai/v1/document_io" - + ".proto\022\032google.cloud.documentai.v1\032\034goog" - + "le/api/annotations.proto\"1\n\013RawDocument\022" - + "\017\n\007content\030\001 \001(\014\022\021\n\tmime_type\030\002 \001(\t\"1\n\013G" - + "csDocument\022\017\n\007gcs_uri\030\001 \001(\t\022\021\n\tmime_type" - + "\030\002 \001(\t\"J\n\014GcsDocuments\022:\n\tdocuments\030\001 \003(" - + "\0132\'.google.cloud.documentai.v1.GcsDocume" - + "nt\"#\n\tGcsPrefix\022\026\n\016gcs_uri_prefix\030\001 \001(\t\"" - + "\245\001\n\031BatchDocumentsInputConfig\022;\n\ngcs_pre" - + "fix\030\001 \001(\0132%.google.cloud.documentai.v1.G" - + "csPrefixH\000\022A\n\rgcs_documents\030\002 \001(\0132(.goog" - + "le.cloud.documentai.v1.GcsDocumentsH\000B\010\n" - + "\006source\"\250\001\n\024DocumentOutputConfig\022]\n\021gcs_" - + "output_config\030\001 \001(\0132@.google.cloud.docum" - + "entai.v1.DocumentOutputConfig.GcsOutputC" - + "onfigH\000\032\"\n\017GcsOutputConfig\022\017\n\007gcs_uri\030\001 " - + "\001(\tB\r\n\013destinationB\323\001\n\036com.google.cloud." - + "documentai.v1B\017DocumentIoProtoP\001ZDgoogle" - + ".golang.org/genproto/googleapis/cloud/do" - + "cumentai/v1;documentai\252\002\032Google.Cloud.Do" - + "cumentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1" - + "\352\002\035Google::Cloud::DocumentAI::V1b\006proto3" + + ".proto\022\032google.cloud.documentai.v1\"1\n\013Ra" + + "wDocument\022\017\n\007content\030\001 \001(\014\022\021\n\tmime_type\030" + + "\002 \001(\t\"1\n\013GcsDocument\022\017\n\007gcs_uri\030\001 \001(\t\022\021\n" + + "\tmime_type\030\002 \001(\t\"J\n\014GcsDocuments\022:\n\tdocu" + + "ments\030\001 \003(\0132\'.google.cloud.documentai.v1" + + ".GcsDocument\"#\n\tGcsPrefix\022\026\n\016gcs_uri_pre" + + "fix\030\001 \001(\t\"\245\001\n\031BatchDocumentsInputConfig\022" + + ";\n\ngcs_prefix\030\001 \001(\0132%.google.cloud.docum" + + "entai.v1.GcsPrefixH\000\022A\n\rgcs_documents\030\002 " + + "\001(\0132(.google.cloud.documentai.v1.GcsDocu" + + "mentsH\000B\010\n\006source\"\250\001\n\024DocumentOutputConf" + + "ig\022]\n\021gcs_output_config\030\001 \001(\0132@.google.c" + + "loud.documentai.v1.DocumentOutputConfig." + + "GcsOutputConfigH\000\032\"\n\017GcsOutputConfig\022\017\n\007" + + "gcs_uri\030\001 \001(\tB\r\n\013destinationB\323\001\n\036com.goo" + + "gle.cloud.documentai.v1B\017DocumentIoProto" + + "P\001ZDgoogle.golang.org/genproto/googleapi" + + "s/cloud/documentai/v1;documentai\252\002\032Googl" + + "e.Cloud.DocumentAI.V1\312\002\032Google\\Cloud\\Doc" + + "umentAI\\V1\352\002\035Google::Cloud::DocumentAI::" + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_documentai_v1_RawDocument_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_documentai_v1_RawDocument_fieldAccessorTable = @@ -151,7 +148,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "GcsUri", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java index f62dce11..01d2c74e 100644 --- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java +++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java @@ -169,216 +169,215 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n)google/cloud/documentai/v1/document.pr" - + "oto\022\032google.cloud.documentai.v1\032\034google/" - + "api/annotations.proto\032\037google/api/field_" - + "behavior.proto\032)google/cloud/documentai/" - + "v1/geometry.proto\032\037google/protobuf/times" - + "tamp.proto\032\027google/rpc/status.proto\032\027goo" - + "gle/type/color.proto\032\026google/type/date.p" - + "roto\032\032google/type/datetime.proto\032\027google" - + "/type/money.proto\032 google/type/postal_ad" - + "dress.proto\"\257;\n\010Document\022\022\n\003uri\030\001 \001(\tB\003\340" - + "A\001H\000\022\026\n\007content\030\002 \001(\014B\003\340A\001H\000\022\021\n\tmime_typ" - + "e\030\003 \001(\t\022\021\n\004text\030\004 \001(\tB\003\340A\001\022?\n\013text_style" - + "s\030\005 \003(\0132*.google.cloud.documentai.v1.Doc" - + "ument.Style\0228\n\005pages\030\006 \003(\0132).google.clou" - + "d.documentai.v1.Document.Page\022=\n\010entitie" - + "s\030\007 \003(\0132+.google.cloud.documentai.v1.Doc" - + "ument.Entity\022M\n\020entity_relations\030\010 \003(\01323" - + ".google.cloud.documentai.v1.Document.Ent" - + "ityRelation\022E\n\014text_changes\030\016 \003(\0132/.goog" - + "le.cloud.documentai.v1.Document.TextChan" - + "ge\022B\n\nshard_info\030\t \001(\0132..google.cloud.do" - + "cumentai.v1.Document.ShardInfo\022!\n\005error\030" - + "\n \001(\0132\022.google.rpc.Status\022@\n\trevisions\030\r" - + " \003(\0132-.google.cloud.documentai.v1.Docume" - + "nt.Revision\032J\n\tShardInfo\022\023\n\013shard_index\030" - + "\001 \001(\003\022\023\n\013shard_count\030\002 \001(\003\022\023\n\013text_offse" - + "t\030\003 \001(\003\032\320\002\n\005Style\022D\n\013text_anchor\030\001 \001(\0132/" - + ".google.cloud.documentai.v1.Document.Tex" - + "tAnchor\022!\n\005color\030\002 \001(\0132\022.google.type.Col" - + "or\022,\n\020background_color\030\003 \001(\0132\022.google.ty" - + "pe.Color\022\023\n\013font_weight\030\004 \001(\t\022\022\n\ntext_st" - + "yle\030\005 \001(\t\022\027\n\017text_decoration\030\006 \001(\t\022F\n\tfo" - + "nt_size\030\007 \001(\01323.google.cloud.documentai." - + "v1.Document.Style.FontSize\032&\n\010FontSize\022\014" - + "\n\004size\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\360 \n\004Page\022\023\n\013p" - + "age_number\030\001 \001(\005\022>\n\005image\030\r \001(\0132/.google" - + ".cloud.documentai.v1.Document.Page.Image" - + "\022D\n\ntransforms\030\016 \003(\01320.google.cloud.docu" - + "mentai.v1.Document.Page.Matrix\022F\n\tdimens" - + "ion\030\002 \001(\01323.google.cloud.documentai.v1.D" - + "ocument.Page.Dimension\022@\n\006layout\030\003 \001(\01320" - + ".google.cloud.documentai.v1.Document.Pag" - + "e.Layout\022V\n\022detected_languages\030\004 \003(\0132:.g" + + "oto\022\032google.cloud.documentai.v1\032\037google/" + + "api/field_behavior.proto\032)google/cloud/d" + + "ocumentai/v1/geometry.proto\032\037google/prot" + + "obuf/timestamp.proto\032\027google/rpc/status." + + "proto\032\027google/type/color.proto\032\026google/t" + + "ype/date.proto\032\032google/type/datetime.pro" + + "to\032\027google/type/money.proto\032 google/type" + + "/postal_address.proto\"\257;\n\010Document\022\022\n\003ur" + + "i\030\001 \001(\tB\003\340A\001H\000\022\026\n\007content\030\002 \001(\014B\003\340A\001H\000\022\021" + + "\n\tmime_type\030\003 \001(\t\022\021\n\004text\030\004 \001(\tB\003\340A\001\022?\n\013" + + "text_styles\030\005 \003(\0132*.google.cloud.documen" + + "tai.v1.Document.Style\0228\n\005pages\030\006 \003(\0132).g" + + "oogle.cloud.documentai.v1.Document.Page\022" + + "=\n\010entities\030\007 \003(\0132+.google.cloud.documen" + + "tai.v1.Document.Entity\022M\n\020entity_relatio" + + "ns\030\010 \003(\01323.google.cloud.documentai.v1.Do" + + "cument.EntityRelation\022E\n\014text_changes\030\016 " + + "\003(\0132/.google.cloud.documentai.v1.Documen" + + "t.TextChange\022B\n\nshard_info\030\t \001(\0132..googl" + + "e.cloud.documentai.v1.Document.ShardInfo" + + "\022!\n\005error\030\n \001(\0132\022.google.rpc.Status\022@\n\tr" + + "evisions\030\r \003(\0132-.google.cloud.documentai" + + ".v1.Document.Revision\032J\n\tShardInfo\022\023\n\013sh" + + "ard_index\030\001 \001(\003\022\023\n\013shard_count\030\002 \001(\003\022\023\n\013" + + "text_offset\030\003 \001(\003\032\320\002\n\005Style\022D\n\013text_anch" + + "or\030\001 \001(\0132/.google.cloud.documentai.v1.Do" + + "cument.TextAnchor\022!\n\005color\030\002 \001(\0132\022.googl" + + "e.type.Color\022,\n\020background_color\030\003 \001(\0132\022" + + ".google.type.Color\022\023\n\013font_weight\030\004 \001(\t\022" + + "\022\n\ntext_style\030\005 \001(\t\022\027\n\017text_decoration\030\006" + + " \001(\t\022F\n\tfont_size\030\007 \001(\01323.google.cloud.d" + + "ocumentai.v1.Document.Style.FontSize\032&\n\010" + + "FontSize\022\014\n\004size\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\360 \n" + + "\004Page\022\023\n\013page_number\030\001 \001(\005\022>\n\005image\030\r \001(" + + "\0132/.google.cloud.documentai.v1.Document." + + "Page.Image\022D\n\ntransforms\030\016 \003(\01320.google." + + "cloud.documentai.v1.Document.Page.Matrix" + + "\022F\n\tdimension\030\002 \001(\01323.google.cloud.docum" + + "entai.v1.Document.Page.Dimension\022@\n\006layo" + + "ut\030\003 \001(\01320.google.cloud.documentai.v1.Do" + + "cument.Page.Layout\022V\n\022detected_languages" + + "\030\004 \003(\0132:.google.cloud.documentai.v1.Docu" + + "ment.Page.DetectedLanguage\022?\n\006blocks\030\005 \003" + + "(\0132/.google.cloud.documentai.v1.Document" + + ".Page.Block\022G\n\nparagraphs\030\006 \003(\01323.google" + + ".cloud.documentai.v1.Document.Page.Parag" + + "raph\022=\n\005lines\030\007 \003(\0132..google.cloud.docum" + + "entai.v1.Document.Page.Line\022?\n\006tokens\030\010 " + + "\003(\0132/.google.cloud.documentai.v1.Documen" + + "t.Page.Token\022P\n\017visual_elements\030\t \003(\01327." + + "google.cloud.documentai.v1.Document.Page" + + ".VisualElement\022?\n\006tables\030\n \003(\0132/.google." + + "cloud.documentai.v1.Document.Page.Table\022" + + "H\n\013form_fields\030\013 \003(\01323.google.cloud.docu" + + "mentai.v1.Document.Page.FormField\022A\n\007sym" + + "bols\030\014 \003(\01320.google.cloud.documentai.v1." + + "Document.Page.Symbol\022C\n\nprovenance\030\020 \001(\013" + + "2/.google.cloud.documentai.v1.Document.P" + + "rovenance\0328\n\tDimension\022\r\n\005width\030\001 \001(\002\022\016\n" + + "\006height\030\002 \001(\002\022\014\n\004unit\030\003 \001(\t\032J\n\005Image\022\017\n\007" + + "content\030\001 \001(\014\022\021\n\tmime_type\030\002 \001(\t\022\r\n\005widt" + + "h\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\032@\n\006Matrix\022\014\n\004row" + + "s\030\001 \001(\005\022\014\n\004cols\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\014\n\004d" + + "ata\030\004 \001(\014\032\335\002\n\006Layout\022D\n\013text_anchor\030\001 \001(" + + "\0132/.google.cloud.documentai.v1.Document." + + "TextAnchor\022\022\n\nconfidence\030\002 \001(\002\022?\n\rboundi" + + "ng_poly\030\003 \001(\0132(.google.cloud.documentai." + + "v1.BoundingPoly\022Q\n\013orientation\030\004 \001(\0162<.g" + "oogle.cloud.documentai.v1.Document.Page." - + "DetectedLanguage\022?\n\006blocks\030\005 \003(\0132/.googl" - + "e.cloud.documentai.v1.Document.Page.Bloc" - + "k\022G\n\nparagraphs\030\006 \003(\01323.google.cloud.doc" - + "umentai.v1.Document.Page.Paragraph\022=\n\005li" - + "nes\030\007 \003(\0132..google.cloud.documentai.v1.D" - + "ocument.Page.Line\022?\n\006tokens\030\010 \003(\0132/.goog" - + "le.cloud.documentai.v1.Document.Page.Tok" - + "en\022P\n\017visual_elements\030\t \003(\01327.google.clo" - + "ud.documentai.v1.Document.Page.VisualEle" - + "ment\022?\n\006tables\030\n \003(\0132/.google.cloud.docu" - + "mentai.v1.Document.Page.Table\022H\n\013form_fi" - + "elds\030\013 \003(\01323.google.cloud.documentai.v1." - + "Document.Page.FormField\022A\n\007symbols\030\014 \003(\013" - + "20.google.cloud.documentai.v1.Document.P" - + "age.Symbol\022C\n\nprovenance\030\020 \001(\0132/.google." - + "cloud.documentai.v1.Document.Provenance\032" - + "8\n\tDimension\022\r\n\005width\030\001 \001(\002\022\016\n\006height\030\002 " - + "\001(\002\022\014\n\004unit\030\003 \001(\t\032J\n\005Image\022\017\n\007content\030\001 " - + "\001(\014\022\021\n\tmime_type\030\002 \001(\t\022\r\n\005width\030\003 \001(\005\022\016\n" - + "\006height\030\004 \001(\005\032@\n\006Matrix\022\014\n\004rows\030\001 \001(\005\022\014\n" - + "\004cols\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\014\n\004data\030\004 \001(\014\032" - + "\335\002\n\006Layout\022D\n\013text_anchor\030\001 \001(\0132/.google" - + ".cloud.documentai.v1.Document.TextAnchor" - + "\022\022\n\nconfidence\030\002 \001(\002\022?\n\rbounding_poly\030\003 " - + "\001(\0132(.google.cloud.documentai.v1.Boundin" - + "gPoly\022Q\n\013orientation\030\004 \001(\0162<.google.clou" - + "d.documentai.v1.Document.Page.Layout.Ori" - + "entation\"e\n\013Orientation\022\033\n\027ORIENTATION_U" - + "NSPECIFIED\020\000\022\013\n\007PAGE_UP\020\001\022\016\n\nPAGE_RIGHT\020" - + "\002\022\r\n\tPAGE_DOWN\020\003\022\r\n\tPAGE_LEFT\020\004\032\346\001\n\005Bloc" - + "k\022@\n\006layout\030\001 \001(\01320.google.cloud.documen" - + "tai.v1.Document.Page.Layout\022V\n\022detected_" - + "languages\030\002 \003(\0132:.google.cloud.documenta" - + "i.v1.Document.Page.DetectedLanguage\022C\n\np" - + "rovenance\030\003 \001(\0132/.google.cloud.documenta" - + "i.v1.Document.Provenance\032\352\001\n\tParagraph\022@" - + "\n\006layout\030\001 \001(\01320.google.cloud.documentai" - + ".v1.Document.Page.Layout\022V\n\022detected_lan" - + "guages\030\002 \003(\0132:.google.cloud.documentai.v" - + "1.Document.Page.DetectedLanguage\022C\n\nprov" - + "enance\030\003 \001(\0132/.google.cloud.documentai.v" - + "1.Document.Provenance\032\345\001\n\004Line\022@\n\006layout" - + "\030\001 \001(\01320.google.cloud.documentai.v1.Docu" - + "ment.Page.Layout\022V\n\022detected_languages\030\002" - + " \003(\0132:.google.cloud.documentai.v1.Docume" - + "nt.Page.DetectedLanguage\022C\n\nprovenance\030\003" - + " \001(\0132/.google.cloud.documentai.v1.Docume" - + "nt.Provenance\032\346\003\n\005Token\022@\n\006layout\030\001 \001(\0132" - + "0.google.cloud.documentai.v1.Document.Pa" - + "ge.Layout\022U\n\016detected_break\030\002 \001(\0132=.goog" - + "le.cloud.documentai.v1.Document.Page.Tok" - + "en.DetectedBreak\022V\n\022detected_languages\030\003" - + " \003(\0132:.google.cloud.documentai.v1.Docume" - + "nt.Page.DetectedLanguage\022C\n\nprovenance\030\004" - + " \001(\0132/.google.cloud.documentai.v1.Docume" - + "nt.Provenance\032\246\001\n\rDetectedBreak\022P\n\004type\030" - + "\001 \001(\0162B.google.cloud.documentai.v1.Docum" - + "ent.Page.Token.DetectedBreak.Type\"C\n\004Typ" - + "e\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005SPACE\020\001\022\016\n\nWI" - + "DE_SPACE\020\002\022\n\n\006HYPHEN\020\003\032\242\001\n\006Symbol\022@\n\006lay" + + "Layout.Orientation\"e\n\013Orientation\022\033\n\027ORI" + + "ENTATION_UNSPECIFIED\020\000\022\013\n\007PAGE_UP\020\001\022\016\n\nP" + + "AGE_RIGHT\020\002\022\r\n\tPAGE_DOWN\020\003\022\r\n\tPAGE_LEFT\020" + + "\004\032\346\001\n\005Block\022@\n\006layout\030\001 \001(\01320.google.clo" + + "ud.documentai.v1.Document.Page.Layout\022V\n" + + "\022detected_languages\030\002 \003(\0132:.google.cloud" + + ".documentai.v1.Document.Page.DetectedLan" + + "guage\022C\n\nprovenance\030\003 \001(\0132/.google.cloud" + + ".documentai.v1.Document.Provenance\032\352\001\n\tP" + + "aragraph\022@\n\006layout\030\001 \001(\01320.google.cloud." + + "documentai.v1.Document.Page.Layout\022V\n\022de" + + "tected_languages\030\002 \003(\0132:.google.cloud.do" + + "cumentai.v1.Document.Page.DetectedLangua" + + "ge\022C\n\nprovenance\030\003 \001(\0132/.google.cloud.do" + + "cumentai.v1.Document.Provenance\032\345\001\n\004Line" + + "\022@\n\006layout\030\001 \001(\01320.google.cloud.document" + + "ai.v1.Document.Page.Layout\022V\n\022detected_l" + + "anguages\030\002 \003(\0132:.google.cloud.documentai" + + ".v1.Document.Page.DetectedLanguage\022C\n\npr" + + "ovenance\030\003 \001(\0132/.google.cloud.documentai" + + ".v1.Document.Provenance\032\346\003\n\005Token\022@\n\006lay" + "out\030\001 \001(\01320.google.cloud.documentai.v1.D" - + "ocument.Page.Layout\022V\n\022detected_language" - + "s\030\002 \003(\0132:.google.cloud.documentai.v1.Doc" - + "ument.Page.DetectedLanguage\032\267\001\n\rVisualEl" - + "ement\022@\n\006layout\030\001 \001(\01320.google.cloud.doc" - + "umentai.v1.Document.Page.Layout\022\014\n\004type\030" - + "\002 \001(\t\022V\n\022detected_languages\030\003 \003(\0132:.goog" - + "le.cloud.documentai.v1.Document.Page.Det" - + "ectedLanguage\032\337\004\n\005Table\022@\n\006layout\030\001 \001(\0132" - + "0.google.cloud.documentai.v1.Document.Pa" - + "ge.Layout\022M\n\013header_rows\030\002 \003(\01328.google." - + "cloud.documentai.v1.Document.Page.Table." - + "TableRow\022K\n\tbody_rows\030\003 \003(\01328.google.clo" - + "ud.documentai.v1.Document.Page.Table.Tab" - + "leRow\022V\n\022detected_languages\030\004 \003(\0132:.goog" - + "le.cloud.documentai.v1.Document.Page.Det" - + "ectedLanguage\032T\n\010TableRow\022H\n\005cells\030\001 \003(\013" - + "29.google.cloud.documentai.v1.Document.P" - + "age.Table.TableCell\032\311\001\n\tTableCell\022@\n\006lay" + + "ocument.Page.Layout\022U\n\016detected_break\030\002 " + + "\001(\0132=.google.cloud.documentai.v1.Documen" + + "t.Page.Token.DetectedBreak\022V\n\022detected_l" + + "anguages\030\003 \003(\0132:.google.cloud.documentai" + + ".v1.Document.Page.DetectedLanguage\022C\n\npr" + + "ovenance\030\004 \001(\0132/.google.cloud.documentai" + + ".v1.Document.Provenance\032\246\001\n\rDetectedBrea" + + "k\022P\n\004type\030\001 \001(\0162B.google.cloud.documenta" + + "i.v1.Document.Page.Token.DetectedBreak.T" + + "ype\"C\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005SPA" + + "CE\020\001\022\016\n\nWIDE_SPACE\020\002\022\n\n\006HYPHEN\020\003\032\242\001\n\006Sym" + + "bol\022@\n\006layout\030\001 \001(\01320.google.cloud.docum" + + "entai.v1.Document.Page.Layout\022V\n\022detecte" + + "d_languages\030\002 \003(\0132:.google.cloud.documen" + + "tai.v1.Document.Page.DetectedLanguage\032\267\001" + + "\n\rVisualElement\022@\n\006layout\030\001 \001(\01320.google" + + ".cloud.documentai.v1.Document.Page.Layou" + + "t\022\014\n\004type\030\002 \001(\t\022V\n\022detected_languages\030\003 " + + "\003(\0132:.google.cloud.documentai.v1.Documen" + + "t.Page.DetectedLanguage\032\337\004\n\005Table\022@\n\006lay" + "out\030\001 \001(\01320.google.cloud.documentai.v1.D" - + "ocument.Page.Layout\022\020\n\010row_span\030\002 \001(\005\022\020\n" - + "\010col_span\030\003 \001(\005\022V\n\022detected_languages\030\004 " + + "ocument.Page.Layout\022M\n\013header_rows\030\002 \003(\013" + + "28.google.cloud.documentai.v1.Document.P" + + "age.Table.TableRow\022K\n\tbody_rows\030\003 \003(\01328." + + "google.cloud.documentai.v1.Document.Page" + + ".Table.TableRow\022V\n\022detected_languages\030\004 " + "\003(\0132:.google.cloud.documentai.v1.Documen" - + "t.Page.DetectedLanguage\032\254\003\n\tFormField\022D\n" - + "\nfield_name\030\001 \001(\01320.google.cloud.documen" - + "tai.v1.Document.Page.Layout\022E\n\013field_val" - + "ue\030\002 \001(\01320.google.cloud.documentai.v1.Do" - + "cument.Page.Layout\022[\n\027name_detected_lang" - + "uages\030\003 \003(\0132:.google.cloud.documentai.v1" - + ".Document.Page.DetectedLanguage\022\\\n\030value" - + "_detected_languages\030\004 \003(\0132:.google.cloud" - + ".documentai.v1.Document.Page.DetectedLan" - + "guage\022\022\n\nvalue_type\030\005 \001(\t\022C\n\nprovenance\030" - + "\010 \001(\0132/.google.cloud.documentai.v1.Docum" - + "ent.Provenance\032=\n\020DetectedLanguage\022\025\n\rla" - + "nguage_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\233\006" - + "\n\006Entity\022I\n\013text_anchor\030\001 \001(\0132/.google.c" - + "loud.documentai.v1.Document.TextAnchorB\003" - + "\340A\001\022\014\n\004type\030\002 \001(\t\022\031\n\014mention_text\030\003 \001(\tB" - + "\003\340A\001\022\027\n\nmention_id\030\004 \001(\tB\003\340A\001\022\027\n\nconfide" - + "nce\030\005 \001(\002B\003\340A\001\022I\n\013page_anchor\030\006 \001(\0132/.go" - + "ogle.cloud.documentai.v1.Document.PageAn" - + "chorB\003\340A\001\022\017\n\002id\030\007 \001(\tB\003\340A\001\022Z\n\020normalized" - + "_value\030\t \001(\0132;.google.cloud.documentai.v" - + "1.Document.Entity.NormalizedValueB\003\340A\001\022D" - + "\n\nproperties\030\n \003(\0132+.google.cloud.docume" - + "ntai.v1.Document.EntityB\003\340A\001\022H\n\nprovenan" - + "ce\030\013 \001(\0132/.google.cloud.documentai.v1.Do" - + "cument.ProvenanceB\003\340A\001\022\025\n\010redacted\030\014 \001(\010" - + "B\003\340A\001\032\213\002\n\017NormalizedValue\022)\n\013money_value" - + "\030\002 \001(\0132\022.google.type.MoneyH\000\022\'\n\ndate_val" - + "ue\030\003 \001(\0132\021.google.type.DateH\000\022/\n\016datetim" - + "e_value\030\004 \001(\0132\025.google.type.DateTimeH\000\0223" - + "\n\raddress_value\030\005 \001(\0132\032.google.type.Post" - + "alAddressH\000\022\027\n\rboolean_value\030\006 \001(\010H\000\022\021\n\004" - + "text\030\001 \001(\tB\003\340A\001B\022\n\020structured_value\032I\n\016E" - + "ntityRelation\022\022\n\nsubject_id\030\001 \001(\t\022\021\n\tobj" - + "ect_id\030\002 \001(\t\022\020\n\010relation\030\003 \001(\t\032\250\001\n\nTextA" - + "nchor\022R\n\rtext_segments\030\001 \003(\0132;.google.cl" - + "oud.documentai.v1.Document.TextAnchor.Te" - + "xtSegment\022\017\n\007content\030\002 \001(\t\0325\n\013TextSegmen" - + "t\022\023\n\013start_index\030\001 \001(\003\022\021\n\tend_index\030\002 \001(" - + "\003\032\330\003\n\nPageAnchor\022J\n\tpage_refs\030\001 \003(\01327.go" - + "ogle.cloud.documentai.v1.Document.PageAn" - + "chor.PageRef\032\375\002\n\007PageRef\022\021\n\004page\030\001 \001(\003B\003" - + "\340A\002\022\\\n\013layout_type\030\002 \001(\0162B.google.cloud." - + "documentai.v1.Document.PageAnchor.PageRe" - + "f.LayoutTypeB\003\340A\001\022\030\n\tlayout_id\030\003 \001(\tB\005\030\001" - + "\340A\001\022D\n\rbounding_poly\030\004 \001(\0132(.google.clou" - + "d.documentai.v1.BoundingPolyB\003\340A\001\022\027\n\ncon" - + "fidence\030\005 \001(\002B\003\340A\001\"\207\001\n\nLayoutType\022\033\n\027LAY" - + "OUT_TYPE_UNSPECIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPAR" - + "AGRAPH\020\002\022\010\n\004LINE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_" - + "ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007\032\214\003\n" - + "\nProvenance\022\020\n\010revision\030\001 \001(\005\022\016\n\002id\030\002 \001(" - + "\005B\002\030\001\022G\n\007parents\030\003 \003(\01326.google.cloud.do" - + "cumentai.v1.Document.Provenance.Parent\022K" - + "\n\004type\030\004 \001(\0162=.google.cloud.documentai.v" - + "1.Document.Provenance.OperationType\0329\n\006P" - + "arent\022\020\n\010revision\030\001 \001(\005\022\r\n\005index\030\003 \001(\005\022\016" - + "\n\002id\030\002 \001(\005B\002\030\001\"\212\001\n\rOperationType\022\036\n\032OPER" - + "ATION_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REM" - + "OVE\020\002\022\013\n\007REPLACE\020\003\022\022\n\016EVAL_REQUESTED\020\004\022\021" - + "\n\rEVAL_APPROVED\020\005\022\020\n\014EVAL_SKIPPED\020\006\032\215\002\n\010" - + "Revision\022\017\n\005agent\030\004 \001(\tH\000\022\023\n\tprocessor\030\005" - + " \001(\tH\000\022\n\n\002id\030\001 \001(\t\022\016\n\006parent\030\002 \003(\005\022/\n\013cr" - + "eate_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "amp\022O\n\014human_review\030\006 \001(\01329.google.cloud" - + ".documentai.v1.Document.Revision.HumanRe" - + "view\0323\n\013HumanReview\022\r\n\005state\030\001 \001(\t\022\025\n\rst" - + "ate_message\030\002 \001(\tB\010\n\006source\032\255\001\n\nTextChan" - + "ge\022D\n\013text_anchor\030\001 \001(\0132/.google.cloud.d" - + "ocumentai.v1.Document.TextAnchor\022\024\n\014chan" - + "ged_text\030\002 \001(\t\022C\n\nprovenance\030\003 \003(\0132/.goo" - + "gle.cloud.documentai.v1.Document.Provena" - + "nceB\010\n\006sourceB\321\001\n\036com.google.cloud.docum" - + "entai.v1B\rDocumentProtoP\001ZDgoogle.golang" - + ".org/genproto/googleapis/cloud/documenta" - + "i/v1;documentai\252\002\032Google.Cloud.DocumentA" - + "I.V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035Goog" - + "le::Cloud::DocumentAI::V1b\006proto3" + + "t.Page.DetectedLanguage\032T\n\010TableRow\022H\n\005c" + + "ells\030\001 \003(\01329.google.cloud.documentai.v1." + + "Document.Page.Table.TableCell\032\311\001\n\tTableC" + + "ell\022@\n\006layout\030\001 \001(\01320.google.cloud.docum" + + "entai.v1.Document.Page.Layout\022\020\n\010row_spa" + + "n\030\002 \001(\005\022\020\n\010col_span\030\003 \001(\005\022V\n\022detected_la" + + "nguages\030\004 \003(\0132:.google.cloud.documentai." + + "v1.Document.Page.DetectedLanguage\032\254\003\n\tFo" + + "rmField\022D\n\nfield_name\030\001 \001(\01320.google.clo" + + "ud.documentai.v1.Document.Page.Layout\022E\n" + + "\013field_value\030\002 \001(\01320.google.cloud.docume" + + "ntai.v1.Document.Page.Layout\022[\n\027name_det" + + "ected_languages\030\003 \003(\0132:.google.cloud.doc" + + "umentai.v1.Document.Page.DetectedLanguag" + + "e\022\\\n\030value_detected_languages\030\004 \003(\0132:.go" + + "ogle.cloud.documentai.v1.Document.Page.D" + + "etectedLanguage\022\022\n\nvalue_type\030\005 \001(\t\022C\n\np" + + "rovenance\030\010 \001(\0132/.google.cloud.documenta" + + "i.v1.Document.Provenance\032=\n\020DetectedLang" + + "uage\022\025\n\rlanguage_code\030\001 \001(\t\022\022\n\nconfidenc" + + "e\030\002 \001(\002\032\233\006\n\006Entity\022I\n\013text_anchor\030\001 \001(\0132" + + "/.google.cloud.documentai.v1.Document.Te" + + "xtAnchorB\003\340A\001\022\014\n\004type\030\002 \001(\t\022\031\n\014mention_t" + + "ext\030\003 \001(\tB\003\340A\001\022\027\n\nmention_id\030\004 \001(\tB\003\340A\001\022" + + "\027\n\nconfidence\030\005 \001(\002B\003\340A\001\022I\n\013page_anchor\030" + + "\006 \001(\0132/.google.cloud.documentai.v1.Docum" + + "ent.PageAnchorB\003\340A\001\022\017\n\002id\030\007 \001(\tB\003\340A\001\022Z\n\020" + + "normalized_value\030\t \001(\0132;.google.cloud.do" + + "cumentai.v1.Document.Entity.NormalizedVa" + + "lueB\003\340A\001\022D\n\nproperties\030\n \003(\0132+.google.cl" + + "oud.documentai.v1.Document.EntityB\003\340A\001\022H" + + "\n\nprovenance\030\013 \001(\0132/.google.cloud.docume" + + "ntai.v1.Document.ProvenanceB\003\340A\001\022\025\n\010reda" + + "cted\030\014 \001(\010B\003\340A\001\032\213\002\n\017NormalizedValue\022)\n\013m" + + "oney_value\030\002 \001(\0132\022.google.type.MoneyH\000\022\'" + + "\n\ndate_value\030\003 \001(\0132\021.google.type.DateH\000\022" + + "/\n\016datetime_value\030\004 \001(\0132\025.google.type.Da" + + "teTimeH\000\0223\n\raddress_value\030\005 \001(\0132\032.google" + + ".type.PostalAddressH\000\022\027\n\rboolean_value\030\006" + + " \001(\010H\000\022\021\n\004text\030\001 \001(\tB\003\340A\001B\022\n\020structured_" + + "value\032I\n\016EntityRelation\022\022\n\nsubject_id\030\001 " + + "\001(\t\022\021\n\tobject_id\030\002 \001(\t\022\020\n\010relation\030\003 \001(\t" + + "\032\250\001\n\nTextAnchor\022R\n\rtext_segments\030\001 \003(\0132;" + + ".google.cloud.documentai.v1.Document.Tex" + + "tAnchor.TextSegment\022\017\n\007content\030\002 \001(\t\0325\n\013" + + "TextSegment\022\023\n\013start_index\030\001 \001(\003\022\021\n\tend_" + + "index\030\002 \001(\003\032\330\003\n\nPageAnchor\022J\n\tpage_refs\030" + + "\001 \003(\01327.google.cloud.documentai.v1.Docum" + + "ent.PageAnchor.PageRef\032\375\002\n\007PageRef\022\021\n\004pa" + + "ge\030\001 \001(\003B\003\340A\002\022\\\n\013layout_type\030\002 \001(\0162B.goo" + + "gle.cloud.documentai.v1.Document.PageAnc" + + "hor.PageRef.LayoutTypeB\003\340A\001\022\030\n\tlayout_id" + + "\030\003 \001(\tB\005\030\001\340A\001\022D\n\rbounding_poly\030\004 \001(\0132(.g" + + "oogle.cloud.documentai.v1.BoundingPolyB\003" + + "\340A\001\022\027\n\nconfidence\030\005 \001(\002B\003\340A\001\"\207\001\n\nLayoutT" + + "ype\022\033\n\027LAYOUT_TYPE_UNSPECIFIED\020\000\022\t\n\005BLOC" + + "K\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n\004LINE\020\003\022\t\n\005TOKEN\020\004\022" + + "\022\n\016VISUAL_ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016\n\nFORM_F" + + "IELD\020\007\032\214\003\n\nProvenance\022\020\n\010revision\030\001 \001(\005\022" + + "\016\n\002id\030\002 \001(\005B\002\030\001\022G\n\007parents\030\003 \003(\01326.googl" + + "e.cloud.documentai.v1.Document.Provenanc" + + "e.Parent\022K\n\004type\030\004 \001(\0162=.google.cloud.do" + + "cumentai.v1.Document.Provenance.Operatio" + + "nType\0329\n\006Parent\022\020\n\010revision\030\001 \001(\005\022\r\n\005ind" + + "ex\030\003 \001(\005\022\016\n\002id\030\002 \001(\005B\002\030\001\"\212\001\n\rOperationTy" + + "pe\022\036\n\032OPERATION_TYPE_UNSPECIFIED\020\000\022\007\n\003AD" + + "D\020\001\022\n\n\006REMOVE\020\002\022\013\n\007REPLACE\020\003\022\022\n\016EVAL_REQ" + + "UESTED\020\004\022\021\n\rEVAL_APPROVED\020\005\022\020\n\014EVAL_SKIP" + + "PED\020\006\032\215\002\n\010Revision\022\017\n\005agent\030\004 \001(\tH\000\022\023\n\tp" + + "rocessor\030\005 \001(\tH\000\022\n\n\002id\030\001 \001(\t\022\016\n\006parent\030\002" + + " \003(\005\022/\n\013create_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022O\n\014human_review\030\006 \001(\01329.go" + + "ogle.cloud.documentai.v1.Document.Revisi" + + "on.HumanReview\0323\n\013HumanReview\022\r\n\005state\030\001" + + " \001(\t\022\025\n\rstate_message\030\002 \001(\tB\010\n\006source\032\255\001" + + "\n\nTextChange\022D\n\013text_anchor\030\001 \001(\0132/.goog" + + "le.cloud.documentai.v1.Document.TextAnch" + + "or\022\024\n\014changed_text\030\002 \001(\t\022C\n\nprovenance\030\003" + + " \003(\0132/.google.cloud.documentai.v1.Docume" + + "nt.ProvenanceB\010\n\006sourceB\321\001\n\036com.google.c" + + "loud.documentai.v1B\rDocumentProtoP\001ZDgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/documentai/v1;documentai\252\002\032Google.Cloud" + + ".DocumentAI.V1\312\002\032Google\\Cloud\\DocumentAI" + + "\\V1\352\002\035Google::Cloud::DocumentAI::V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.cloud.documentai.v1.GeometryProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -735,7 +734,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.documentai.v1.GeometryProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java index edf2f742..0bc43038 100644 --- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java +++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java @@ -49,26 +49,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n)google/cloud/documentai/v1/geometry.pr" - + "oto\022\032google.cloud.documentai.v1\032\034google/" - + "api/annotations.proto\"\036\n\006Vertex\022\t\n\001x\030\001 \001" - + "(\005\022\t\n\001y\030\002 \001(\005\"(\n\020NormalizedVertex\022\t\n\001x\030\001" - + " \001(\002\022\t\n\001y\030\002 \001(\002\"\217\001\n\014BoundingPoly\0224\n\010vert" - + "ices\030\001 \003(\0132\".google.cloud.documentai.v1." - + "Vertex\022I\n\023normalized_vertices\030\002 \003(\0132,.go" - + "ogle.cloud.documentai.v1.NormalizedVerte" - + "xB\321\001\n\036com.google.cloud.documentai.v1B\rGe" - + "ometryProtoP\001ZDgoogle.golang.org/genprot" - + "o/googleapis/cloud/documentai/v1;documen" - + "tai\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Googl" - + "e\\Cloud\\DocumentAI\\V1\352\002\035Google::Cloud::D" - + "ocumentAI::V1b\006proto3" + + "oto\022\032google.cloud.documentai.v1\"\036\n\006Verte" + + "x\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\"(\n\020NormalizedVer" + + "tex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\217\001\n\014BoundingPo" + + "ly\0224\n\010vertices\030\001 \003(\0132\".google.cloud.docu" + + "mentai.v1.Vertex\022I\n\023normalized_vertices\030" + + "\002 \003(\0132,.google.cloud.documentai.v1.Norma" + + "lizedVertexB\321\001\n\036com.google.cloud.documen" + + "tai.v1B\rGeometryProtoP\001ZDgoogle.golang.o" + + "rg/genproto/googleapis/cloud/documentai/" + + "v1;documentai\252\002\032Google.Cloud.DocumentAI." + + "V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035Google" + + "::Cloud::DocumentAI::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_cloud_documentai_v1_Vertex_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_documentai_v1_Vertex_fieldAccessorTable = @@ -93,7 +89,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Vertices", "NormalizedVertices", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java index f4dd8f92..0adcf579 100644 --- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java +++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java @@ -42,29 +42,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n3google/cloud/documentai/v1/operation_m" + "etadata.proto\022\032google.cloud.documentai.v" - + "1\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\303\002\n\027CommonOpera" - + "tionMetadata\022H\n\005state\030\001 \001(\01629.google.clo" - + "ud.documentai.v1.CommonOperationMetadata" - + ".State\022\025\n\rstate_message\030\002 \001(\t\022/\n\013create_" - + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022/" - + "\n\013update_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestamp\"e\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" - + "\013\n\007RUNNING\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDE" - + "D\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\005B\332\001\n\036com.g" - + "oogle.cloud.documentai.v1B\026OperationMeta" - + "dataProtoP\001ZDgoogle.golang.org/genproto/" - + "googleapis/cloud/documentai/v1;documenta" - + "i\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Google\\" - + "Cloud\\DocumentAI\\V1\352\002\035Google::Cloud::Doc" - + "umentAI::V1b\006proto3" + + "1\032\037google/protobuf/timestamp.proto\"\303\002\n\027C" + + "ommonOperationMetadata\022H\n\005state\030\001 \001(\01629." + + "google.cloud.documentai.v1.CommonOperati" + + "onMetadata.State\022\025\n\rstate_message\030\002 \001(\t\022" + + "/\n\013create_time\030\003 \001(\0132\032.google.protobuf.T" + + "imestamp\022/\n\013update_time\030\004 \001(\0132\032.google.p" + + "rotobuf.Timestamp\"e\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\016\n\nCANCELLING\020\002\022\r" + + "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\005" + + "B\332\001\n\036com.google.cloud.documentai.v1B\026Ope" + + "rationMetadataProtoP\001ZDgoogle.golang.org" + + "/genproto/googleapis/cloud/documentai/v1" + + ";documentai\252\002\032Google.Cloud.DocumentAI.V1" + + "\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035Google::" + + "Cloud::DocumentAI::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor = getDescriptor().getMessageTypes().get(0); @@ -75,7 +73,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "State", "StateMessage", "CreateTime", "UpdateTime", }); com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto index e6368bad..aed16a99 100644 --- a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto +++ b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.documentai.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/documentai/v1/geometry.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto index 1bd020ee..281a379f 100644 --- a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto +++ b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.documentai.v1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.DocumentAI.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; option java_multiple_files = true; diff --git a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto index 314a51d9..d0c21feb 100644 --- a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto +++ b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto @@ -24,7 +24,6 @@ import "google/cloud/documentai/v1/document.proto"; import "google/cloud/documentai/v1/document_io.proto"; import "google/cloud/documentai/v1/operation_metadata.proto"; import "google/longrunning/operations.proto"; -import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; diff --git a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto index 19ced507..6f83ee7b 100644 --- a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto +++ b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.documentai.v1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.DocumentAI.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; option java_multiple_files = true; diff --git a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto index 503451bf..77322243 100644 --- a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto +++ b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto @@ -17,7 +17,6 @@ syntax = "proto3"; package google.cloud.documentai.v1; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; diff --git a/proto-google-cloud-document-ai-v1beta1/pom.xml b/proto-google-cloud-document-ai-v1beta1/pom.xml index bc527cb0..0676361e 100644 --- a/proto-google-cloud-document-ai-v1beta1/pom.xml +++ b/proto-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.15.1 + 0.16.0 proto-google-cloud-document-ai-v1beta1 PROTO library for proto-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 diff --git a/proto-google-cloud-document-ai-v1beta2/pom.xml b/proto-google-cloud-document-ai-v1beta2/pom.xml index b4a6c532..a290ed9d 100644 --- a/proto-google-cloud-document-ai-v1beta2/pom.xml +++ b/proto-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.15.1 + 0.16.0 proto-google-cloud-document-ai-v1beta2 PROTO library for proto-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 diff --git a/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/Document.java b/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/Document.java index 8b44d559..03f3edc3 100644 --- a/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/Document.java +++ b/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/Document.java @@ -35347,6 +35347,33 @@ public interface TextAnchorOrBuilder */ com.google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegmentOrBuilder getTextSegmentsOrBuilder(int index); + + /** + * + * + *
+     * Contains the content of the text span so that users do
+     * not have to look it up in the text_segments.
+     * 
+ * + * string content = 2; + * + * @return The content. + */ + java.lang.String getContent(); + /** + * + * + *
+     * Contains the content of the text span so that users do
+     * not have to look it up in the text_segments.
+     * 
+ * + * string content = 2; + * + * @return The bytes for content. + */ + com.google.protobuf.ByteString getContentBytes(); } /** * @@ -35369,6 +35396,7 @@ private TextAnchor(com.google.protobuf.GeneratedMessageV3.Builder builder) { private TextAnchor() { textSegments_ = java.util.Collections.emptyList(); + content_ = ""; } @java.lang.Override @@ -35416,6 +35444,13 @@ private TextAnchor( extensionRegistry)); break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + content_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -36217,6 +36252,57 @@ public com.google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment getTe return textSegments_.get(index); } + public static final int CONTENT_FIELD_NUMBER = 2; + private volatile java.lang.Object content_; + /** + * + * + *
+     * Contains the content of the text span so that users do
+     * not have to look it up in the text_segments.
+     * 
+ * + * string content = 2; + * + * @return The content. + */ + @java.lang.Override + public java.lang.String getContent() { + java.lang.Object ref = content_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + content_ = s; + return s; + } + } + /** + * + * + *
+     * Contains the content of the text span so that users do
+     * not have to look it up in the text_segments.
+     * 
+ * + * string content = 2; + * + * @return The bytes for content. + */ + @java.lang.Override + public com.google.protobuf.ByteString getContentBytes() { + java.lang.Object ref = content_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + content_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -36234,6 +36320,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < textSegments_.size(); i++) { output.writeMessage(1, textSegments_.get(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_); + } unknownFields.writeTo(output); } @@ -36246,6 +36335,9 @@ public int getSerializedSize() { for (int i = 0; i < textSegments_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, textSegments_.get(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(content_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -36263,6 +36355,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.documentai.v1beta2.Document.TextAnchor) obj; if (!getTextSegmentsList().equals(other.getTextSegmentsList())) return false; + if (!getContent().equals(other.getContent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -36278,6 +36371,8 @@ public int hashCode() { hash = (37 * hash) + TEXT_SEGMENTS_FIELD_NUMBER; hash = (53 * hash) + getTextSegmentsList().hashCode(); } + hash = (37 * hash) + CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getContent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -36434,6 +36529,8 @@ public Builder clear() { } else { textSegmentsBuilder_.clear(); } + content_ = ""; + return this; } @@ -36471,6 +36568,7 @@ public com.google.cloud.documentai.v1beta2.Document.TextAnchor buildPartial() { } else { result.textSegments_ = textSegmentsBuilder_.build(); } + result.content_ = content_; onBuilt(); return result; } @@ -36550,6 +36648,10 @@ public Builder mergeFrom(com.google.cloud.documentai.v1beta2.Document.TextAnchor } } } + if (!other.getContent().isEmpty()) { + content_ = other.content_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -36998,6 +37100,117 @@ public Builder removeTextSegments(int index) { return textSegmentsBuilder_; } + private java.lang.Object content_ = ""; + /** + * + * + *
+       * Contains the content of the text span so that users do
+       * not have to look it up in the text_segments.
+       * 
+ * + * string content = 2; + * + * @return The content. + */ + public java.lang.String getContent() { + java.lang.Object ref = content_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + content_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Contains the content of the text span so that users do
+       * not have to look it up in the text_segments.
+       * 
+ * + * string content = 2; + * + * @return The bytes for content. + */ + public com.google.protobuf.ByteString getContentBytes() { + java.lang.Object ref = content_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + content_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Contains the content of the text span so that users do
+       * not have to look it up in the text_segments.
+       * 
+ * + * string content = 2; + * + * @param value The content to set. + * @return This builder for chaining. + */ + public Builder setContent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + content_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Contains the content of the text span so that users do
+       * not have to look it up in the text_segments.
+       * 
+ * + * string content = 2; + * + * @return This builder for chaining. + */ + public Builder clearContent() { + + content_ = getDefaultInstance().getContent(); + onChanged(); + return this; + } + /** + * + * + *
+       * Contains the content of the text span so that users do
+       * not have to look it up in the text_segments.
+       * 
+ * + * string content = 2; + * + * @param value The bytes for content to set. + * @return This builder for chaining. + */ + public Builder setContentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + content_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java b/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java index 70ff1eac..572e94a5 100644 --- a/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java +++ b/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java @@ -142,7 +142,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le/cloud/documentai/v1beta2/geometry.pro" + "to\032\027google/rpc/status.proto\032\027google/type" + "/color.proto\032\034google/api/annotations.pro" - + "to\"\302+\n\010Document\022\r\n\003uri\030\001 \001(\tH\000\022\021\n\007conten" + + "to\"\323+\n\010Document\022\r\n\003uri\030\001 \001(\tH\000\022\021\n\007conten" + "t\030\002 \001(\014H\000\022\021\n\tmime_type\030\003 \001(\t\022\014\n\004text\030\004 \001" + "(\t\022D\n\013text_styles\030\005 \003(\0132/.google.cloud.d" + "ocumentai.v1beta2.Document.Style\022=\n\005page" @@ -267,27 +267,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ntend\030\010 \001(\0132-.google.cloud.documentai.v1" + "beta2.BoundingPolyB\003\340A\001\032I\n\016EntityRelatio" + "n\022\022\n\nsubject_id\030\001 \001(\t\022\021\n\tobject_id\030\002 \001(\t" - + "\022\020\n\010relation\030\003 \001(\t\032\234\001\n\nTextAnchor\022W\n\rtex" + + "\022\020\n\010relation\030\003 \001(\t\032\255\001\n\nTextAnchor\022W\n\rtex" + "t_segments\030\001 \003(\0132@.google.cloud.document" + "ai.v1beta2.Document.TextAnchor.TextSegme" - + "nt\0325\n\013TextSegment\022\023\n\013start_index\030\001 \001(\003\022\021" - + "\n\tend_index\030\002 \001(\003\032\201\003\n\nPageAnchor\022O\n\tpage" - + "_refs\030\001 \003(\0132<.google.cloud.documentai.v1" - + "beta2.Document.PageAnchor.PageRef\032\241\002\n\007Pa" - + "geRef\022\021\n\004page\030\001 \001(\003B\003\340A\002\022a\n\013layout_type\030" - + "\002 \001(\0162G.google.cloud.documentai.v1beta2." - + "Document.PageAnchor.PageRef.LayoutTypeB\003" - + "\340A\001\022\026\n\tlayout_id\030\003 \001(\tB\003\340A\001\"\207\001\n\nLayoutTy" - + "pe\022\033\n\027LAYOUT_TYPE_UNSPECIFIED\020\000\022\t\n\005BLOCK" - + "\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n\004LINE\020\003\022\t\n\005TOKEN\020\004\022\022" - + "\n\016VISUAL_ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016\n\nFORM_FI" - + "ELD\020\007B\010\n\006sourceB\352\001\n#com.google.cloud.doc" - + "umentai.v1beta2B\rDocumentProtoP\001ZIgoogle" - + ".golang.org/genproto/googleapis/cloud/do" - + "cumentai/v1beta2;documentai\252\002\037Google.Clo" - + "ud.DocumentAI.V1Beta2\312\002\037Google\\Cloud\\Doc" - + "umentAI\\V1beta2\352\002\"Google::Cloud::Documen" - + "tAI::V1beta2b\006proto3" + + "nt\022\017\n\007content\030\002 \001(\t\0325\n\013TextSegment\022\023\n\013st" + + "art_index\030\001 \001(\003\022\021\n\tend_index\030\002 \001(\003\032\201\003\n\nP" + + "ageAnchor\022O\n\tpage_refs\030\001 \003(\0132<.google.cl" + + "oud.documentai.v1beta2.Document.PageAnch" + + "or.PageRef\032\241\002\n\007PageRef\022\021\n\004page\030\001 \001(\003B\003\340A" + + "\002\022a\n\013layout_type\030\002 \001(\0162G.google.cloud.do" + + "cumentai.v1beta2.Document.PageAnchor.Pag" + + "eRef.LayoutTypeB\003\340A\001\022\026\n\tlayout_id\030\003 \001(\tB" + + "\003\340A\001\"\207\001\n\nLayoutType\022\033\n\027LAYOUT_TYPE_UNSPE" + + "CIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n\004LI" + + "NE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_ELEMENT\020\005\022\t\n\005T" + + "ABLE\020\006\022\016\n\nFORM_FIELD\020\007B\010\n\006sourceB\352\001\n#com" + + ".google.cloud.documentai.v1beta2B\rDocume" + + "ntProtoP\001ZIgoogle.golang.org/genproto/go" + + "ogleapis/cloud/documentai/v1beta2;docume" + + "ntai\252\002\037Google.Cloud.DocumentAI.V1Beta2\312\002" + + "\037Google\\Cloud\\DocumentAI\\V1beta2\352\002\"Googl" + + "e::Cloud::DocumentAI::V1beta2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -541,7 +541,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_descriptor, new java.lang.String[] { - "TextSegments", + "TextSegments", "Content", }); internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_TextSegment_descriptor = internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_descriptor diff --git a/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto b/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto index bb3b58ba..b8af15b5 100644 --- a/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto +++ b/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto @@ -421,6 +421,10 @@ message Document { // The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text]. repeated TextSegment text_segments = 1; + + // Contains the content of the text span so that users do + // not have to look it up in the text_segments. + string content = 2; } // Referencing elements in [Document.pages][google.cloud.documentai.v1beta2.Document.pages]. diff --git a/proto-google-cloud-document-ai-v1beta3/pom.xml b/proto-google-cloud-document-ai-v1beta3/pom.xml index f25eabac..7d5bb827 100644 --- a/proto-google-cloud-document-ai-v1beta3/pom.xml +++ b/proto-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.15.1 + 0.16.0 proto-google-cloud-document-ai-v1beta3 PROTO library for proto-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 2.3.1 + 2.4.0 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index e3414cb0..ed8c57ff 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,13 +29,13 @@ com.google.cloud google-cloud-document-ai - 2.3.0 + 2.3.1 com.google.cloud google-cloud-storage - 2.4.5 + 2.5.1 junit diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index c14d7f6f..0d1b24a8 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,13 +28,13 @@ com.google.cloud google-cloud-document-ai - 2.3.0 + 2.3.1 com.google.cloud google-cloud-storage - 2.4.5 + 2.5.1 junit diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index d3963fba..4e40528d 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.4.0 + 25.0.0 pom import @@ -41,7 +41,7 @@ com.google.cloud google-cloud-document-ai - 2.3.0 + 2.3.1 diff --git a/versions.txt b/versions.txt index 34631e96..6a920a87 100644 --- a/versions.txt +++ b/versions.txt @@ -1,12 +1,12 @@ # Format: # module:released-version:current-version -google-cloud-document-ai:2.3.1:2.3.1 -grpc-google-cloud-document-ai-v1beta1:0.15.1:0.15.1 -grpc-google-cloud-document-ai-v1beta2:0.15.1:0.15.1 -grpc-google-cloud-document-ai-v1beta3:0.15.1:0.15.1 -grpc-google-cloud-document-ai-v1:2.3.1:2.3.1 -proto-google-cloud-document-ai-v1beta1:0.15.1:0.15.1 -proto-google-cloud-document-ai-v1beta2:0.15.1:0.15.1 -proto-google-cloud-document-ai-v1beta3:0.15.1:0.15.1 -proto-google-cloud-document-ai-v1:2.3.1:2.3.1 +google-cloud-document-ai:2.4.0:2.4.0 +grpc-google-cloud-document-ai-v1beta1:0.16.0:0.16.0 +grpc-google-cloud-document-ai-v1beta2:0.16.0:0.16.0 +grpc-google-cloud-document-ai-v1beta3:0.16.0:0.16.0 +grpc-google-cloud-document-ai-v1:2.4.0:2.4.0 +proto-google-cloud-document-ai-v1beta1:0.16.0:0.16.0 +proto-google-cloud-document-ai-v1beta2:0.16.0:0.16.0 +proto-google-cloud-document-ai-v1beta3:0.16.0:0.16.0 +proto-google-cloud-document-ai-v1:2.4.0:2.4.0