Skip to content

Commit

Permalink
feat: Added Training and Evaluation functions, request, responses and…
Browse files Browse the repository at this point in the history
… metadata to document_processor_service.proto (#463)

* feat: Added Training and Evaluation functions, request, responses and metadata to document_processor_service.proto
feat: Added evaluation.proto
feat: Added latest_evaluation to processor.proto
chore: removed deprecated flag from REPLACE in OperationType in document.proto

PiperOrigin-RevId: 511230520

Source-Link: googleapis/googleapis@c53bf8d

Source-Link: googleapis/googleapis-gen@5693cbc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTY5M2NiYzk4YjY0MTIwODVmZjZkM2FiYTcxOWI2OGUzMDdjNTM1NyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 21, 2023
1 parent 1ade69a commit ca22baf
Show file tree
Hide file tree
Showing 29 changed files with 7,650 additions and 1,381 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,18 @@
EnableProcessorMetadata,
EnableProcessorRequest,
EnableProcessorResponse,
EvaluateProcessorVersionMetadata,
EvaluateProcessorVersionRequest,
EvaluateProcessorVersionResponse,
FetchProcessorTypesRequest,
FetchProcessorTypesResponse,
GetEvaluationRequest,
GetProcessorRequest,
GetProcessorTypeRequest,
GetProcessorVersionRequest,
HumanReviewStatus,
ListEvaluationsRequest,
ListEvaluationsResponse,
ListProcessorsRequest,
ListProcessorsResponse,
ListProcessorTypesRequest,
Expand All @@ -72,11 +78,15 @@
SetDefaultProcessorVersionMetadata,
SetDefaultProcessorVersionRequest,
SetDefaultProcessorVersionResponse,
TrainProcessorVersionMetadata,
TrainProcessorVersionRequest,
TrainProcessorVersionResponse,
UndeployProcessorVersionMetadata,
UndeployProcessorVersionRequest,
UndeployProcessorVersionResponse,
)
from google.cloud.documentai_v1.types.document_schema import DocumentSchema
from google.cloud.documentai_v1.types.evaluation import Evaluation, EvaluationReference
from google.cloud.documentai_v1.types.geometry import (
BoundingPoly,
NormalizedVertex,
Expand Down Expand Up @@ -114,12 +124,18 @@
"EnableProcessorMetadata",
"EnableProcessorRequest",
"EnableProcessorResponse",
"EvaluateProcessorVersionMetadata",
"EvaluateProcessorVersionRequest",
"EvaluateProcessorVersionResponse",
"FetchProcessorTypesRequest",
"FetchProcessorTypesResponse",
"GetEvaluationRequest",
"GetProcessorRequest",
"GetProcessorTypeRequest",
"GetProcessorVersionRequest",
"HumanReviewStatus",
"ListEvaluationsRequest",
"ListEvaluationsResponse",
"ListProcessorsRequest",
"ListProcessorsResponse",
"ListProcessorTypesRequest",
Expand All @@ -134,10 +150,15 @@
"SetDefaultProcessorVersionMetadata",
"SetDefaultProcessorVersionRequest",
"SetDefaultProcessorVersionResponse",
"TrainProcessorVersionMetadata",
"TrainProcessorVersionRequest",
"TrainProcessorVersionResponse",
"UndeployProcessorVersionMetadata",
"UndeployProcessorVersionRequest",
"UndeployProcessorVersionResponse",
"DocumentSchema",
"Evaluation",
"EvaluationReference",
"BoundingPoly",
"NormalizedVertex",
"Vertex",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,18 @@
EnableProcessorMetadata,
EnableProcessorRequest,
EnableProcessorResponse,
EvaluateProcessorVersionMetadata,
EvaluateProcessorVersionRequest,
EvaluateProcessorVersionResponse,
FetchProcessorTypesRequest,
FetchProcessorTypesResponse,
GetEvaluationRequest,
GetProcessorRequest,
GetProcessorTypeRequest,
GetProcessorVersionRequest,
HumanReviewStatus,
ListEvaluationsRequest,
ListEvaluationsResponse,
ListProcessorsRequest,
ListProcessorsResponse,
ListProcessorTypesRequest,
Expand All @@ -70,11 +76,15 @@
SetDefaultProcessorVersionMetadata,
SetDefaultProcessorVersionRequest,
SetDefaultProcessorVersionResponse,
TrainProcessorVersionMetadata,
TrainProcessorVersionRequest,
TrainProcessorVersionResponse,
UndeployProcessorVersionMetadata,
UndeployProcessorVersionRequest,
UndeployProcessorVersionResponse,
)
from .types.document_schema import DocumentSchema
from .types.evaluation import Evaluation, EvaluationReference
from .types.geometry import BoundingPoly, NormalizedVertex, Vertex
from .types.operation_metadata import CommonOperationMetadata
from .types.processor import Processor, ProcessorVersion
Expand Down Expand Up @@ -107,15 +117,23 @@
"EnableProcessorMetadata",
"EnableProcessorRequest",
"EnableProcessorResponse",
"EvaluateProcessorVersionMetadata",
"EvaluateProcessorVersionRequest",
"EvaluateProcessorVersionResponse",
"Evaluation",
"EvaluationReference",
"FetchProcessorTypesRequest",
"FetchProcessorTypesResponse",
"GcsDocument",
"GcsDocuments",
"GcsPrefix",
"GetEvaluationRequest",
"GetProcessorRequest",
"GetProcessorTypeRequest",
"GetProcessorVersionRequest",
"HumanReviewStatus",
"ListEvaluationsRequest",
"ListEvaluationsResponse",
"ListProcessorTypesRequest",
"ListProcessorTypesResponse",
"ListProcessorVersionsRequest",
Expand All @@ -135,6 +153,9 @@
"SetDefaultProcessorVersionMetadata",
"SetDefaultProcessorVersionRequest",
"SetDefaultProcessorVersionResponse",
"TrainProcessorVersionMetadata",
"TrainProcessorVersionRequest",
"TrainProcessorVersionResponse",
"UndeployProcessorVersionMetadata",
"UndeployProcessorVersionRequest",
"UndeployProcessorVersionResponse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,21 @@
"enable_processor"
]
},
"EvaluateProcessorVersion": {
"methods": [
"evaluate_processor_version"
]
},
"FetchProcessorTypes": {
"methods": [
"fetch_processor_types"
]
},
"GetEvaluation": {
"methods": [
"get_evaluation"
]
},
"GetProcessor": {
"methods": [
"get_processor"
Expand All @@ -65,6 +75,11 @@
"get_processor_version"
]
},
"ListEvaluations": {
"methods": [
"list_evaluations"
]
},
"ListProcessorTypes": {
"methods": [
"list_processor_types"
Expand Down Expand Up @@ -95,6 +110,11 @@
"set_default_processor_version"
]
},
"TrainProcessorVersion": {
"methods": [
"train_processor_version"
]
},
"UndeployProcessorVersion": {
"methods": [
"undeploy_processor_version"
Expand Down Expand Up @@ -140,11 +160,21 @@
"enable_processor"
]
},
"EvaluateProcessorVersion": {
"methods": [
"evaluate_processor_version"
]
},
"FetchProcessorTypes": {
"methods": [
"fetch_processor_types"
]
},
"GetEvaluation": {
"methods": [
"get_evaluation"
]
},
"GetProcessor": {
"methods": [
"get_processor"
Expand All @@ -160,6 +190,11 @@
"get_processor_version"
]
},
"ListEvaluations": {
"methods": [
"list_evaluations"
]
},
"ListProcessorTypes": {
"methods": [
"list_processor_types"
Expand Down Expand Up @@ -190,6 +225,11 @@
"set_default_processor_version"
]
},
"TrainProcessorVersion": {
"methods": [
"train_processor_version"
]
},
"UndeployProcessorVersion": {
"methods": [
"undeploy_processor_version"
Expand Down Expand Up @@ -235,11 +275,21 @@
"enable_processor"
]
},
"EvaluateProcessorVersion": {
"methods": [
"evaluate_processor_version"
]
},
"FetchProcessorTypes": {
"methods": [
"fetch_processor_types"
]
},
"GetEvaluation": {
"methods": [
"get_evaluation"
]
},
"GetProcessor": {
"methods": [
"get_processor"
Expand All @@ -255,6 +305,11 @@
"get_processor_version"
]
},
"ListEvaluations": {
"methods": [
"list_evaluations"
]
},
"ListProcessorTypes": {
"methods": [
"list_processor_types"
Expand Down Expand Up @@ -285,6 +340,11 @@
"set_default_processor_version"
]
},
"TrainProcessorVersion": {
"methods": [
"train_processor_version"
]
},
"UndeployProcessorVersion": {
"methods": [
"undeploy_processor_version"
Expand Down
Loading

0 comments on commit ca22baf

Please sign in to comment.