From 10f22e2d45e5b75ca6e97135fdd9860df3c62fd1 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 17 Oct 2023 20:55:36 +0000 Subject: [PATCH] docs: minor clarification on fields related to page range PiperOrigin-RevId: 574226437 Source-Link: https://github.com/googleapis/googleapis/commit/1953fb15745b5a8773580f86820daf2b2d946ff6 Source-Link: https://github.com/googleapis/googleapis-gen/commit/422b8a4d69eda68a495f1853887a23690bfe68d0 Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiNDIyYjhhNGQ2OWVkYTY4YTQ5NWYxODUzODg3YTIzNjkwYmZlNjhkMCJ9 --- .../v1/DocumentProcessorServiceGrpc.java | 2995 -- .../v1beta3/DocumentProcessorServiceGrpc.java | 3150 -- .../v1beta3/DocumentServiceGrpc.java | 1095 - .../cloud/documentai/v1/BarcodeProto.java | 67 - .../v1/BatchProcessResponseOrBuilder.java | 24 - .../v1/DeleteProcessorRequestOrBuilder.java | 54 - ...eleteProcessorVersionRequestOrBuilder.java | 54 - ...eployProcessorVersionRequestOrBuilder.java | 54 - ...ployProcessorVersionResponseOrBuilder.java | 24 - .../v1/DisableProcessorRequestOrBuilder.java | 54 - .../v1/DisableProcessorResponseOrBuilder.java | 24 - .../v1/DocumentAiDocumentSchema.java | 149 - .../documentai/v1/DocumentAiEvaluation.java | 227 - .../documentai/v1/DocumentAiProcessor.java | 187 - .../v1/DocumentAiProcessorService.java | 1135 - .../v1/DocumentAiProcessorType.java | 107 - .../cloud/documentai/v1/DocumentIoProto.java | 234 - .../cloud/documentai/v1/DocumentProto.java | 867 - .../v1/EnableProcessorRequestOrBuilder.java | 54 - .../v1/EnableProcessorResponseOrBuilder.java | 24 - ...uateProcessorVersionResponseOrBuilder.java | 50 - .../FetchProcessorTypesRequestOrBuilder.java | 56 - .../documentai/v1/GcsPrefixOrBuilder.java | 50 - .../cloud/documentai/v1/GeometryProto.java | 95 - .../v1/GetEvaluationRequestOrBuilder.java | 58 - .../v1/GetProcessorRequestOrBuilder.java | 54 - .../v1/GetProcessorTypeRequestOrBuilder.java | 54 - .../GetProcessorVersionRequestOrBuilder.java | 54 - .../v1/NormalizedVertexOrBuilder.java | 51 - .../documentai/v1/OperationMetadataProto.java | 80 - ...aultProcessorVersionResponseOrBuilder.java | 24 - ...eployProcessorVersionRequestOrBuilder.java | 54 - ...ployProcessorVersionResponseOrBuilder.java | 24 - .../cloud/documentai/v1/VertexOrBuilder.java | 51 - .../documentai/v1beta1/DocumentAiProto.java | 335 - .../documentai/v1beta1/DocumentProto.java | 511 - .../v1beta1/GcsDestinationOrBuilder.java | 38 - .../v1beta1/GcsSourceOrBuilder.java | 38 - .../documentai/v1beta1/GeometryProto.java | 96 - .../v1beta1/NormalizedVertexOrBuilder.java | 51 - .../documentai/v1beta1/VertexOrBuilder.java | 51 - .../documentai/v1beta2/BarcodeProto.java | 68 - .../documentai/v1beta2/DocumentAiProto.java | 362 - .../documentai/v1beta2/DocumentProto.java | 916 - .../v1beta2/GcsDestinationOrBuilder.java | 38 - .../v1beta2/GcsSourceOrBuilder.java | 38 - .../documentai/v1beta2/GeometryProto.java | 96 - .../v1beta2/NormalizedVertexOrBuilder.java | 51 - .../documentai/v1beta2/VertexOrBuilder.java | 51 - .../documentai/v1beta3/BarcodeProto.java | 68 - ...BatchDeleteDocumentsResponseOrBuilder.java | 24 - .../BatchProcessResponseOrBuilder.java | 24 - .../documentai/v1beta3/DatasetProto.java | 271 - .../DeleteProcessorRequestOrBuilder.java | 54 - ...eleteProcessorVersionRequestOrBuilder.java | 54 - ...eployProcessorVersionRequestOrBuilder.java | 54 - ...ployProcessorVersionResponseOrBuilder.java | 24 - .../DisableProcessorRequestOrBuilder.java | 54 - .../DisableProcessorResponseOrBuilder.java | 24 - .../v1beta3/DocumentAiDocumentSchema.java | 222 - .../v1beta3/DocumentAiDocumentService.java | 504 - .../v1beta3/DocumentAiEvaluation.java | 239 - .../v1beta3/DocumentAiProcessor.java | 189 - .../v1beta3/DocumentAiProcessorService.java | 1291 - .../v1beta3/DocumentAiProcessorType.java | 110 - .../documentai/v1beta3/DocumentIoProto.java | 240 - .../DocumentOutputConfigOrBuilder.java | 69 - .../v1beta3/DocumentPageRangeOrBuilder.java | 51 - .../documentai/v1beta3/DocumentProto.java | 917 - .../EnableProcessorRequestOrBuilder.java | 54 - .../EnableProcessorResponseOrBuilder.java | 24 - .../v1beta3/EntityTypeMetadataOrBuilder.java | 38 - ...uateProcessorVersionResponseOrBuilder.java | 50 - .../FetchProcessorTypesRequestOrBuilder.java | 56 - .../v1beta3/GcsPrefixOrBuilder.java | 50 - .../documentai/v1beta3/GeometryProto.java | 96 - .../v1beta3/GetDocumentResponseOrBuilder.java | 40 - .../GetEvaluationRequestOrBuilder.java | 58 - .../v1beta3/GetProcessorRequestOrBuilder.java | 54 - .../GetProcessorTypeRequestOrBuilder.java | 54 - .../GetProcessorVersionRequestOrBuilder.java | 54 - .../ImportDocumentsMetadataOrBuilder.java | 210 - .../ImportDocumentsRequestOrBuilder.java | 132 - .../ImportDocumentsResponseOrBuilder.java | 24 - .../v1beta3/NormalizedVertexOrBuilder.java | 51 - .../v1beta3/OperationMetadataProto.java | 81 - ...aultProcessorVersionResponseOrBuilder.java | 24 - ...eployProcessorVersionRequestOrBuilder.java | 54 - ...ployProcessorVersionResponseOrBuilder.java | 24 - .../documentai/v1beta3/VertexOrBuilder.java | 51 - .../v1/DocumentProcessorServiceClient.java | 0 .../v1/DocumentProcessorServiceSettings.java | 1 + .../cloud/documentai/v1/gapic_metadata.json | 0 .../cloud/documentai/v1/package-info.java | 0 .../v1/stub/DocumentProcessorServiceStub.java | 0 .../DocumentProcessorServiceStubSettings.java | 0 ...cumentProcessorServiceCallableFactory.java | 0 .../GrpcDocumentProcessorServiceStub.java | 1 + ...cumentProcessorServiceCallableFactory.java | 0 .../HttpJsonDocumentProcessorServiceStub.java | 1 + .../reflect-config.json | 0 ...entProcessorServiceClientHttpJsonTest.java | 0 .../DocumentProcessorServiceClientTest.java | 0 .../v1/MockDocumentProcessorService.java | 0 .../v1/MockDocumentProcessorServiceImpl.java | 0 .../cloud/documentai/v1/MockLocations.java | 0 .../documentai/v1/MockLocationsImpl.java | 0 .../v1/DocumentProcessorServiceGrpc.java | 2207 ++ .../google/cloud/documentai/v1/Barcode.java | 449 +- .../cloud/documentai/v1/BarcodeOrBuilder.java | 45 +- .../cloud/documentai/v1/BarcodeProto.java | 54 + .../v1/BatchDocumentsInputConfig.java | 482 +- .../BatchDocumentsInputConfigOrBuilder.java | 34 +- .../documentai/v1/BatchProcessMetadata.java | 1679 +- .../v1/BatchProcessMetadataOrBuilder.java | 92 +- .../documentai/v1/BatchProcessRequest.java | 703 +- .../v1/BatchProcessRequestOrBuilder.java | 62 +- .../documentai/v1/BatchProcessResponse.java | 245 +- .../v1/BatchProcessResponseOrBuilder.java | 9 + .../cloud/documentai/v1/BoundingPoly.java | 541 +- .../documentai/v1/BoundingPolyOrBuilder.java | 51 +- .../v1/CommonOperationMetadata.java | 727 +- .../v1/CommonOperationMetadataOrBuilder.java | 58 +- .../documentai/v1/CreateProcessorRequest.java | 495 +- .../v1/CreateProcessorRequestOrBuilder.java | 55 +- .../v1/DeleteProcessorMetadata.java | 361 +- .../v1/DeleteProcessorMetadataOrBuilder.java | 26 +- .../documentai/v1/DeleteProcessorRequest.java | 350 +- .../v1/DeleteProcessorRequestOrBuilder.java | 29 + .../v1/DeleteProcessorVersionMetadata.java | 374 +- ...leteProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/DeleteProcessorVersionRequest.java | 360 +- ...eleteProcessorVersionRequestOrBuilder.java | 29 + .../v1/DeployProcessorVersionMetadata.java | 374 +- ...ployProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/DeployProcessorVersionRequest.java | 360 +- ...eployProcessorVersionRequestOrBuilder.java | 29 + .../v1/DeployProcessorVersionResponse.java | 258 +- ...ployProcessorVersionResponseOrBuilder.java | 9 + .../v1/DisableProcessorMetadata.java | 361 +- .../v1/DisableProcessorMetadataOrBuilder.java | 26 +- .../v1/DisableProcessorRequest.java | 350 +- .../v1/DisableProcessorRequestOrBuilder.java | 29 + .../v1/DisableProcessorResponse.java | 248 +- .../v1/DisableProcessorResponseOrBuilder.java | 9 + .../google/cloud/documentai/v1/Document.java | 30259 +++++--------- .../v1/DocumentAiDocumentSchema.java | 121 + .../documentai/v1/DocumentAiEvaluation.java | 181 + .../documentai/v1/DocumentAiProcessor.java | 150 + .../v1/DocumentAiProcessorService.java | 1050 + .../v1/DocumentAiProcessorType.java | 85 + .../cloud/documentai/v1/DocumentIoProto.java | 198 + .../documentai/v1/DocumentOrBuilder.java | 199 +- .../documentai/v1/DocumentOutputConfig.java | 1560 +- .../v1/DocumentOutputConfigOrBuilder.java | 38 +- .../cloud/documentai/v1/DocumentProto.java | 703 + .../cloud/documentai/v1/DocumentSchema.java | 3164 +- .../v1/DocumentSchemaOrBuilder.java | 59 +- .../v1/EnableProcessorMetadata.java | 361 +- .../v1/EnableProcessorMetadataOrBuilder.java | 26 +- .../documentai/v1/EnableProcessorRequest.java | 350 +- .../v1/EnableProcessorRequestOrBuilder.java | 29 + .../v1/EnableProcessorResponse.java | 248 +- .../v1/EnableProcessorResponseOrBuilder.java | 9 + .../v1/EvaluateProcessorVersionMetadata.java | 387 +- ...uateProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/EvaluateProcessorVersionRequest.java | 535 +- ...luateProcessorVersionRequestOrBuilder.java | 58 +- .../v1/EvaluateProcessorVersionResponse.java | 348 +- ...uateProcessorVersionResponseOrBuilder.java | 29 + .../cloud/documentai/v1/Evaluation.java | 3821 +- .../cloud/documentai/v1/EvaluationName.java | 0 .../documentai/v1/EvaluationOrBuilder.java | 126 +- .../documentai/v1/EvaluationReference.java | 606 +- .../v1/EvaluationReferenceOrBuilder.java | 52 +- .../v1/FetchProcessorTypesRequest.java | 350 +- .../FetchProcessorTypesRequestOrBuilder.java | 31 + .../v1/FetchProcessorTypesResponse.java | 388 +- .../FetchProcessorTypesResponseOrBuilder.java | 36 +- .../cloud/documentai/v1/GcsDocument.java | 384 +- .../documentai/v1/GcsDocumentOrBuilder.java | 36 +- .../cloud/documentai/v1/GcsDocuments.java | 398 +- .../documentai/v1/GcsDocumentsOrBuilder.java | 36 +- .../google/cloud/documentai/v1/GcsPrefix.java | 309 +- .../documentai/v1/GcsPrefixOrBuilder.java | 29 + .../cloud/documentai/v1/GeometryProto.java | 80 + .../documentai/v1/GetEvaluationRequest.java | 347 +- .../v1/GetEvaluationRequestOrBuilder.java | 33 + .../documentai/v1/GetProcessorRequest.java | 347 +- .../v1/GetProcessorRequestOrBuilder.java | 29 + .../v1/GetProcessorTypeRequest.java | 350 +- .../v1/GetProcessorTypeRequestOrBuilder.java | 29 + .../v1/GetProcessorVersionRequest.java | 350 +- .../GetProcessorVersionRequestOrBuilder.java | 29 + .../documentai/v1/HumanReviewConfigName.java | 0 .../documentai/v1/HumanReviewStatus.java | 535 +- .../v1/HumanReviewStatusOrBuilder.java | 42 +- .../documentai/v1/ListEvaluationsRequest.java | 453 +- .../v1/ListEvaluationsRequestOrBuilder.java | 47 +- .../v1/ListEvaluationsResponse.java | 483 +- .../v1/ListEvaluationsResponseOrBuilder.java | 45 +- .../v1/ListProcessorTypesRequest.java | 453 +- .../ListProcessorTypesRequestOrBuilder.java | 47 +- .../v1/ListProcessorTypesResponse.java | 460 +- .../ListProcessorTypesResponseOrBuilder.java | 45 +- .../v1/ListProcessorVersionsRequest.java | 453 +- ...ListProcessorVersionsRequestOrBuilder.java | 47 +- .../v1/ListProcessorVersionsResponse.java | 479 +- ...istProcessorVersionsResponseOrBuilder.java | 45 +- .../documentai/v1/ListProcessorsRequest.java | 450 +- .../v1/ListProcessorsRequestOrBuilder.java | 47 +- .../documentai/v1/ListProcessorsResponse.java | 486 +- .../v1/ListProcessorsResponseOrBuilder.java | 45 +- .../cloud/documentai/v1/LocationName.java | 0 .../cloud/documentai/v1/NormalizedVertex.java | 318 +- .../v1/NormalizedVertexOrBuilder.java | 29 + .../google/cloud/documentai/v1/OcrConfig.java | 1460 +- .../documentai/v1/OcrConfigOrBuilder.java | 74 +- .../documentai/v1/OperationMetadataProto.java | 65 + .../cloud/documentai/v1/ProcessOptions.java | 1051 +- .../v1/ProcessOptionsOrBuilder.java | 61 +- .../cloud/documentai/v1/ProcessRequest.java | 871 +- .../v1/ProcessRequestOrBuilder.java | 78 +- .../cloud/documentai/v1/ProcessResponse.java | 442 +- .../v1/ProcessResponseOrBuilder.java | 34 +- .../google/cloud/documentai/v1/Processor.java | 1272 +- .../cloud/documentai/v1/ProcessorName.java | 0 .../documentai/v1/ProcessorOrBuilder.java | 144 +- .../cloud/documentai/v1/ProcessorType.java | 1236 +- .../documentai/v1/ProcessorTypeName.java | 0 .../documentai/v1/ProcessorTypeOrBuilder.java | 101 +- .../cloud/documentai/v1/ProcessorVersion.java | 1665 +- .../documentai/v1/ProcessorVersionAlias.java | 391 +- .../v1/ProcessorVersionAliasOrBuilder.java | 36 +- .../documentai/v1/ProcessorVersionName.java | 0 .../v1/ProcessorVersionOrBuilder.java | 107 +- .../cloud/documentai/v1/RawDocument.java | 417 +- .../documentai/v1/RawDocumentOrBuilder.java | 39 +- .../v1/ReviewDocumentOperationMetadata.java | 453 +- ...iewDocumentOperationMetadataOrBuilder.java | 35 +- .../documentai/v1/ReviewDocumentRequest.java | 733 +- .../v1/ReviewDocumentRequestOrBuilder.java | 60 +- .../documentai/v1/ReviewDocumentResponse.java | 528 +- .../v1/ReviewDocumentResponseOrBuilder.java | 42 +- .../SetDefaultProcessorVersionMetadata.java | 395 +- ...aultProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/SetDefaultProcessorVersionRequest.java | 476 +- ...faultProcessorVersionRequestOrBuilder.java | 52 +- .../SetDefaultProcessorVersionResponse.java | 279 +- ...aultProcessorVersionResponseOrBuilder.java | 9 + .../v1/TrainProcessorVersionMetadata.java | 1501 +- ...rainProcessorVersionMetadataOrBuilder.java | 78 +- .../v1/TrainProcessorVersionRequest.java | 2265 +- ...TrainProcessorVersionRequestOrBuilder.java | 137 +- .../v1/TrainProcessorVersionResponse.java | 332 +- ...rainProcessorVersionResponseOrBuilder.java | 27 +- .../v1/UndeployProcessorVersionMetadata.java | 387 +- ...ployProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/UndeployProcessorVersionRequest.java | 373 +- ...eployProcessorVersionRequestOrBuilder.java | 29 + .../v1/UndeployProcessorVersionResponse.java | 271 +- ...ployProcessorVersionResponseOrBuilder.java | 9 + .../google/cloud/documentai/v1/Vertex.java | 301 +- .../cloud/documentai/v1/VertexOrBuilder.java | 29 + .../google/cloud/documentai/v1/barcode.proto | 0 .../google/cloud/documentai/v1/document.proto | 0 .../cloud/documentai/v1/document_io.proto | 0 .../v1/document_processor_service.proto | 1 + .../cloud/documentai/v1/document_schema.proto | 0 .../cloud/documentai/v1/evaluation.proto | 0 .../google/cloud/documentai/v1/geometry.proto | 0 .../documentai/v1/operation_metadata.proto | 0 .../cloud/documentai/v1/processor.proto | 0 .../cloud/documentai/v1/processor_type.proto | 0 .../AsyncBatchProcessDocuments.java | 0 .../AsyncBatchProcessDocumentsLRO.java | 0 .../SyncBatchProcessDocuments.java | 0 ...SyncBatchProcessDocumentsResourcename.java | 0 .../SyncBatchProcessDocumentsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createprocessor/AsyncCreateProcessor.java | 0 .../createprocessor/SyncCreateProcessor.java | 0 ...cCreateProcessorLocationnameProcessor.java | 0 .../SyncCreateProcessorStringProcessor.java | 0 .../deleteprocessor/AsyncDeleteProcessor.java | 0 .../AsyncDeleteProcessorLRO.java | 0 .../deleteprocessor/SyncDeleteProcessor.java | 0 .../SyncDeleteProcessorProcessorname.java | 0 .../SyncDeleteProcessorString.java | 0 .../AsyncDeleteProcessorVersion.java | 0 .../AsyncDeleteProcessorVersionLRO.java | 0 .../SyncDeleteProcessorVersion.java | 0 ...eProcessorVersionProcessorversionname.java | 0 .../SyncDeleteProcessorVersionString.java | 0 .../AsyncDeployProcessorVersion.java | 0 .../AsyncDeployProcessorVersionLRO.java | 0 .../SyncDeployProcessorVersion.java | 0 ...yProcessorVersionProcessorversionname.java | 0 .../SyncDeployProcessorVersionString.java | 0 .../AsyncDisableProcessor.java | 0 .../AsyncDisableProcessorLRO.java | 0 .../SyncDisableProcessor.java | 0 .../enableprocessor/AsyncEnableProcessor.java | 0 .../AsyncEnableProcessorLRO.java | 0 .../enableprocessor/SyncEnableProcessor.java | 0 .../AsyncEvaluateProcessorVersion.java | 0 .../AsyncEvaluateProcessorVersionLRO.java | 0 .../SyncEvaluateProcessorVersion.java | 0 ...eProcessorVersionProcessorversionname.java | 0 .../SyncEvaluateProcessorVersionString.java | 0 .../AsyncFetchProcessorTypes.java | 0 .../SyncFetchProcessorTypes.java | 0 .../SyncFetchProcessorTypesLocationname.java | 0 .../SyncFetchProcessorTypesString.java | 0 .../getevaluation/AsyncGetEvaluation.java | 0 .../getevaluation/SyncGetEvaluation.java | 0 .../SyncGetEvaluationEvaluationname.java | 0 .../SyncGetEvaluationString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../getprocessor/AsyncGetProcessor.java | 0 .../getprocessor/SyncGetProcessor.java | 0 .../SyncGetProcessorProcessorname.java | 0 .../getprocessor/SyncGetProcessorString.java | 0 .../AsyncGetProcessorType.java | 0 .../SyncGetProcessorType.java | 0 ...SyncGetProcessorTypeProcessortypename.java | 0 .../SyncGetProcessorTypeString.java | 0 .../AsyncGetProcessorVersion.java | 0 .../SyncGetProcessorVersion.java | 0 ...tProcessorVersionProcessorversionname.java | 0 .../SyncGetProcessorVersionString.java | 0 .../listevaluations/AsyncListEvaluations.java | 0 .../AsyncListEvaluationsPaged.java | 0 .../listevaluations/SyncListEvaluations.java | 0 ...ncListEvaluationsProcessorversionname.java | 0 .../SyncListEvaluationsString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../listprocessors/AsyncListProcessors.java | 0 .../AsyncListProcessorsPaged.java | 0 .../listprocessors/SyncListProcessors.java | 0 .../SyncListProcessorsLocationname.java | 0 .../SyncListProcessorsString.java | 0 .../AsyncListProcessorTypes.java | 0 .../AsyncListProcessorTypesPaged.java | 0 .../SyncListProcessorTypes.java | 0 .../SyncListProcessorTypesLocationname.java | 0 .../SyncListProcessorTypesString.java | 0 .../AsyncListProcessorVersions.java | 0 .../AsyncListProcessorVersionsPaged.java | 0 .../SyncListProcessorVersions.java | 0 ...yncListProcessorVersionsProcessorname.java | 0 .../SyncListProcessorVersionsString.java | 0 .../processdocument/AsyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../SyncProcessDocumentResourcename.java | 0 .../SyncProcessDocumentString.java | 0 .../reviewdocument/AsyncReviewDocument.java | 0 .../AsyncReviewDocumentLRO.java | 0 .../reviewdocument/SyncReviewDocument.java | 0 ...ncReviewDocumentHumanreviewconfigname.java | 0 .../SyncReviewDocumentString.java | 0 .../AsyncSetDefaultProcessorVersion.java | 0 .../AsyncSetDefaultProcessorVersionLRO.java | 0 .../SyncSetDefaultProcessorVersion.java | 0 .../AsyncTrainProcessorVersion.java | 0 .../AsyncTrainProcessorVersionLRO.java | 0 .../SyncTrainProcessorVersion.java | 0 ...rVersionProcessornameProcessorversion.java | 0 ...rocessorVersionStringProcessorversion.java | 0 .../AsyncUndeployProcessorVersion.java | 0 .../AsyncUndeployProcessorVersionLRO.java | 0 .../SyncUndeployProcessorVersion.java | 0 ...yProcessorVersionProcessorversionname.java | 0 .../SyncUndeployProcessorVersionString.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../DocumentUnderstandingServiceClient.java | 0 .../DocumentUnderstandingServiceSettings.java | 1 + .../documentai/v1beta1/gapic_metadata.json | 0 .../documentai/v1beta1/package-info.java | 0 .../DocumentUnderstandingServiceStub.java | 0 ...umentUnderstandingServiceStubSettings.java | 0 ...ntUnderstandingServiceCallableFactory.java | 0 .../GrpcDocumentUnderstandingServiceStub.java | 1 + .../reflect-config.json | 0 ...ocumentUnderstandingServiceClientTest.java | 0 .../MockDocumentUnderstandingService.java | 0 .../MockDocumentUnderstandingServiceImpl.java | 0 .../DocumentUnderstandingServiceGrpc.java | 212 +- .../v1beta1/BatchProcessDocumentsRequest.java | 602 +- ...BatchProcessDocumentsRequestOrBuilder.java | 62 +- .../BatchProcessDocumentsResponse.java | 453 +- ...atchProcessDocumentsResponseOrBuilder.java | 33 +- .../documentai/v1beta1/BoundingPoly.java | 646 +- .../v1beta1/BoundingPolyOrBuilder.java | 66 +- .../cloud/documentai/v1beta1/Document.java | 17246 +++----- .../documentai/v1beta1/DocumentAiProto.java | 300 + .../documentai/v1beta1/DocumentOrBuilder.java | 153 +- .../documentai/v1beta1/DocumentProto.java | 419 + .../v1beta1/EntityExtractionParams.java | 356 +- .../EntityExtractionParamsOrBuilder.java | 30 +- .../v1beta1/FormExtractionParams.java | 591 +- .../FormExtractionParamsOrBuilder.java | 60 +- .../documentai/v1beta1/GcsDestination.java | 305 +- .../v1beta1/GcsDestinationOrBuilder.java | 21 + .../cloud/documentai/v1beta1/GcsSource.java | 298 +- .../v1beta1/GcsSourceOrBuilder.java | 21 + .../documentai/v1beta1/GeometryProto.java | 81 + .../cloud/documentai/v1beta1/InputConfig.java | 443 +- .../v1beta1/InputConfigOrBuilder.java | 35 +- .../documentai/v1beta1/KeyValuePairHint.java | 427 +- .../v1beta1/KeyValuePairHintOrBuilder.java | 45 +- .../documentai/v1beta1/NormalizedVertex.java | 322 +- .../v1beta1/NormalizedVertexOrBuilder.java | 29 + .../cloud/documentai/v1beta1/OcrParams.java | 348 +- .../v1beta1/OcrParamsOrBuilder.java | 36 +- .../documentai/v1beta1/OperationMetadata.java | 664 +- .../v1beta1/OperationMetadataOrBuilder.java | 49 +- .../documentai/v1beta1/OutputConfig.java | 413 +- .../v1beta1/OutputConfigOrBuilder.java | 29 +- .../v1beta1/ProcessDocumentRequest.java | 1149 +- .../ProcessDocumentRequestOrBuilder.java | 126 +- .../v1beta1/ProcessDocumentResponse.java | 445 +- .../ProcessDocumentResponseOrBuilder.java | 34 +- .../documentai/v1beta1/TableBoundHint.java | 377 +- .../v1beta1/TableBoundHintOrBuilder.java | 29 +- .../v1beta1/TableExtractionParams.java | 703 +- .../TableExtractionParamsOrBuilder.java | 83 +- .../cloud/documentai/v1beta1/Vertex.java | 305 +- .../documentai/v1beta1/VertexOrBuilder.java | 29 + .../cloud/documentai/v1beta1/document.proto | 0 .../v1beta1/document_understanding.proto | 0 .../cloud/documentai/v1beta1/geometry.proto | 0 .../AsyncBatchProcessDocuments.java | 0 .../AsyncBatchProcessDocumentsLRO.java | 0 .../SyncBatchProcessDocuments.java | 0 ...ssDocumentsListprocessdocumentrequest.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../SyncBatchProcessDocuments.java | 0 .../SyncBatchProcessDocuments.java | 0 .../DocumentUnderstandingServiceClient.java | 0 .../DocumentUnderstandingServiceSettings.java | 1 + .../documentai/v1beta2/gapic_metadata.json | 0 .../documentai/v1beta2/package-info.java | 0 .../DocumentUnderstandingServiceStub.java | 0 ...umentUnderstandingServiceStubSettings.java | 0 ...ntUnderstandingServiceCallableFactory.java | 0 .../GrpcDocumentUnderstandingServiceStub.java | 1 + .../reflect-config.json | 0 ...ocumentUnderstandingServiceClientTest.java | 0 .../MockDocumentUnderstandingService.java | 0 .../MockDocumentUnderstandingServiceImpl.java | 0 .../documentai/v1beta2/MockLocations.java | 0 .../documentai/v1beta2/MockLocationsImpl.java | 0 .../DocumentUnderstandingServiceGrpc.java | 321 +- .../documentai/v1beta2/AutoMlParams.java | 319 +- .../v1beta2/AutoMlParamsOrBuilder.java | 27 +- .../cloud/documentai/v1beta2/Barcode.java | 458 +- .../documentai/v1beta2/BarcodeOrBuilder.java | 45 +- .../documentai/v1beta2/BarcodeProto.java | 55 + .../v1beta2/BatchProcessDocumentsRequest.java | 602 +- ...BatchProcessDocumentsRequestOrBuilder.java | 62 +- .../BatchProcessDocumentsResponse.java | 453 +- ...atchProcessDocumentsResponseOrBuilder.java | 33 +- .../documentai/v1beta2/BoundingPoly.java | 646 +- .../v1beta2/BoundingPolyOrBuilder.java | 66 +- .../cloud/documentai/v1beta2/Document.java | 32632 ++++++---------- .../documentai/v1beta2/DocumentAiProto.java | 324 + .../documentai/v1beta2/DocumentOrBuilder.java | 233 +- .../documentai/v1beta2/DocumentProto.java | 728 + .../v1beta2/EntityExtractionParams.java | 356 +- .../EntityExtractionParamsOrBuilder.java | 30 +- .../v1beta2/FormExtractionParams.java | 591 +- .../FormExtractionParamsOrBuilder.java | 60 +- .../documentai/v1beta2/GcsDestination.java | 305 +- .../v1beta2/GcsDestinationOrBuilder.java | 21 + .../cloud/documentai/v1beta2/GcsSource.java | 298 +- .../v1beta2/GcsSourceOrBuilder.java | 21 + .../documentai/v1beta2/GeometryProto.java | 81 + .../cloud/documentai/v1beta2/InputConfig.java | 500 +- .../v1beta2/InputConfigOrBuilder.java | 41 +- .../documentai/v1beta2/KeyValuePairHint.java | 427 +- .../v1beta2/KeyValuePairHintOrBuilder.java | 45 +- .../documentai/v1beta2/NormalizedVertex.java | 322 +- .../v1beta2/NormalizedVertexOrBuilder.java | 29 + .../cloud/documentai/v1beta2/OcrParams.java | 348 +- .../v1beta2/OcrParamsOrBuilder.java | 36 +- .../documentai/v1beta2/OperationMetadata.java | 664 +- .../v1beta2/OperationMetadataOrBuilder.java | 49 +- .../documentai/v1beta2/OutputConfig.java | 413 +- .../v1beta2/OutputConfigOrBuilder.java | 29 +- .../v1beta2/ProcessDocumentRequest.java | 1269 +- .../ProcessDocumentRequestOrBuilder.java | 131 +- .../v1beta2/ProcessDocumentResponse.java | 445 +- .../ProcessDocumentResponseOrBuilder.java | 34 +- .../documentai/v1beta2/TableBoundHint.java | 377 +- .../v1beta2/TableBoundHintOrBuilder.java | 29 +- .../v1beta2/TableExtractionParams.java | 703 +- .../TableExtractionParamsOrBuilder.java | 83 +- .../cloud/documentai/v1beta2/Vertex.java | 305 +- .../documentai/v1beta2/VertexOrBuilder.java | 29 + .../cloud/documentai/v1beta2/barcode.proto | 0 .../cloud/documentai/v1beta2/document.proto | 0 .../v1beta2/document_understanding.proto | 0 .../cloud/documentai/v1beta2/geometry.proto | 0 .../AsyncBatchProcessDocuments.java | 0 .../AsyncBatchProcessDocumentsLRO.java | 0 .../SyncBatchProcessDocuments.java | 0 ...ssDocumentsListprocessdocumentrequest.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../processdocument/AsyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../DocumentProcessorServiceClient.java | 0 .../DocumentProcessorServiceSettings.java | 1 + .../v1beta3/DocumentServiceClient.java | 0 .../v1beta3/DocumentServiceSettings.java | 1 + .../documentai/v1beta3/gapic_metadata.json | 0 .../documentai/v1beta3/package-info.java | 0 .../stub/DocumentProcessorServiceStub.java | 0 .../DocumentProcessorServiceStubSettings.java | 0 .../v1beta3/stub/DocumentServiceStub.java | 0 .../stub/DocumentServiceStubSettings.java | 0 ...cumentProcessorServiceCallableFactory.java | 0 .../GrpcDocumentProcessorServiceStub.java | 1 + .../GrpcDocumentServiceCallableFactory.java | 0 .../v1beta3/stub/GrpcDocumentServiceStub.java | 1 + ...cumentProcessorServiceCallableFactory.java | 0 .../HttpJsonDocumentProcessorServiceStub.java | 1 + ...ttpJsonDocumentServiceCallableFactory.java | 0 .../stub/HttpJsonDocumentServiceStub.java | 1 + .../reflect-config.json | 0 ...entProcessorServiceClientHttpJsonTest.java | 0 .../DocumentProcessorServiceClientTest.java | 0 .../DocumentServiceClientHttpJsonTest.java | 0 .../v1beta3/DocumentServiceClientTest.java | 0 .../v1beta3/MockDocumentProcessorService.java | 0 .../MockDocumentProcessorServiceImpl.java | 0 .../v1beta3/MockDocumentService.java | 0 .../v1beta3/MockDocumentServiceImpl.java | 0 .../documentai/v1beta3/MockLocations.java | 0 .../documentai/v1beta3/MockLocationsImpl.java | 0 .../v1beta3/DocumentProcessorServiceGrpc.java | 2293 ++ .../v1beta3/DocumentServiceGrpc.java | 839 + .../cloud/documentai/v1beta3/Barcode.java | 458 +- .../documentai/v1beta3/BarcodeOrBuilder.java | 45 +- .../documentai/v1beta3/BarcodeProto.java | 55 + .../v1beta3/BatchDatasetDocuments.java | 1210 +- .../BatchDatasetDocumentsOrBuilder.java | 56 +- .../v1beta3/BatchDeleteDocumentsMetadata.java | 1365 +- ...BatchDeleteDocumentsMetadataOrBuilder.java | 79 +- .../v1beta3/BatchDeleteDocumentsRequest.java | 509 +- .../BatchDeleteDocumentsRequestOrBuilder.java | 47 +- .../v1beta3/BatchDeleteDocumentsResponse.java | 268 +- ...BatchDeleteDocumentsResponseOrBuilder.java | 9 + .../v1beta3/BatchDocumentsInputConfig.java | 489 +- .../BatchDocumentsInputConfigOrBuilder.java | 34 +- .../v1beta3/BatchProcessMetadata.java | 1856 +- .../BatchProcessMetadataOrBuilder.java | 93 +- .../v1beta3/BatchProcessRequest.java | 2178 +- .../v1beta3/BatchProcessRequestOrBuilder.java | 148 +- .../v1beta3/BatchProcessResponse.java | 248 +- .../BatchProcessResponseOrBuilder.java | 9 + .../documentai/v1beta3/BoundingPoly.java | 646 +- .../v1beta3/BoundingPolyOrBuilder.java | 66 +- .../v1beta3/CommonOperationMetadata.java | 730 +- .../CommonOperationMetadataOrBuilder.java | 58 +- .../v1beta3/CreateProcessorRequest.java | 492 +- .../CreateProcessorRequestOrBuilder.java | 55 +- .../cloud/documentai/v1beta3/Dataset.java | 2698 +- .../cloud/documentai/v1beta3/DatasetName.java | 0 .../documentai/v1beta3/DatasetOrBuilder.java | 133 +- .../documentai/v1beta3/DatasetProto.java | 237 + .../documentai/v1beta3/DatasetSchema.java | 466 +- .../documentai/v1beta3/DatasetSchemaName.java | 0 .../v1beta3/DatasetSchemaOrBuilder.java | 47 +- .../documentai/v1beta3/DatasetSplitType.java | 93 +- .../v1beta3/DeleteProcessorMetadata.java | 365 +- .../DeleteProcessorMetadataOrBuilder.java | 26 +- .../v1beta3/DeleteProcessorRequest.java | 350 +- .../DeleteProcessorRequestOrBuilder.java | 29 + .../DeleteProcessorVersionMetadata.java | 403 +- ...leteProcessorVersionMetadataOrBuilder.java | 26 +- .../DeleteProcessorVersionRequest.java | 381 +- ...eleteProcessorVersionRequestOrBuilder.java | 29 + .../DeployProcessorVersionMetadata.java | 403 +- ...ployProcessorVersionMetadataOrBuilder.java | 26 +- .../DeployProcessorVersionRequest.java | 381 +- ...eployProcessorVersionRequestOrBuilder.java | 29 + .../DeployProcessorVersionResponse.java | 283 +- ...ployProcessorVersionResponseOrBuilder.java | 9 + .../v1beta3/DisableProcessorMetadata.java | 375 +- .../DisableProcessorMetadataOrBuilder.java | 26 +- .../v1beta3/DisableProcessorRequest.java | 350 +- .../DisableProcessorRequestOrBuilder.java | 29 + .../v1beta3/DisableProcessorResponse.java | 255 +- .../DisableProcessorResponseOrBuilder.java | 9 + .../cloud/documentai/v1beta3/Document.java | 31987 +++++---------- .../v1beta3/DocumentAiDocumentSchema.java | 184 + .../v1beta3/DocumentAiDocumentService.java | 457 + .../v1beta3/DocumentAiEvaluation.java | 183 + .../v1beta3/DocumentAiProcessor.java | 152 + .../v1beta3/DocumentAiProcessorService.java | 1177 + .../v1beta3/DocumentAiProcessorType.java | 86 + .../cloud/documentai/v1beta3/DocumentId.java | 1550 +- .../v1beta3/DocumentIdOrBuilder.java | 66 +- .../documentai/v1beta3/DocumentIoProto.java | 200 + .../v1beta3/DocumentLabelingState.java | 88 +- .../documentai/v1beta3/DocumentMetadata.java | 581 +- .../v1beta3/DocumentMetadataOrBuilder.java | 50 +- .../documentai/v1beta3/DocumentOrBuilder.java | 215 +- .../v1beta3/DocumentOutputConfig.java | 1672 +- .../DocumentOutputConfigOrBuilder.java | 38 + .../documentai/v1beta3/DocumentPageRange.java | 315 +- .../v1beta3/DocumentPageRangeOrBuilder.java | 29 + .../documentai/v1beta3/DocumentProto.java | 732 + .../documentai/v1beta3/DocumentSchema.java | 3713 +- .../v1beta3/DocumentSchemaOrBuilder.java | 73 +- .../v1beta3/EnableProcessorMetadata.java | 365 +- .../EnableProcessorMetadataOrBuilder.java | 26 +- .../v1beta3/EnableProcessorRequest.java | 350 +- .../EnableProcessorRequestOrBuilder.java | 29 + .../v1beta3/EnableProcessorResponse.java | 248 +- .../EnableProcessorResponseOrBuilder.java | 9 + .../v1beta3/EntityTypeMetadata.java | 287 +- .../v1beta3/EntityTypeMetadataOrBuilder.java | 19 + .../EvaluateProcessorVersionMetadata.java | 403 +- ...uateProcessorVersionMetadataOrBuilder.java | 26 +- .../EvaluateProcessorVersionRequest.java | 551 +- ...luateProcessorVersionRequestOrBuilder.java | 58 +- .../EvaluateProcessorVersionResponse.java | 360 +- ...uateProcessorVersionResponseOrBuilder.java | 29 + .../cloud/documentai/v1beta3/Evaluation.java | 3900 +- .../documentai/v1beta3/EvaluationName.java | 0 .../v1beta3/EvaluationOrBuilder.java | 135 +- .../v1beta3/EvaluationReference.java | 621 +- .../v1beta3/EvaluationReferenceOrBuilder.java | 55 +- .../v1beta3/FetchProcessorTypesRequest.java | 370 +- .../FetchProcessorTypesRequestOrBuilder.java | 31 + .../v1beta3/FetchProcessorTypesResponse.java | 417 +- .../FetchProcessorTypesResponseOrBuilder.java | 36 +- .../v1beta3/FieldExtractionMetadata.java | 352 +- .../FieldExtractionMetadataOrBuilder.java | 26 +- .../cloud/documentai/v1beta3/GcsDocument.java | 387 +- .../v1beta3/GcsDocumentOrBuilder.java | 36 +- .../documentai/v1beta3/GcsDocuments.java | 406 +- .../v1beta3/GcsDocumentsOrBuilder.java | 36 +- .../cloud/documentai/v1beta3/GcsPrefix.java | 312 +- .../v1beta3/GcsPrefixOrBuilder.java | 29 + .../documentai/v1beta3/GeometryProto.java | 81 + .../v1beta3/GetDatasetSchemaRequest.java | 384 +- .../GetDatasetSchemaRequestOrBuilder.java | 38 +- .../v1beta3/GetDocumentRequest.java | 674 +- .../v1beta3/GetDocumentRequestOrBuilder.java | 71 +- .../v1beta3/GetDocumentResponse.java | 359 +- .../v1beta3/GetDocumentResponseOrBuilder.java | 24 + .../v1beta3/GetEvaluationRequest.java | 350 +- .../GetEvaluationRequestOrBuilder.java | 33 + .../v1beta3/GetProcessorRequest.java | 350 +- .../v1beta3/GetProcessorRequestOrBuilder.java | 29 + .../v1beta3/GetProcessorTypeRequest.java | 350 +- .../GetProcessorTypeRequestOrBuilder.java | 29 + .../v1beta3/GetProcessorVersionRequest.java | 370 +- .../GetProcessorVersionRequestOrBuilder.java | 29 + .../v1beta3/HumanReviewConfigName.java | 0 .../documentai/v1beta3/HumanReviewStatus.java | 544 +- .../v1beta3/HumanReviewStatusOrBuilder.java | 42 +- .../v1beta3/ImportDocumentsMetadata.java | 2233 +- .../ImportDocumentsMetadataOrBuilder.java | 134 + .../v1beta3/ImportDocumentsRequest.java | 2047 +- .../ImportDocumentsRequestOrBuilder.java | 82 + .../v1beta3/ImportDocumentsResponse.java | 248 +- .../ImportDocumentsResponseOrBuilder.java | 9 + .../ImportProcessorVersionMetadata.java | 403 +- ...portProcessorVersionMetadataOrBuilder.java | 26 +- .../ImportProcessorVersionRequest.java | 1297 +- ...mportProcessorVersionRequestOrBuilder.java | 74 +- .../ImportProcessorVersionResponse.java | 360 +- ...portProcessorVersionResponseOrBuilder.java | 27 +- .../v1beta3/ListDocumentsRequest.java | 596 +- .../ListDocumentsRequestOrBuilder.java | 62 +- .../v1beta3/ListDocumentsResponse.java | 567 +- .../ListDocumentsResponseOrBuilder.java | 45 +- .../v1beta3/ListEvaluationsRequest.java | 453 +- .../ListEvaluationsRequestOrBuilder.java | 47 +- .../v1beta3/ListEvaluationsResponse.java | 477 +- .../ListEvaluationsResponseOrBuilder.java | 45 +- .../v1beta3/ListProcessorTypesRequest.java | 463 +- .../ListProcessorTypesRequestOrBuilder.java | 47 +- .../v1beta3/ListProcessorTypesResponse.java | 486 +- .../ListProcessorTypesResponseOrBuilder.java | 45 +- .../v1beta3/ListProcessorVersionsRequest.java | 476 +- ...ListProcessorVersionsRequestOrBuilder.java | 47 +- .../ListProcessorVersionsResponse.java | 571 +- ...istProcessorVersionsResponseOrBuilder.java | 42 +- .../v1beta3/ListProcessorsRequest.java | 453 +- .../ListProcessorsRequestOrBuilder.java | 47 +- .../v1beta3/ListProcessorsResponse.java | 480 +- .../ListProcessorsResponseOrBuilder.java | 45 +- .../documentai/v1beta3/LocationName.java | 0 .../documentai/v1beta3/NormalizedVertex.java | 322 +- .../v1beta3/NormalizedVertexOrBuilder.java | 29 + .../cloud/documentai/v1beta3/OcrConfig.java | 1517 +- .../v1beta3/OcrConfigOrBuilder.java | 77 +- .../v1beta3/OperationMetadataProto.java | 66 + .../documentai/v1beta3/ProcessOptions.java | 1271 +- .../v1beta3/ProcessOptionsOrBuilder.java | 84 +- .../documentai/v1beta3/ProcessRequest.java | 1024 +- .../v1beta3/ProcessRequestOrBuilder.java | 103 +- .../documentai/v1beta3/ProcessResponse.java | 568 +- .../v1beta3/ProcessResponseOrBuilder.java | 55 +- .../cloud/documentai/v1beta3/Processor.java | 1302 +- .../documentai/v1beta3/ProcessorName.java | 0 .../v1beta3/ProcessorOrBuilder.java | 148 +- .../documentai/v1beta3/ProcessorType.java | 1274 +- .../documentai/v1beta3/ProcessorTypeName.java | 0 .../v1beta3/ProcessorTypeOrBuilder.java | 110 +- .../documentai/v1beta3/ProcessorVersion.java | 1709 +- .../v1beta3/ProcessorVersionAlias.java | 394 +- .../ProcessorVersionAliasOrBuilder.java | 36 +- .../v1beta3/ProcessorVersionName.java | 0 .../v1beta3/ProcessorVersionOrBuilder.java | 107 +- .../documentai/v1beta3/PropertyMetadata.java | 439 +- .../v1beta3/PropertyMetadataOrBuilder.java | 41 +- .../cloud/documentai/v1beta3/RawDocument.java | 420 +- .../v1beta3/RawDocumentOrBuilder.java | 39 +- .../ReviewDocumentOperationMetadata.java | 898 +- ...iewDocumentOperationMetadataOrBuilder.java | 66 +- .../v1beta3/ReviewDocumentRequest.java | 885 +- .../ReviewDocumentRequestOrBuilder.java | 85 +- .../v1beta3/ReviewDocumentResponse.java | 531 +- .../ReviewDocumentResponseOrBuilder.java | 42 +- .../cloud/documentai/v1beta3/RevisionRef.java | 620 +- .../v1beta3/RevisionRefOrBuilder.java | 51 +- .../SetDefaultProcessorVersionMetadata.java | 406 +- ...aultProcessorVersionMetadataOrBuilder.java | 26 +- .../SetDefaultProcessorVersionRequest.java | 488 +- ...faultProcessorVersionRequestOrBuilder.java | 52 +- .../SetDefaultProcessorVersionResponse.java | 286 +- ...aultProcessorVersionResponseOrBuilder.java | 9 + .../documentai/v1beta3/SummaryOptions.java | 522 +- .../v1beta3/SummaryOptionsOrBuilder.java | 30 +- .../TrainProcessorVersionMetadata.java | 1561 +- ...rainProcessorVersionMetadataOrBuilder.java | 78 +- .../v1beta3/TrainProcessorVersionRequest.java | 2413 +- ...TrainProcessorVersionRequestOrBuilder.java | 137 +- .../TrainProcessorVersionResponse.java | 353 +- ...rainProcessorVersionResponseOrBuilder.java | 27 +- .../UndeployProcessorVersionMetadata.java | 403 +- ...ployProcessorVersionMetadataOrBuilder.java | 26 +- .../UndeployProcessorVersionRequest.java | 388 +- ...eployProcessorVersionRequestOrBuilder.java | 29 + .../UndeployProcessorVersionResponse.java | 283 +- ...ployProcessorVersionResponseOrBuilder.java | 9 + .../UpdateDatasetOperationMetadata.java | 407 +- ...dateDatasetOperationMetadataOrBuilder.java | 26 +- .../v1beta3/UpdateDatasetRequest.java | 491 +- .../UpdateDatasetRequestOrBuilder.java | 46 +- .../v1beta3/UpdateDatasetSchemaRequest.java | 506 +- .../UpdateDatasetSchemaRequestOrBuilder.java | 46 +- .../cloud/documentai/v1beta3/Vertex.java | 305 +- .../documentai/v1beta3/VertexOrBuilder.java | 29 + .../cloud/documentai/v1beta3/barcode.proto | 0 .../cloud/documentai/v1beta3/dataset.proto | 0 .../cloud/documentai/v1beta3/document.proto | 0 .../documentai/v1beta3/document_io.proto | 0 .../v1beta3/document_processor_service.proto | 0 .../documentai/v1beta3/document_schema.proto | 0 .../documentai/v1beta3/document_service.proto | 0 .../cloud/documentai/v1beta3/evaluation.proto | 0 .../cloud/documentai/v1beta3/geometry.proto | 0 .../v1beta3/operation_metadata.proto | 0 .../cloud/documentai/v1beta3/processor.proto | 0 .../documentai/v1beta3/processor_type.proto | 0 .../AsyncBatchProcessDocuments.java | 0 .../AsyncBatchProcessDocumentsLRO.java | 0 .../SyncBatchProcessDocuments.java | 0 ...SyncBatchProcessDocumentsResourcename.java | 0 .../SyncBatchProcessDocumentsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createprocessor/AsyncCreateProcessor.java | 0 .../createprocessor/SyncCreateProcessor.java | 0 ...cCreateProcessorLocationnameProcessor.java | 0 .../SyncCreateProcessorStringProcessor.java | 0 .../deleteprocessor/AsyncDeleteProcessor.java | 0 .../AsyncDeleteProcessorLRO.java | 0 .../deleteprocessor/SyncDeleteProcessor.java | 0 .../SyncDeleteProcessorProcessorname.java | 0 .../SyncDeleteProcessorString.java | 0 .../AsyncDeleteProcessorVersion.java | 0 .../AsyncDeleteProcessorVersionLRO.java | 0 .../SyncDeleteProcessorVersion.java | 0 ...eProcessorVersionProcessorversionname.java | 0 .../SyncDeleteProcessorVersionString.java | 0 .../AsyncDeployProcessorVersion.java | 0 .../AsyncDeployProcessorVersionLRO.java | 0 .../SyncDeployProcessorVersion.java | 0 ...yProcessorVersionProcessorversionname.java | 0 .../SyncDeployProcessorVersionString.java | 0 .../AsyncDisableProcessor.java | 0 .../AsyncDisableProcessorLRO.java | 0 .../SyncDisableProcessor.java | 0 .../enableprocessor/AsyncEnableProcessor.java | 0 .../AsyncEnableProcessorLRO.java | 0 .../enableprocessor/SyncEnableProcessor.java | 0 .../AsyncEvaluateProcessorVersion.java | 0 .../AsyncEvaluateProcessorVersionLRO.java | 0 .../SyncEvaluateProcessorVersion.java | 0 ...eProcessorVersionProcessorversionname.java | 0 .../SyncEvaluateProcessorVersionString.java | 0 .../AsyncFetchProcessorTypes.java | 0 .../SyncFetchProcessorTypes.java | 0 .../SyncFetchProcessorTypesLocationname.java | 0 .../SyncFetchProcessorTypesString.java | 0 .../getevaluation/AsyncGetEvaluation.java | 0 .../getevaluation/SyncGetEvaluation.java | 0 .../SyncGetEvaluationEvaluationname.java | 0 .../SyncGetEvaluationString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../getprocessor/AsyncGetProcessor.java | 0 .../getprocessor/SyncGetProcessor.java | 0 .../SyncGetProcessorProcessorname.java | 0 .../getprocessor/SyncGetProcessorString.java | 0 .../AsyncGetProcessorType.java | 0 .../SyncGetProcessorType.java | 0 ...SyncGetProcessorTypeProcessortypename.java | 0 .../SyncGetProcessorTypeString.java | 0 .../AsyncGetProcessorVersion.java | 0 .../SyncGetProcessorVersion.java | 0 ...tProcessorVersionProcessorversionname.java | 0 .../SyncGetProcessorVersionString.java | 0 .../AsyncImportProcessorVersion.java | 0 .../AsyncImportProcessorVersionLRO.java | 0 .../SyncImportProcessorVersion.java | 0 ...ncImportProcessorVersionProcessorname.java | 0 .../SyncImportProcessorVersionString.java | 0 .../listevaluations/AsyncListEvaluations.java | 0 .../AsyncListEvaluationsPaged.java | 0 .../listevaluations/SyncListEvaluations.java | 0 ...ncListEvaluationsProcessorversionname.java | 0 .../SyncListEvaluationsString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../listprocessors/AsyncListProcessors.java | 0 .../AsyncListProcessorsPaged.java | 0 .../listprocessors/SyncListProcessors.java | 0 .../SyncListProcessorsLocationname.java | 0 .../SyncListProcessorsString.java | 0 .../AsyncListProcessorTypes.java | 0 .../AsyncListProcessorTypesPaged.java | 0 .../SyncListProcessorTypes.java | 0 .../SyncListProcessorTypesLocationname.java | 0 .../SyncListProcessorTypesString.java | 0 .../AsyncListProcessorVersions.java | 0 .../AsyncListProcessorVersionsPaged.java | 0 .../SyncListProcessorVersions.java | 0 ...yncListProcessorVersionsProcessorname.java | 0 .../SyncListProcessorVersionsString.java | 0 .../processdocument/AsyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../SyncProcessDocumentResourcename.java | 0 .../SyncProcessDocumentString.java | 0 .../reviewdocument/AsyncReviewDocument.java | 0 .../AsyncReviewDocumentLRO.java | 0 .../reviewdocument/SyncReviewDocument.java | 0 ...ncReviewDocumentHumanreviewconfigname.java | 0 .../SyncReviewDocumentString.java | 0 .../AsyncSetDefaultProcessorVersion.java | 0 .../AsyncSetDefaultProcessorVersionLRO.java | 0 .../SyncSetDefaultProcessorVersion.java | 0 .../AsyncTrainProcessorVersion.java | 0 .../AsyncTrainProcessorVersionLRO.java | 0 .../SyncTrainProcessorVersion.java | 0 ...rVersionProcessornameProcessorversion.java | 0 ...rocessorVersionStringProcessorversion.java | 0 .../AsyncUndeployProcessorVersion.java | 0 .../AsyncUndeployProcessorVersionLRO.java | 0 .../SyncUndeployProcessorVersion.java | 0 ...yProcessorVersionProcessorversionname.java | 0 .../SyncUndeployProcessorVersionString.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../AsyncBatchDeleteDocuments.java | 0 .../AsyncBatchDeleteDocumentsLRO.java | 0 .../SyncBatchDeleteDocuments.java | 0 .../SyncBatchDeleteDocumentsString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncGetDatasetSchema.java | 0 .../SyncGetDatasetSchema.java | 0 ...SyncGetDatasetSchemaDatasetschemaname.java | 0 .../SyncGetDatasetSchemaString.java | 0 .../getdocument/AsyncGetDocument.java | 0 .../getdocument/SyncGetDocument.java | 0 .../SyncGetDocumentDatasetname.java | 0 .../getdocument/SyncGetDocumentString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../importdocuments/AsyncImportDocuments.java | 0 .../AsyncImportDocumentsLRO.java | 0 .../importdocuments/SyncImportDocuments.java | 0 .../SyncImportDocumentsDatasetname.java | 0 .../SyncImportDocumentsString.java | 0 .../listdocuments/AsyncListDocuments.java | 0 .../AsyncListDocumentsPaged.java | 0 .../listdocuments/SyncListDocuments.java | 0 .../SyncListDocumentsDatasetname.java | 0 .../SyncListDocumentsString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../updatedataset/AsyncUpdateDataset.java | 0 .../updatedataset/AsyncUpdateDatasetLRO.java | 0 .../updatedataset/SyncUpdateDataset.java | 0 .../SyncUpdateDatasetDatasetFieldmask.java | 0 .../AsyncUpdateDatasetSchema.java | 0 .../SyncUpdateDatasetSchema.java | 0 ...teDatasetSchemaDatasetschemaFieldmask.java | 0 .../getdocument/SyncGetDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../getdocument/SyncGetDocument.java | 0 938 files changed, 106019 insertions(+), 185514 deletions(-) delete mode 100644 java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java delete mode 100644 java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceGrpc.java delete mode 100644 java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceGrpc.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiEvaluation.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsPrefixOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/NormalizedVertexOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/VertexOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsDestinationOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsSourceOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/NormalizedVertexOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/VertexOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BarcodeProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsDestinationOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsSourceOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/NormalizedVertexOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/VertexOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorVersionRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentService.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOutputConfigOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentPageRangeOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EntityTypeMetadataOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsPrefixOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDocumentResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetEvaluationRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorTypeRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorVersionRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsMetadataOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/NormalizedVertexOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionRequestOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionResponseOrBuilder.java delete mode 100644 java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/VertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/gapic_metadata.json (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStub.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceCallableFactory.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceStub.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceCallableFactory.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1/reflect-config.json (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientHttpJsonTest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientTest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorService.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorServiceImpl.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocationsImpl.java (100%) create mode 100644 owl-bot-staging/java-document-ai/v1/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Barcode.java (74%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java (78%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfig.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfigOrBuilder.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadataOrBuilder.java (64%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java (80%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponse.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPoly.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPolyOrBuilder.java (74%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadata.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadataOrBuilder.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadataOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadata.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadataOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequest.java (62%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadata.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadataOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequest.java (62%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponse.java (62%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadataOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java (72%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiEvaluation.java create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentOrBuilder.java (85%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentOutputConfig.java (64%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentOutputConfigOrBuilder.java (56%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentSchema.java (72%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentSchemaOrBuilder.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorMetadata.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorMetadataOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponse.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionMetadata.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionMetadataOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequest.java (61%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionRequestOrBuilder.java (52%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionResponse.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Evaluation.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluationName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluationOrBuilder.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluationReference.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluationReferenceOrBuilder.java (76%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequest.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesResponse.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesResponseOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsDocument.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsDocumentOrBuilder.java (54%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsDocuments.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsDocumentsOrBuilder.java (61%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsPrefix.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsPrefixOrBuilder.java create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequest.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewConfigName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatus.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewStatusOrBuilder.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequest.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsRequestOrBuilder.java (61%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsResponse.java (72%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListEvaluationsResponseOrBuilder.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesRequest.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesRequestOrBuilder.java (57%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesResponse.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorTypesResponseOrBuilder.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequest.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsRequestOrBuilder.java (60%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsResponse.java (72%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorVersionsResponseOrBuilder.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequest.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsRequestOrBuilder.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsResponse.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ListProcessorsResponseOrBuilder.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/LocationName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/NormalizedVertex.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/NormalizedVertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfig.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OcrConfigOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptions.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessOptionsOrBuilder.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequest.java (74%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessRequestOrBuilder.java (83%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessResponse.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessResponseOrBuilder.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Processor.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorType.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorTypeName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorTypeOrBuilder.java (76%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorVersion.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorVersionAlias.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorVersionAliasOrBuilder.java (58%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorVersionName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ProcessorVersionOrBuilder.java (81%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/RawDocument.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/RawDocumentOrBuilder.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadata.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentOperationMetadataOrBuilder.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequest.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentRequestOrBuilder.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentResponse.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/ReviewDocumentResponseOrBuilder.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionMetadata.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionMetadataOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequest.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionRequestOrBuilder.java (50%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionResponse.java (59%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionMetadata.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionMetadataOrBuilder.java (54%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequest.java (60%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionRequestOrBuilder.java (55%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionResponse.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/TrainProcessorVersionResponseOrBuilder.java (50%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionMetadata.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionMetadataOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionRequest.java (60%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionResponse.java (60%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Vertex.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/VertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/evaluation.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/batchprocessdocuments/AsyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/batchprocessdocuments/SyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/batchprocessdocuments/SyncBatchProcessDocumentsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/create/SyncCreateSetEndpoint.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/createprocessor/AsyncCreateProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/createprocessor/SyncCreateProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/createprocessor/SyncCreateProcessorLocationnameProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/createprocessor/SyncCreateProcessorStringProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessor/AsyncDeleteProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessor/AsyncDeleteProcessorLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessor/SyncDeleteProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessor/SyncDeleteProcessorProcessorname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessor/SyncDeleteProcessorString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessorversion/AsyncDeleteProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessorversion/SyncDeleteProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deleteprocessorversion/SyncDeleteProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deployprocessorversion/AsyncDeployProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deployprocessorversion/AsyncDeployProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deployprocessorversion/SyncDeployProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/deployprocessorversion/SyncDeployProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/disableprocessor/AsyncDisableProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/disableprocessor/AsyncDisableProcessorLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/disableprocessor/SyncDisableProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/enableprocessor/AsyncEnableProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/enableprocessor/AsyncEnableProcessorLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/enableprocessor/SyncEnableProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/evaluateprocessorversion/AsyncEvaluateProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/evaluateprocessorversion/AsyncEvaluateProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/evaluateprocessorversion/SyncEvaluateProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/evaluateprocessorversion/SyncEvaluateProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/evaluateprocessorversion/SyncEvaluateProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/fetchprocessortypes/AsyncFetchProcessorTypes.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/fetchprocessortypes/SyncFetchProcessorTypes.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/fetchprocessortypes/SyncFetchProcessorTypesString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getevaluation/AsyncGetEvaluation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getevaluation/SyncGetEvaluation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getevaluation/SyncGetEvaluationEvaluationname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getevaluation/SyncGetEvaluationString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getlocation/AsyncGetLocation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getlocation/SyncGetLocation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessor/AsyncGetProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessor/SyncGetProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessor/SyncGetProcessorProcessorname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessor/SyncGetProcessorString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessortype/AsyncGetProcessorType.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessortype/SyncGetProcessorType.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessortype/SyncGetProcessorTypeProcessortypename.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessortype/SyncGetProcessorTypeString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessorversion/AsyncGetProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessorversion/SyncGetProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/getprocessorversion/SyncGetProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listevaluations/AsyncListEvaluations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listevaluations/AsyncListEvaluationsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listevaluations/SyncListEvaluations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listevaluations/SyncListEvaluationsProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listevaluations/SyncListEvaluationsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listlocations/AsyncListLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listlocations/SyncListLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessors/AsyncListProcessors.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessors/AsyncListProcessorsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessors/SyncListProcessors.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessors/SyncListProcessorsLocationname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessors/SyncListProcessorsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessortypes/AsyncListProcessorTypes.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessortypes/AsyncListProcessorTypesPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessortypes/SyncListProcessorTypes.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessortypes/SyncListProcessorTypesLocationname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessortypes/SyncListProcessorTypesString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessorversions/AsyncListProcessorVersions.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessorversions/AsyncListProcessorVersionsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessorversions/SyncListProcessorVersions.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessorversions/SyncListProcessorVersionsProcessorname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/listprocessorversions/SyncListProcessorVersionsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/processdocument/AsyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/processdocument/SyncProcessDocumentResourcename.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/processdocument/SyncProcessDocumentString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/reviewdocument/AsyncReviewDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/reviewdocument/AsyncReviewDocumentLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/reviewdocument/SyncReviewDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/reviewdocument/SyncReviewDocumentString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/trainprocessorversion/AsyncTrainProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/trainprocessorversion/AsyncTrainProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/trainprocessorversion/SyncTrainProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/trainprocessorversion/SyncTrainProcessorVersionProcessornameProcessorversion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/trainprocessorversion/SyncTrainProcessorVersionStringProcessorversion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/undeployprocessorversion/AsyncUndeployProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/undeployprocessorversion/SyncUndeployProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservice/undeployprocessorversion/SyncUndeployProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/documentprocessorservicesettings/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1}/samples/snippets/generated/com/google/cloud/documentai/v1/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceClient.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceSettings.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/gapic_metadata.json (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/package-info.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStub.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/DocumentUnderstandingServiceStubSettings.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/GrpcDocumentUnderstandingServiceCallableFactory.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/stub/GrpcDocumentUnderstandingServiceStub.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1beta1/reflect-config.json (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceClientTest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta1/MockDocumentUnderstandingService.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta1/MockDocumentUnderstandingServiceImpl.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/grpc-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentUnderstandingServiceGrpc.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/BatchProcessDocumentsRequest.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/BatchProcessDocumentsRequestOrBuilder.java (53%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/BatchProcessDocumentsResponse.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/BatchProcessDocumentsResponseOrBuilder.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/BoundingPoly.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/BoundingPolyOrBuilder.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/Document.java (70%) create mode 100644 owl-bot-staging/java-document-ai/v1beta1/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentOrBuilder.java (86%) create mode 100644 owl-bot-staging/java-document-ai/v1beta1/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/EntityExtractionParams.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/EntityExtractionParamsOrBuilder.java (57%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/FormExtractionParams.java (78%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/FormExtractionParamsOrBuilder.java (82%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsDestination.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1beta1/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsDestinationOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsSource.java (66%) create mode 100644 owl-bot-staging/java-document-ai/v1beta1/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsSourceOrBuilder.java create mode 100644 owl-bot-staging/java-document-ai/v1beta1/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/InputConfig.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/InputConfigOrBuilder.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/KeyValuePairHint.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/KeyValuePairHintOrBuilder.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/NormalizedVertex.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1beta1/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/NormalizedVertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/OcrParams.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/OcrParamsOrBuilder.java (79%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/OperationMetadata.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/OperationMetadataOrBuilder.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/OutputConfig.java (72%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/OutputConfigOrBuilder.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/ProcessDocumentRequest.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/ProcessDocumentRequestOrBuilder.java (72%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/ProcessDocumentResponse.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/ProcessDocumentResponseOrBuilder.java (76%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/TableBoundHint.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/TableBoundHintOrBuilder.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/TableExtractionParams.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/TableExtractionParamsOrBuilder.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/Vertex.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1beta1/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/VertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservice/batchprocessdocuments/AsyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservice/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservice/batchprocessdocuments/SyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservice/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservice/create/SyncCreateSetEndpoint.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/samples/snippets/generated/com/google/cloud/documentai/v1beta1/documentunderstandingservicesettings/batchprocessdocuments/SyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta1}/samples/snippets/generated/com/google/cloud/documentai/v1beta1/stub/documentunderstandingservicestubsettings/batchprocessdocuments/SyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClient.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceSettings.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/gapic_metadata.json (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/package-info.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStub.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/GrpcDocumentUnderstandingServiceCallableFactory.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/GrpcDocumentUnderstandingServiceStub.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1beta2/reflect-config.json (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceClientTest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta2/MockDocumentUnderstandingService.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta2/MockDocumentUnderstandingServiceImpl.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta2/MockLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta2/MockLocationsImpl.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/grpc-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceGrpc.java (54%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/AutoMlParams.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/AutoMlParamsOrBuilder.java (52%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/Barcode.java (74%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BarcodeOrBuilder.java (79%) create mode 100644 owl-bot-staging/java-document-ai/v1beta2/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BarcodeProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BatchProcessDocumentsRequest.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BatchProcessDocumentsRequestOrBuilder.java (53%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BatchProcessDocumentsResponse.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BatchProcessDocumentsResponseOrBuilder.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BoundingPoly.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BoundingPolyOrBuilder.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/Document.java (70%) create mode 100644 owl-bot-staging/java-document-ai/v1beta2/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-document-ai/v1beta2/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/EntityExtractionParams.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/EntityExtractionParamsOrBuilder.java (57%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/FormExtractionParams.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/FormExtractionParamsOrBuilder.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsDestination.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1beta2/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsDestinationOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsSource.java (66%) create mode 100644 owl-bot-staging/java-document-ai/v1beta2/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsSourceOrBuilder.java create mode 100644 owl-bot-staging/java-document-ai/v1beta2/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/InputConfig.java (74%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/InputConfigOrBuilder.java (80%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/KeyValuePairHint.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/KeyValuePairHintOrBuilder.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/NormalizedVertex.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1beta2/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/NormalizedVertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/OcrParams.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/OcrParamsOrBuilder.java (79%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/OperationMetadata.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/OperationMetadataOrBuilder.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/OutputConfig.java (72%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/OutputConfigOrBuilder.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/ProcessDocumentRequest.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/ProcessDocumentRequestOrBuilder.java (80%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/ProcessDocumentResponse.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/ProcessDocumentResponseOrBuilder.java (76%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/TableBoundHint.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/TableBoundHintOrBuilder.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/TableExtractionParams.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/TableExtractionParamsOrBuilder.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/Vertex.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1beta2/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/VertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/barcode.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/batchprocessdocuments/AsyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/batchprocessdocuments/SyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/batchprocessdocuments/SyncBatchProcessDocumentsListprocessdocumentrequest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/create/SyncCreateSetEndpoint.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/getlocation/AsyncGetLocation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/getlocation/SyncGetLocation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/listlocations/AsyncListLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/listlocations/SyncListLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/processdocument/AsyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservice/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/documentunderstandingservicesettings/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta2}/samples/snippets/generated/com/google/cloud/documentai/v1beta2/stub/documentunderstandingservicestubsettings/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceClient.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceClient.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceSettings.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/gapic_metadata.json (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/package-info.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStub.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentServiceStub.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentServiceStubSettings.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/GrpcDocumentProcessorServiceCallableFactory.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/GrpcDocumentProcessorServiceStub.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/GrpcDocumentServiceCallableFactory.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/GrpcDocumentServiceStub.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/HttpJsonDocumentProcessorServiceCallableFactory.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/HttpJsonDocumentProcessorServiceStub.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/HttpJsonDocumentServiceCallableFactory.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/HttpJsonDocumentServiceStub.java (99%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1beta3/reflect-config.json (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceClientHttpJsonTest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceClientTest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/DocumentServiceClientHttpJsonTest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/DocumentServiceClientTest.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/MockDocumentProcessorService.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/MockDocumentProcessorServiceImpl.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/MockDocumentService.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/MockDocumentServiceImpl.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/MockLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1beta3/MockLocationsImpl.java (100%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceGrpc.java create mode 100644 owl-bot-staging/java-document-ai/v1beta3/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceGrpc.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Barcode.java (74%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeOrBuilder.java (79%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDatasetDocuments.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDatasetDocumentsOrBuilder.java (56%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsMetadata.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsMetadataOrBuilder.java (52%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsRequest.java (64%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsRequestOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsResponse.java (61%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDocumentsInputConfig.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDocumentsInputConfigOrBuilder.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessMetadata.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessRequest.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessRequestOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessResponse.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BoundingPoly.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BoundingPolyOrBuilder.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/CommonOperationMetadata.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/CommonOperationMetadataOrBuilder.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/CreateProcessorRequest.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/CreateProcessorRequestOrBuilder.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Dataset.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetOrBuilder.java (58%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetSchema.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetSchemaName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetSchemaOrBuilder.java (53%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetSplitType.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorMetadata.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorVersionMetadata.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorVersionMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorVersionRequest.java (59%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorVersionRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionMetadata.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionRequest.java (59%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionResponse.java (58%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorMetadata.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorResponse.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java (70%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentService.java create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentId.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIdOrBuilder.java (69%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentLabelingState.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentMetadata.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentMetadataOrBuilder.java (75%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java (82%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOutputConfig.java (61%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOutputConfigOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentPageRange.java (67%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentPageRangeOrBuilder.java create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentSchema.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentSchemaOrBuilder.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorMetadata.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorResponse.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EntityTypeMetadata.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EntityTypeMetadataOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionMetadata.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionRequest.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionRequestOrBuilder.java (52%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionResponse.java (61%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Evaluation.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluationName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluationOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluationReference.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluationReferenceOrBuilder.java (76%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesRequest.java (62%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesResponse.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesResponseOrBuilder.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FieldExtractionMetadata.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FieldExtractionMetadataOrBuilder.java (60%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsDocument.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsDocumentOrBuilder.java (54%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsDocuments.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsDocumentsOrBuilder.java (64%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsPrefix.java (66%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsPrefixOrBuilder.java create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDatasetSchemaRequest.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDatasetSchemaRequestOrBuilder.java (50%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDocumentRequest.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDocumentRequestOrBuilder.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDocumentResponse.java (62%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDocumentResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetEvaluationRequest.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetEvaluationRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorTypeRequest.java (63%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorTypeRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorVersionRequest.java (61%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorVersionRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/HumanReviewConfigName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/HumanReviewStatus.java (72%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/HumanReviewStatusOrBuilder.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsMetadata.java (62%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsMetadataOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsRequest.java (58%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsResponse.java (64%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportProcessorVersionMetadata.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportProcessorVersionMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportProcessorVersionRequest.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportProcessorVersionRequestOrBuilder.java (61%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportProcessorVersionResponse.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportProcessorVersionResponseOrBuilder.java (51%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListDocumentsRequest.java (76%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListDocumentsRequestOrBuilder.java (80%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListDocumentsResponse.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListDocumentsResponseOrBuilder.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListEvaluationsRequest.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListEvaluationsRequestOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListEvaluationsResponse.java (72%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListEvaluationsResponseOrBuilder.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorTypesRequest.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorTypesRequestOrBuilder.java (57%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorTypesResponse.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorTypesResponseOrBuilder.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorVersionsRequest.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorVersionsRequestOrBuilder.java (60%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorVersionsResponse.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorVersionsResponseOrBuilder.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorsRequest.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorsRequestOrBuilder.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorsResponse.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ListProcessorsResponseOrBuilder.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/LocationName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/NormalizedVertex.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/NormalizedVertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfig.java (74%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfigOrBuilder.java (82%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessOptions.java (64%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessOptionsOrBuilder.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessRequest.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessRequestOrBuilder.java (81%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessResponse.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessResponseOrBuilder.java (73%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Processor.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorOrBuilder.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorType.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorTypeName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorTypeOrBuilder.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorVersion.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorVersionAlias.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorVersionAliasOrBuilder.java (58%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorVersionName.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ProcessorVersionOrBuilder.java (81%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/PropertyMetadata.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/PropertyMetadataOrBuilder.java (58%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/RawDocument.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/RawDocumentOrBuilder.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ReviewDocumentOperationMetadata.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ReviewDocumentOperationMetadataOrBuilder.java (80%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ReviewDocumentRequest.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ReviewDocumentRequestOrBuilder.java (70%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ReviewDocumentResponse.java (69%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ReviewDocumentResponseOrBuilder.java (66%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/RevisionRef.java (71%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/RevisionRefOrBuilder.java (76%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionMetadata.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionRequest.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionRequestOrBuilder.java (51%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionResponse.java (57%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SummaryOptions.java (68%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SummaryOptionsOrBuilder.java (65%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/TrainProcessorVersionMetadata.java (67%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/TrainProcessorVersionMetadataOrBuilder.java (54%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/TrainProcessorVersionRequest.java (58%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/TrainProcessorVersionRequestOrBuilder.java (56%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/TrainProcessorVersionResponse.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/TrainProcessorVersionResponseOrBuilder.java (50%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionMetadata.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionRequest.java (59%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionRequestOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionResponse.java (58%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionResponseOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UpdateDatasetOperationMetadata.java (62%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UpdateDatasetOperationMetadataOrBuilder.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UpdateDatasetRequest.java (64%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UpdateDatasetRequestOrBuilder.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UpdateDatasetSchemaRequest.java (63%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UpdateDatasetSchemaRequestOrBuilder.java (59%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Vertex.java (65%) create mode 100644 owl-bot-staging/java-document-ai/v1beta3/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/VertexOrBuilder.java rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/dataset.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_service.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/batchprocessdocuments/AsyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/batchprocessdocuments/AsyncBatchProcessDocumentsLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/batchprocessdocuments/SyncBatchProcessDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/batchprocessdocuments/SyncBatchProcessDocumentsResourcename.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/batchprocessdocuments/SyncBatchProcessDocumentsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/create/SyncCreateSetEndpoint.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/createprocessor/AsyncCreateProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/createprocessor/SyncCreateProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/createprocessor/SyncCreateProcessorLocationnameProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/createprocessor/SyncCreateProcessorStringProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessor/AsyncDeleteProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessor/AsyncDeleteProcessorLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessor/SyncDeleteProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessor/SyncDeleteProcessorProcessorname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessor/SyncDeleteProcessorString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessorversion/AsyncDeleteProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessorversion/AsyncDeleteProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessorversion/SyncDeleteProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessorversion/SyncDeleteProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deleteprocessorversion/SyncDeleteProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deployprocessorversion/AsyncDeployProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deployprocessorversion/AsyncDeployProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deployprocessorversion/SyncDeployProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deployprocessorversion/SyncDeployProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/deployprocessorversion/SyncDeployProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/disableprocessor/AsyncDisableProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/disableprocessor/AsyncDisableProcessorLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/disableprocessor/SyncDisableProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/enableprocessor/AsyncEnableProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/enableprocessor/AsyncEnableProcessorLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/enableprocessor/SyncEnableProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/evaluateprocessorversion/AsyncEvaluateProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/evaluateprocessorversion/AsyncEvaluateProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/evaluateprocessorversion/SyncEvaluateProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/evaluateprocessorversion/SyncEvaluateProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/evaluateprocessorversion/SyncEvaluateProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/fetchprocessortypes/AsyncFetchProcessorTypes.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/fetchprocessortypes/SyncFetchProcessorTypes.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/fetchprocessortypes/SyncFetchProcessorTypesLocationname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/fetchprocessortypes/SyncFetchProcessorTypesString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getevaluation/AsyncGetEvaluation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getevaluation/SyncGetEvaluation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getevaluation/SyncGetEvaluationEvaluationname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getevaluation/SyncGetEvaluationString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getlocation/AsyncGetLocation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getlocation/SyncGetLocation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessor/AsyncGetProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessor/SyncGetProcessor.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessor/SyncGetProcessorProcessorname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessor/SyncGetProcessorString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessortype/AsyncGetProcessorType.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessortype/SyncGetProcessorType.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessortype/SyncGetProcessorTypeProcessortypename.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessortype/SyncGetProcessorTypeString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessorversion/AsyncGetProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessorversion/SyncGetProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessorversion/SyncGetProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/getprocessorversion/SyncGetProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/importprocessorversion/AsyncImportProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/importprocessorversion/AsyncImportProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/importprocessorversion/SyncImportProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/importprocessorversion/SyncImportProcessorVersionProcessorname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/importprocessorversion/SyncImportProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listevaluations/AsyncListEvaluations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listevaluations/AsyncListEvaluationsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listevaluations/SyncListEvaluations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listevaluations/SyncListEvaluationsProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listevaluations/SyncListEvaluationsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listlocations/AsyncListLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listlocations/SyncListLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessors/AsyncListProcessors.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessors/AsyncListProcessorsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessors/SyncListProcessors.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessors/SyncListProcessorsLocationname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessors/SyncListProcessorsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessortypes/AsyncListProcessorTypes.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessortypes/AsyncListProcessorTypesPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessortypes/SyncListProcessorTypes.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessortypes/SyncListProcessorTypesLocationname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessortypes/SyncListProcessorTypesString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessorversions/AsyncListProcessorVersions.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessorversions/AsyncListProcessorVersionsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessorversions/SyncListProcessorVersions.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessorversions/SyncListProcessorVersionsProcessorname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/listprocessorversions/SyncListProcessorVersionsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/processdocument/AsyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/processdocument/SyncProcessDocumentResourcename.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/processdocument/SyncProcessDocumentString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/reviewdocument/AsyncReviewDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/reviewdocument/AsyncReviewDocumentLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/reviewdocument/SyncReviewDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/reviewdocument/SyncReviewDocumentHumanreviewconfigname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/reviewdocument/SyncReviewDocumentString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/setdefaultprocessorversion/AsyncSetDefaultProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/setdefaultprocessorversion/AsyncSetDefaultProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/setdefaultprocessorversion/SyncSetDefaultProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/trainprocessorversion/AsyncTrainProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/trainprocessorversion/AsyncTrainProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/trainprocessorversion/SyncTrainProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/trainprocessorversion/SyncTrainProcessorVersionProcessornameProcessorversion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/trainprocessorversion/SyncTrainProcessorVersionStringProcessorversion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/undeployprocessorversion/AsyncUndeployProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/undeployprocessorversion/AsyncUndeployProcessorVersionLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/undeployprocessorversion/SyncUndeployProcessorVersion.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/undeployprocessorversion/SyncUndeployProcessorVersionProcessorversionname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservice/undeployprocessorversion/SyncUndeployProcessorVersionString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentprocessorservicesettings/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/batchdeletedocuments/AsyncBatchDeleteDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/batchdeletedocuments/AsyncBatchDeleteDocumentsLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/batchdeletedocuments/SyncBatchDeleteDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/batchdeletedocuments/SyncBatchDeleteDocumentsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/create/SyncCreateSetEndpoint.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getdatasetschema/AsyncGetDatasetSchema.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getdatasetschema/SyncGetDatasetSchema.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getdatasetschema/SyncGetDatasetSchemaDatasetschemaname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getdatasetschema/SyncGetDatasetSchemaString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getdocument/AsyncGetDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getdocument/SyncGetDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getdocument/SyncGetDocumentDatasetname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getdocument/SyncGetDocumentString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getlocation/AsyncGetLocation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/getlocation/SyncGetLocation.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/importdocuments/AsyncImportDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/importdocuments/AsyncImportDocumentsLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/importdocuments/SyncImportDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/importdocuments/SyncImportDocumentsDatasetname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/importdocuments/SyncImportDocumentsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/listdocuments/AsyncListDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/listdocuments/AsyncListDocumentsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/listdocuments/SyncListDocuments.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/listdocuments/SyncListDocumentsDatasetname.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/listdocuments/SyncListDocumentsString.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/listlocations/AsyncListLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/listlocations/AsyncListLocationsPaged.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/listlocations/SyncListLocations.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/updatedataset/AsyncUpdateDataset.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/updatedataset/AsyncUpdateDatasetLRO.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/updatedataset/SyncUpdateDataset.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/updatedataset/SyncUpdateDatasetDatasetFieldmask.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/updatedatasetschema/AsyncUpdateDatasetSchema.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/updatedatasetschema/SyncUpdateDatasetSchema.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservice/updatedatasetschema/SyncUpdateDatasetSchemaDatasetschemaFieldmask.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/documentservicesettings/getdocument/SyncGetDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.java (100%) rename {java-document-ai => owl-bot-staging/java-document-ai/v1beta3}/samples/snippets/generated/com/google/cloud/documentai/v1beta3/stub/documentservicestubsettings/getdocument/SyncGetDocument.java (100%) diff --git a/java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java b/java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java deleted file mode 100644 index 25379c219869..000000000000 --- a/java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java +++ /dev/null @@ -1,2995 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.documentai.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service to call Document AI to process documents according to the
- * processor's definition. Processors are built using state-of-the-art Google
- * AI such as natural language, computer vision, and translation to extract
- * structured information from unstructured or semi-structured documents.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/documentai/v1/document_processor_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DocumentProcessorServiceGrpc { - - private DocumentProcessorServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.documentai.v1.DocumentProcessorService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ProcessRequest, - com.google.cloud.documentai.v1.ProcessResponse> - getProcessDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProcessDocument", - requestType = com.google.cloud.documentai.v1.ProcessRequest.class, - responseType = com.google.cloud.documentai.v1.ProcessResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ProcessRequest, - com.google.cloud.documentai.v1.ProcessResponse> - getProcessDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ProcessRequest, - com.google.cloud.documentai.v1.ProcessResponse> - getProcessDocumentMethod; - if ((getProcessDocumentMethod = DocumentProcessorServiceGrpc.getProcessDocumentMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getProcessDocumentMethod = DocumentProcessorServiceGrpc.getProcessDocumentMethod) - == null) { - DocumentProcessorServiceGrpc.getProcessDocumentMethod = - getProcessDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProcessDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ProcessRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ProcessResponse.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("ProcessDocument")) - .build(); - } - } - } - return getProcessDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.BatchProcessRequest, com.google.longrunning.Operation> - getBatchProcessDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchProcessDocuments", - requestType = com.google.cloud.documentai.v1.BatchProcessRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.BatchProcessRequest, com.google.longrunning.Operation> - getBatchProcessDocumentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.BatchProcessRequest, com.google.longrunning.Operation> - getBatchProcessDocumentsMethod; - if ((getBatchProcessDocumentsMethod = - DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getBatchProcessDocumentsMethod = - DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod) - == null) { - DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod = - getBatchProcessDocumentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchProcessDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.BatchProcessRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "BatchProcessDocuments")) - .build(); - } - } - } - return getBatchProcessDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.FetchProcessorTypesRequest, - com.google.cloud.documentai.v1.FetchProcessorTypesResponse> - getFetchProcessorTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchProcessorTypes", - requestType = com.google.cloud.documentai.v1.FetchProcessorTypesRequest.class, - responseType = com.google.cloud.documentai.v1.FetchProcessorTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.FetchProcessorTypesRequest, - com.google.cloud.documentai.v1.FetchProcessorTypesResponse> - getFetchProcessorTypesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.FetchProcessorTypesRequest, - com.google.cloud.documentai.v1.FetchProcessorTypesResponse> - getFetchProcessorTypesMethod; - if ((getFetchProcessorTypesMethod = DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getFetchProcessorTypesMethod = - DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod) - == null) { - DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod = - getFetchProcessorTypesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "FetchProcessorTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.FetchProcessorTypesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.FetchProcessorTypesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "FetchProcessorTypes")) - .build(); - } - } - } - return getFetchProcessorTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorTypesRequest, - com.google.cloud.documentai.v1.ListProcessorTypesResponse> - getListProcessorTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProcessorTypes", - requestType = com.google.cloud.documentai.v1.ListProcessorTypesRequest.class, - responseType = com.google.cloud.documentai.v1.ListProcessorTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorTypesRequest, - com.google.cloud.documentai.v1.ListProcessorTypesResponse> - getListProcessorTypesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorTypesRequest, - com.google.cloud.documentai.v1.ListProcessorTypesResponse> - getListProcessorTypesMethod; - if ((getListProcessorTypesMethod = DocumentProcessorServiceGrpc.getListProcessorTypesMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getListProcessorTypesMethod = DocumentProcessorServiceGrpc.getListProcessorTypesMethod) - == null) { - DocumentProcessorServiceGrpc.getListProcessorTypesMethod = - getListProcessorTypesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProcessorTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ListProcessorTypesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ListProcessorTypesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "ListProcessorTypes")) - .build(); - } - } - } - return getListProcessorTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorTypeRequest, - com.google.cloud.documentai.v1.ProcessorType> - getGetProcessorTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProcessorType", - requestType = com.google.cloud.documentai.v1.GetProcessorTypeRequest.class, - responseType = com.google.cloud.documentai.v1.ProcessorType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorTypeRequest, - com.google.cloud.documentai.v1.ProcessorType> - getGetProcessorTypeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorTypeRequest, - com.google.cloud.documentai.v1.ProcessorType> - getGetProcessorTypeMethod; - if ((getGetProcessorTypeMethod = DocumentProcessorServiceGrpc.getGetProcessorTypeMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getGetProcessorTypeMethod = DocumentProcessorServiceGrpc.getGetProcessorTypeMethod) - == null) { - DocumentProcessorServiceGrpc.getGetProcessorTypeMethod = - getGetProcessorTypeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProcessorType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.GetProcessorTypeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ProcessorType.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("GetProcessorType")) - .build(); - } - } - } - return getGetProcessorTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorsRequest, - com.google.cloud.documentai.v1.ListProcessorsResponse> - getListProcessorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProcessors", - requestType = com.google.cloud.documentai.v1.ListProcessorsRequest.class, - responseType = com.google.cloud.documentai.v1.ListProcessorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorsRequest, - com.google.cloud.documentai.v1.ListProcessorsResponse> - getListProcessorsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorsRequest, - com.google.cloud.documentai.v1.ListProcessorsResponse> - getListProcessorsMethod; - if ((getListProcessorsMethod = DocumentProcessorServiceGrpc.getListProcessorsMethod) == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getListProcessorsMethod = DocumentProcessorServiceGrpc.getListProcessorsMethod) - == null) { - DocumentProcessorServiceGrpc.getListProcessorsMethod = - getListProcessorsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProcessors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ListProcessorsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ListProcessorsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("ListProcessors")) - .build(); - } - } - } - return getListProcessorsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorRequest, - com.google.cloud.documentai.v1.Processor> - getGetProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProcessor", - requestType = com.google.cloud.documentai.v1.GetProcessorRequest.class, - responseType = com.google.cloud.documentai.v1.Processor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorRequest, - com.google.cloud.documentai.v1.Processor> - getGetProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorRequest, - com.google.cloud.documentai.v1.Processor> - getGetProcessorMethod; - if ((getGetProcessorMethod = DocumentProcessorServiceGrpc.getGetProcessorMethod) == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getGetProcessorMethod = DocumentProcessorServiceGrpc.getGetProcessorMethod) == null) { - DocumentProcessorServiceGrpc.getGetProcessorMethod = - getGetProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.GetProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.Processor.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("GetProcessor")) - .build(); - } - } - } - return getGetProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.TrainProcessorVersionRequest, - com.google.longrunning.Operation> - getTrainProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TrainProcessorVersion", - requestType = com.google.cloud.documentai.v1.TrainProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.TrainProcessorVersionRequest, - com.google.longrunning.Operation> - getTrainProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.TrainProcessorVersionRequest, - com.google.longrunning.Operation> - getTrainProcessorVersionMethod; - if ((getTrainProcessorVersionMethod = - DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getTrainProcessorVersionMethod = - DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod = - getTrainProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "TrainProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.TrainProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "TrainProcessorVersion")) - .build(); - } - } - } - return getTrainProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorVersionRequest, - com.google.cloud.documentai.v1.ProcessorVersion> - getGetProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProcessorVersion", - requestType = com.google.cloud.documentai.v1.GetProcessorVersionRequest.class, - responseType = com.google.cloud.documentai.v1.ProcessorVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorVersionRequest, - com.google.cloud.documentai.v1.ProcessorVersion> - getGetProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetProcessorVersionRequest, - com.google.cloud.documentai.v1.ProcessorVersion> - getGetProcessorVersionMethod; - if ((getGetProcessorVersionMethod = DocumentProcessorServiceGrpc.getGetProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getGetProcessorVersionMethod = - DocumentProcessorServiceGrpc.getGetProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getGetProcessorVersionMethod = - getGetProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.GetProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ProcessorVersion.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "GetProcessorVersion")) - .build(); - } - } - } - return getGetProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorVersionsRequest, - com.google.cloud.documentai.v1.ListProcessorVersionsResponse> - getListProcessorVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProcessorVersions", - requestType = com.google.cloud.documentai.v1.ListProcessorVersionsRequest.class, - responseType = com.google.cloud.documentai.v1.ListProcessorVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorVersionsRequest, - com.google.cloud.documentai.v1.ListProcessorVersionsResponse> - getListProcessorVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListProcessorVersionsRequest, - com.google.cloud.documentai.v1.ListProcessorVersionsResponse> - getListProcessorVersionsMethod; - if ((getListProcessorVersionsMethod = - DocumentProcessorServiceGrpc.getListProcessorVersionsMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getListProcessorVersionsMethod = - DocumentProcessorServiceGrpc.getListProcessorVersionsMethod) - == null) { - DocumentProcessorServiceGrpc.getListProcessorVersionsMethod = - getListProcessorVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListProcessorVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ListProcessorVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ListProcessorVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "ListProcessorVersions")) - .build(); - } - } - } - return getListProcessorVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest, - com.google.longrunning.Operation> - getDeleteProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProcessorVersion", - requestType = com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest, - com.google.longrunning.Operation> - getDeleteProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest, - com.google.longrunning.Operation> - getDeleteProcessorVersionMethod; - if ((getDeleteProcessorVersionMethod = - DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getDeleteProcessorVersionMethod = - DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod = - getDeleteProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "DeleteProcessorVersion")) - .build(); - } - } - } - return getDeleteProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeployProcessorVersionRequest, - com.google.longrunning.Operation> - getDeployProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeployProcessorVersion", - requestType = com.google.cloud.documentai.v1.DeployProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeployProcessorVersionRequest, - com.google.longrunning.Operation> - getDeployProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeployProcessorVersionRequest, - com.google.longrunning.Operation> - getDeployProcessorVersionMethod; - if ((getDeployProcessorVersionMethod = - DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getDeployProcessorVersionMethod = - DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod = - getDeployProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeployProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.DeployProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "DeployProcessorVersion")) - .build(); - } - } - } - return getDeployProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest, - com.google.longrunning.Operation> - getUndeployProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UndeployProcessorVersion", - requestType = com.google.cloud.documentai.v1.UndeployProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest, - com.google.longrunning.Operation> - getUndeployProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest, - com.google.longrunning.Operation> - getUndeployProcessorVersionMethod; - if ((getUndeployProcessorVersionMethod = - DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getUndeployProcessorVersionMethod = - DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod = - getUndeployProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UndeployProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "UndeployProcessorVersion")) - .build(); - } - } - } - return getUndeployProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.CreateProcessorRequest, - com.google.cloud.documentai.v1.Processor> - getCreateProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateProcessor", - requestType = com.google.cloud.documentai.v1.CreateProcessorRequest.class, - responseType = com.google.cloud.documentai.v1.Processor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.CreateProcessorRequest, - com.google.cloud.documentai.v1.Processor> - getCreateProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.CreateProcessorRequest, - com.google.cloud.documentai.v1.Processor> - getCreateProcessorMethod; - if ((getCreateProcessorMethod = DocumentProcessorServiceGrpc.getCreateProcessorMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getCreateProcessorMethod = DocumentProcessorServiceGrpc.getCreateProcessorMethod) - == null) { - DocumentProcessorServiceGrpc.getCreateProcessorMethod = - getCreateProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.CreateProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.Processor.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("CreateProcessor")) - .build(); - } - } - } - return getCreateProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeleteProcessorRequest, com.google.longrunning.Operation> - getDeleteProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProcessor", - requestType = com.google.cloud.documentai.v1.DeleteProcessorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeleteProcessorRequest, com.google.longrunning.Operation> - getDeleteProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DeleteProcessorRequest, com.google.longrunning.Operation> - getDeleteProcessorMethod; - if ((getDeleteProcessorMethod = DocumentProcessorServiceGrpc.getDeleteProcessorMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getDeleteProcessorMethod = DocumentProcessorServiceGrpc.getDeleteProcessorMethod) - == null) { - DocumentProcessorServiceGrpc.getDeleteProcessorMethod = - getDeleteProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.DeleteProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("DeleteProcessor")) - .build(); - } - } - } - return getDeleteProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.EnableProcessorRequest, com.google.longrunning.Operation> - getEnableProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EnableProcessor", - requestType = com.google.cloud.documentai.v1.EnableProcessorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.EnableProcessorRequest, com.google.longrunning.Operation> - getEnableProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.EnableProcessorRequest, com.google.longrunning.Operation> - getEnableProcessorMethod; - if ((getEnableProcessorMethod = DocumentProcessorServiceGrpc.getEnableProcessorMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getEnableProcessorMethod = DocumentProcessorServiceGrpc.getEnableProcessorMethod) - == null) { - DocumentProcessorServiceGrpc.getEnableProcessorMethod = - getEnableProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnableProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.EnableProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("EnableProcessor")) - .build(); - } - } - } - return getEnableProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DisableProcessorRequest, com.google.longrunning.Operation> - getDisableProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DisableProcessor", - requestType = com.google.cloud.documentai.v1.DisableProcessorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DisableProcessorRequest, com.google.longrunning.Operation> - getDisableProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.DisableProcessorRequest, - com.google.longrunning.Operation> - getDisableProcessorMethod; - if ((getDisableProcessorMethod = DocumentProcessorServiceGrpc.getDisableProcessorMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getDisableProcessorMethod = DocumentProcessorServiceGrpc.getDisableProcessorMethod) - == null) { - DocumentProcessorServiceGrpc.getDisableProcessorMethod = - getDisableProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DisableProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.DisableProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("DisableProcessor")) - .build(); - } - } - } - return getDisableProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation> - getSetDefaultProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetDefaultProcessorVersion", - requestType = com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation> - getSetDefaultProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation> - getSetDefaultProcessorVersionMethod; - if ((getSetDefaultProcessorVersionMethod = - DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getSetDefaultProcessorVersionMethod = - DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod = - getSetDefaultProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetDefaultProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "SetDefaultProcessorVersion")) - .build(); - } - } - } - return getSetDefaultProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ReviewDocumentRequest, com.google.longrunning.Operation> - getReviewDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReviewDocument", - requestType = com.google.cloud.documentai.v1.ReviewDocumentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ReviewDocumentRequest, com.google.longrunning.Operation> - getReviewDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ReviewDocumentRequest, com.google.longrunning.Operation> - getReviewDocumentMethod; - if ((getReviewDocumentMethod = DocumentProcessorServiceGrpc.getReviewDocumentMethod) == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getReviewDocumentMethod = DocumentProcessorServiceGrpc.getReviewDocumentMethod) - == null) { - DocumentProcessorServiceGrpc.getReviewDocumentMethod = - getReviewDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReviewDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ReviewDocumentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("ReviewDocument")) - .build(); - } - } - } - return getReviewDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest, - com.google.longrunning.Operation> - getEvaluateProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EvaluateProcessorVersion", - requestType = com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest, - com.google.longrunning.Operation> - getEvaluateProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest, - com.google.longrunning.Operation> - getEvaluateProcessorVersionMethod; - if ((getEvaluateProcessorVersionMethod = - DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getEvaluateProcessorVersionMethod = - DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod = - getEvaluateProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "EvaluateProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "EvaluateProcessorVersion")) - .build(); - } - } - } - return getEvaluateProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetEvaluationRequest, - com.google.cloud.documentai.v1.Evaluation> - getGetEvaluationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEvaluation", - requestType = com.google.cloud.documentai.v1.GetEvaluationRequest.class, - responseType = com.google.cloud.documentai.v1.Evaluation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetEvaluationRequest, - com.google.cloud.documentai.v1.Evaluation> - getGetEvaluationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.GetEvaluationRequest, - com.google.cloud.documentai.v1.Evaluation> - getGetEvaluationMethod; - if ((getGetEvaluationMethod = DocumentProcessorServiceGrpc.getGetEvaluationMethod) == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getGetEvaluationMethod = DocumentProcessorServiceGrpc.getGetEvaluationMethod) - == null) { - DocumentProcessorServiceGrpc.getGetEvaluationMethod = - getGetEvaluationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEvaluation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.GetEvaluationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.Evaluation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("GetEvaluation")) - .build(); - } - } - } - return getGetEvaluationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListEvaluationsRequest, - com.google.cloud.documentai.v1.ListEvaluationsResponse> - getListEvaluationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEvaluations", - requestType = com.google.cloud.documentai.v1.ListEvaluationsRequest.class, - responseType = com.google.cloud.documentai.v1.ListEvaluationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListEvaluationsRequest, - com.google.cloud.documentai.v1.ListEvaluationsResponse> - getListEvaluationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1.ListEvaluationsRequest, - com.google.cloud.documentai.v1.ListEvaluationsResponse> - getListEvaluationsMethod; - if ((getListEvaluationsMethod = DocumentProcessorServiceGrpc.getListEvaluationsMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getListEvaluationsMethod = DocumentProcessorServiceGrpc.getListEvaluationsMethod) - == null) { - DocumentProcessorServiceGrpc.getListEvaluationsMethod = - getListEvaluationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEvaluations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ListEvaluationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1.ListEvaluationsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("ListEvaluations")) - .build(); - } - } - } - return getListEvaluationsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DocumentProcessorServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentProcessorServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceStub(channel, callOptions); - } - }; - return DocumentProcessorServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DocumentProcessorServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentProcessorServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceBlockingStub(channel, callOptions); - } - }; - return DocumentProcessorServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DocumentProcessorServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentProcessorServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceFutureStub(channel, callOptions); - } - }; - return DocumentProcessorServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - default void processDocument( - com.google.cloud.documentai.v1.ProcessRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getProcessDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * LRO endpoint to batch process many documents. The output is written
-     * to Cloud Storage as JSON in the [Document] format.
-     * 
- */ - default void batchProcessDocuments( - com.google.cloud.documentai.v1.BatchProcessRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchProcessDocumentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches processor types. Note that we don't use
-     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
-     * here, because it isn't paginated.
-     * 
- */ - default void fetchProcessorTypes( - com.google.cloud.documentai.v1.FetchProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchProcessorTypesMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists the processor types that exist.
-     * 
- */ - default void listProcessorTypes( - com.google.cloud.documentai.v1.ListProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorTypesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor type detail.
-     * 
- */ - default void getProcessorType( - com.google.cloud.documentai.v1.GetProcessorTypeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProcessorTypeMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all processors which belong to this project.
-     * 
- */ - default void listProcessors( - com.google.cloud.documentai.v1.ListProcessorsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - default void getProcessor( - com.google.cloud.documentai.v1.GetProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Trains a new processor version.
-     * Operation metadata is returned as
-     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].
-     * 
- */ - default void trainProcessorVersion( - com.google.cloud.documentai.v1.TrainProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTrainProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - default void getProcessorVersion( - com.google.cloud.documentai.v1.GetProcessorVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all versions of a processor.
-     * 
- */ - default void listProcessorVersions( - com.google.cloud.documentai.v1.ListProcessorVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the processor version, all artifacts under the processor version
-     * will be deleted.
-     * 
- */ - default void deleteProcessorVersion( - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deploys the processor version.
-     * 
- */ - default void deployProcessorVersion( - com.google.cloud.documentai.v1.DeployProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeployProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Undeploys the processor version.
-     * 
- */ - default void undeployProcessorVersion( - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUndeployProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a processor from the
-     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
-     * processor will be at `ENABLED` state by default after its creation.
-     * 
- */ - default void createProcessor( - com.google.cloud.documentai.v1.CreateProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the processor, unloads all deployed model artifacts if it was
-     * enabled and then deletes all artifacts associated with this processor.
-     * 
- */ - default void deleteProcessor( - com.google.cloud.documentai.v1.DeleteProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - default void enableProcessor( - com.google.cloud.documentai.v1.EnableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getEnableProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - default void disableProcessor( - com.google.cloud.documentai.v1.DisableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDisableProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Set the default (active) version of a
-     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
-     * and
-     * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
-     * 
- */ - default void setDefaultProcessorVersion( - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetDefaultProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Send a document for Human Review. The input document should be processed by
-     * the specified processor.
-     * 
- */ - default void reviewDocument( - com.google.cloud.documentai.v1.ReviewDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReviewDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * Evaluates a ProcessorVersion against annotated documents, producing an
-     * Evaluation.
-     * 
- */ - default void evaluateProcessorVersion( - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getEvaluateProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a specific evaluation.
-     * 
- */ - default void getEvaluation( - com.google.cloud.documentai.v1.GetEvaluationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEvaluationMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a set of evaluations for a given processor version.
-     * 
- */ - default void listEvaluations( - com.google.cloud.documentai.v1.ListEvaluationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEvaluationsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DocumentProcessorService. - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public abstract static class DocumentProcessorServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DocumentProcessorServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DocumentProcessorService. - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public static final class DocumentProcessorServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DocumentProcessorServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentProcessorServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - public void processDocument( - com.google.cloud.documentai.v1.ProcessRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProcessDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * LRO endpoint to batch process many documents. The output is written
-     * to Cloud Storage as JSON in the [Document] format.
-     * 
- */ - public void batchProcessDocuments( - com.google.cloud.documentai.v1.BatchProcessRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches processor types. Note that we don't use
-     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
-     * here, because it isn't paginated.
-     * 
- */ - public void fetchProcessorTypes( - com.google.cloud.documentai.v1.FetchProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchProcessorTypesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists the processor types that exist.
-     * 
- */ - public void listProcessorTypes( - com.google.cloud.documentai.v1.ListProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListProcessorTypesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a processor type detail.
-     * 
- */ - public void getProcessorType( - com.google.cloud.documentai.v1.GetProcessorTypeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProcessorTypeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all processors which belong to this project.
-     * 
- */ - public void listProcessors( - com.google.cloud.documentai.v1.ListProcessorsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListProcessorsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - public void getProcessor( - com.google.cloud.documentai.v1.GetProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Trains a new processor version.
-     * Operation metadata is returned as
-     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].
-     * 
- */ - public void trainProcessorVersion( - com.google.cloud.documentai.v1.TrainProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTrainProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - public void getProcessorVersion( - com.google.cloud.documentai.v1.GetProcessorVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all versions of a processor.
-     * 
- */ - public void listProcessorVersions( - com.google.cloud.documentai.v1.ListProcessorVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListProcessorVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the processor version, all artifacts under the processor version
-     * will be deleted.
-     * 
- */ - public void deleteProcessorVersion( - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deploys the processor version.
-     * 
- */ - public void deployProcessorVersion( - com.google.cloud.documentai.v1.DeployProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeployProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Undeploys the processor version.
-     * 
- */ - public void undeployProcessorVersion( - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeployProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a processor from the
-     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
-     * processor will be at `ENABLED` state by default after its creation.
-     * 
- */ - public void createProcessor( - com.google.cloud.documentai.v1.CreateProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the processor, unloads all deployed model artifacts if it was
-     * enabled and then deletes all artifacts associated with this processor.
-     * 
- */ - public void deleteProcessor( - com.google.cloud.documentai.v1.DeleteProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - public void enableProcessor( - com.google.cloud.documentai.v1.EnableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEnableProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - public void disableProcessor( - com.google.cloud.documentai.v1.DisableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDisableProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Set the default (active) version of a
-     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
-     * and
-     * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
-     * 
- */ - public void setDefaultProcessorVersion( - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetDefaultProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Send a document for Human Review. The input document should be processed by
-     * the specified processor.
-     * 
- */ - public void reviewDocument( - com.google.cloud.documentai.v1.ReviewDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReviewDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Evaluates a ProcessorVersion against annotated documents, producing an
-     * Evaluation.
-     * 
- */ - public void evaluateProcessorVersion( - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEvaluateProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves a specific evaluation.
-     * 
- */ - public void getEvaluation( - com.google.cloud.documentai.v1.GetEvaluationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEvaluationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves a set of evaluations for a given processor version.
-     * 
- */ - public void listEvaluations( - com.google.cloud.documentai.v1.ListEvaluationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEvaluationsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DocumentProcessorService. - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public static final class DocumentProcessorServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DocumentProcessorServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentProcessorServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - public com.google.cloud.documentai.v1.ProcessResponse processDocument( - com.google.cloud.documentai.v1.ProcessRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProcessDocumentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * LRO endpoint to batch process many documents. The output is written
-     * to Cloud Storage as JSON in the [Document] format.
-     * 
- */ - public com.google.longrunning.Operation batchProcessDocuments( - com.google.cloud.documentai.v1.BatchProcessRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchProcessDocumentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches processor types. Note that we don't use
-     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
-     * here, because it isn't paginated.
-     * 
- */ - public com.google.cloud.documentai.v1.FetchProcessorTypesResponse fetchProcessorTypes( - com.google.cloud.documentai.v1.FetchProcessorTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchProcessorTypesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists the processor types that exist.
-     * 
- */ - public com.google.cloud.documentai.v1.ListProcessorTypesResponse listProcessorTypes( - com.google.cloud.documentai.v1.ListProcessorTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListProcessorTypesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a processor type detail.
-     * 
- */ - public com.google.cloud.documentai.v1.ProcessorType getProcessorType( - com.google.cloud.documentai.v1.GetProcessorTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProcessorTypeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all processors which belong to this project.
-     * 
- */ - public com.google.cloud.documentai.v1.ListProcessorsResponse listProcessors( - com.google.cloud.documentai.v1.ListProcessorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListProcessorsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - public com.google.cloud.documentai.v1.Processor getProcessor( - com.google.cloud.documentai.v1.GetProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Trains a new processor version.
-     * Operation metadata is returned as
-     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].
-     * 
- */ - public com.google.longrunning.Operation trainProcessorVersion( - com.google.cloud.documentai.v1.TrainProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTrainProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - public com.google.cloud.documentai.v1.ProcessorVersion getProcessorVersion( - com.google.cloud.documentai.v1.GetProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all versions of a processor.
-     * 
- */ - public com.google.cloud.documentai.v1.ListProcessorVersionsResponse listProcessorVersions( - com.google.cloud.documentai.v1.ListProcessorVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListProcessorVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the processor version, all artifacts under the processor version
-     * will be deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteProcessorVersion( - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deploys the processor version.
-     * 
- */ - public com.google.longrunning.Operation deployProcessorVersion( - com.google.cloud.documentai.v1.DeployProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeployProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Undeploys the processor version.
-     * 
- */ - public com.google.longrunning.Operation undeployProcessorVersion( - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUndeployProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a processor from the
-     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
-     * processor will be at `ENABLED` state by default after its creation.
-     * 
- */ - public com.google.cloud.documentai.v1.Processor createProcessor( - com.google.cloud.documentai.v1.CreateProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the processor, unloads all deployed model artifacts if it was
-     * enabled and then deletes all artifacts associated with this processor.
-     * 
- */ - public com.google.longrunning.Operation deleteProcessor( - com.google.cloud.documentai.v1.DeleteProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - public com.google.longrunning.Operation enableProcessor( - com.google.cloud.documentai.v1.EnableProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getEnableProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - public com.google.longrunning.Operation disableProcessor( - com.google.cloud.documentai.v1.DisableProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDisableProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Set the default (active) version of a
-     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
-     * and
-     * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
-     * 
- */ - public com.google.longrunning.Operation setDefaultProcessorVersion( - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetDefaultProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Send a document for Human Review. The input document should be processed by
-     * the specified processor.
-     * 
- */ - public com.google.longrunning.Operation reviewDocument( - com.google.cloud.documentai.v1.ReviewDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReviewDocumentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Evaluates a ProcessorVersion against annotated documents, producing an
-     * Evaluation.
-     * 
- */ - public com.google.longrunning.Operation evaluateProcessorVersion( - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getEvaluateProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a specific evaluation.
-     * 
- */ - public com.google.cloud.documentai.v1.Evaluation getEvaluation( - com.google.cloud.documentai.v1.GetEvaluationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEvaluationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a set of evaluations for a given processor version.
-     * 
- */ - public com.google.cloud.documentai.v1.ListEvaluationsResponse listEvaluations( - com.google.cloud.documentai.v1.ListEvaluationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEvaluationsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * DocumentProcessorService. - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public static final class DocumentProcessorServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DocumentProcessorServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentProcessorServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.ProcessResponse> - processDocument(com.google.cloud.documentai.v1.ProcessRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProcessDocumentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * LRO endpoint to batch process many documents. The output is written
-     * to Cloud Storage as JSON in the [Document] format.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchProcessDocuments(com.google.cloud.documentai.v1.BatchProcessRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches processor types. Note that we don't use
-     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
-     * here, because it isn't paginated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.FetchProcessorTypesResponse> - fetchProcessorTypes(com.google.cloud.documentai.v1.FetchProcessorTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchProcessorTypesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists the processor types that exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.ListProcessorTypesResponse> - listProcessorTypes(com.google.cloud.documentai.v1.ListProcessorTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListProcessorTypesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a processor type detail.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.ProcessorType> - getProcessorType(com.google.cloud.documentai.v1.GetProcessorTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProcessorTypeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all processors which belong to this project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.ListProcessorsResponse> - listProcessors(com.google.cloud.documentai.v1.ListProcessorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListProcessorsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.Processor> - getProcessor(com.google.cloud.documentai.v1.GetProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Trains a new processor version.
-     * Operation metadata is returned as
-     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - trainProcessorVersion(com.google.cloud.documentai.v1.TrainProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTrainProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.ProcessorVersion> - getProcessorVersion(com.google.cloud.documentai.v1.GetProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all versions of a processor.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.ListProcessorVersionsResponse> - listProcessorVersions(com.google.cloud.documentai.v1.ListProcessorVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListProcessorVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the processor version, all artifacts under the processor version
-     * will be deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteProcessorVersion( - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deploys the processor version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deployProcessorVersion( - com.google.cloud.documentai.v1.DeployProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeployProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Undeploys the processor version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - undeployProcessorVersion( - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUndeployProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a processor from the
-     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
-     * processor will be at `ENABLED` state by default after its creation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.Processor> - createProcessor(com.google.cloud.documentai.v1.CreateProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the processor, unloads all deployed model artifacts if it was
-     * enabled and then deletes all artifacts associated with this processor.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteProcessor(com.google.cloud.documentai.v1.DeleteProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - enableProcessor(com.google.cloud.documentai.v1.EnableProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getEnableProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - disableProcessor(com.google.cloud.documentai.v1.DisableProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDisableProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Set the default (active) version of a
-     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
-     * and
-     * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setDefaultProcessorVersion( - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetDefaultProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Send a document for Human Review. The input document should be processed by
-     * the specified processor.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - reviewDocument(com.google.cloud.documentai.v1.ReviewDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReviewDocumentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Evaluates a ProcessorVersion against annotated documents, producing an
-     * Evaluation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - evaluateProcessorVersion( - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getEvaluateProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a specific evaluation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.Evaluation> - getEvaluation(com.google.cloud.documentai.v1.GetEvaluationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEvaluationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a set of evaluations for a given processor version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1.ListEvaluationsResponse> - listEvaluations(com.google.cloud.documentai.v1.ListEvaluationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEvaluationsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_PROCESS_DOCUMENT = 0; - private static final int METHODID_BATCH_PROCESS_DOCUMENTS = 1; - private static final int METHODID_FETCH_PROCESSOR_TYPES = 2; - private static final int METHODID_LIST_PROCESSOR_TYPES = 3; - private static final int METHODID_GET_PROCESSOR_TYPE = 4; - private static final int METHODID_LIST_PROCESSORS = 5; - private static final int METHODID_GET_PROCESSOR = 6; - private static final int METHODID_TRAIN_PROCESSOR_VERSION = 7; - private static final int METHODID_GET_PROCESSOR_VERSION = 8; - private static final int METHODID_LIST_PROCESSOR_VERSIONS = 9; - private static final int METHODID_DELETE_PROCESSOR_VERSION = 10; - private static final int METHODID_DEPLOY_PROCESSOR_VERSION = 11; - private static final int METHODID_UNDEPLOY_PROCESSOR_VERSION = 12; - private static final int METHODID_CREATE_PROCESSOR = 13; - private static final int METHODID_DELETE_PROCESSOR = 14; - private static final int METHODID_ENABLE_PROCESSOR = 15; - private static final int METHODID_DISABLE_PROCESSOR = 16; - private static final int METHODID_SET_DEFAULT_PROCESSOR_VERSION = 17; - private static final int METHODID_REVIEW_DOCUMENT = 18; - private static final int METHODID_EVALUATE_PROCESSOR_VERSION = 19; - private static final int METHODID_GET_EVALUATION = 20; - private static final int METHODID_LIST_EVALUATIONS = 21; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_PROCESS_DOCUMENT: - serviceImpl.processDocument( - (com.google.cloud.documentai.v1.ProcessRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_PROCESS_DOCUMENTS: - serviceImpl.batchProcessDocuments( - (com.google.cloud.documentai.v1.BatchProcessRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_PROCESSOR_TYPES: - serviceImpl.fetchProcessorTypes( - (com.google.cloud.documentai.v1.FetchProcessorTypesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1.FetchProcessorTypesResponse>) - responseObserver); - break; - case METHODID_LIST_PROCESSOR_TYPES: - serviceImpl.listProcessorTypes( - (com.google.cloud.documentai.v1.ListProcessorTypesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1.ListProcessorTypesResponse>) - responseObserver); - break; - case METHODID_GET_PROCESSOR_TYPE: - serviceImpl.getProcessorType( - (com.google.cloud.documentai.v1.GetProcessorTypeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PROCESSORS: - serviceImpl.listProcessors( - (com.google.cloud.documentai.v1.ListProcessorsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROCESSOR: - serviceImpl.getProcessor( - (com.google.cloud.documentai.v1.GetProcessorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_TRAIN_PROCESSOR_VERSION: - serviceImpl.trainProcessorVersion( - (com.google.cloud.documentai.v1.TrainProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROCESSOR_VERSION: - serviceImpl.getProcessorVersion( - (com.google.cloud.documentai.v1.GetProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PROCESSOR_VERSIONS: - serviceImpl.listProcessorVersions( - (com.google.cloud.documentai.v1.ListProcessorVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1.ListProcessorVersionsResponse>) - responseObserver); - break; - case METHODID_DELETE_PROCESSOR_VERSION: - serviceImpl.deleteProcessorVersion( - (com.google.cloud.documentai.v1.DeleteProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DEPLOY_PROCESSOR_VERSION: - serviceImpl.deployProcessorVersion( - (com.google.cloud.documentai.v1.DeployProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNDEPLOY_PROCESSOR_VERSION: - serviceImpl.undeployProcessorVersion( - (com.google.cloud.documentai.v1.UndeployProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PROCESSOR: - serviceImpl.createProcessor( - (com.google.cloud.documentai.v1.CreateProcessorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PROCESSOR: - serviceImpl.deleteProcessor( - (com.google.cloud.documentai.v1.DeleteProcessorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ENABLE_PROCESSOR: - serviceImpl.enableProcessor( - (com.google.cloud.documentai.v1.EnableProcessorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DISABLE_PROCESSOR: - serviceImpl.disableProcessor( - (com.google.cloud.documentai.v1.DisableProcessorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_DEFAULT_PROCESSOR_VERSION: - serviceImpl.setDefaultProcessorVersion( - (com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REVIEW_DOCUMENT: - serviceImpl.reviewDocument( - (com.google.cloud.documentai.v1.ReviewDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EVALUATE_PROCESSOR_VERSION: - serviceImpl.evaluateProcessorVersion( - (com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_EVALUATION: - serviceImpl.getEvaluation( - (com.google.cloud.documentai.v1.GetEvaluationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_EVALUATIONS: - serviceImpl.listEvaluations( - (com.google.cloud.documentai.v1.ListEvaluationsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getProcessDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.ProcessRequest, - com.google.cloud.documentai.v1.ProcessResponse>( - service, METHODID_PROCESS_DOCUMENT))) - .addMethod( - getBatchProcessDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.BatchProcessRequest, - com.google.longrunning.Operation>(service, METHODID_BATCH_PROCESS_DOCUMENTS))) - .addMethod( - getFetchProcessorTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.FetchProcessorTypesRequest, - com.google.cloud.documentai.v1.FetchProcessorTypesResponse>( - service, METHODID_FETCH_PROCESSOR_TYPES))) - .addMethod( - getListProcessorTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.ListProcessorTypesRequest, - com.google.cloud.documentai.v1.ListProcessorTypesResponse>( - service, METHODID_LIST_PROCESSOR_TYPES))) - .addMethod( - getGetProcessorTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.GetProcessorTypeRequest, - com.google.cloud.documentai.v1.ProcessorType>( - service, METHODID_GET_PROCESSOR_TYPE))) - .addMethod( - getListProcessorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.ListProcessorsRequest, - com.google.cloud.documentai.v1.ListProcessorsResponse>( - service, METHODID_LIST_PROCESSORS))) - .addMethod( - getGetProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.GetProcessorRequest, - com.google.cloud.documentai.v1.Processor>(service, METHODID_GET_PROCESSOR))) - .addMethod( - getTrainProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.TrainProcessorVersionRequest, - com.google.longrunning.Operation>(service, METHODID_TRAIN_PROCESSOR_VERSION))) - .addMethod( - getGetProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.GetProcessorVersionRequest, - com.google.cloud.documentai.v1.ProcessorVersion>( - service, METHODID_GET_PROCESSOR_VERSION))) - .addMethod( - getListProcessorVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.ListProcessorVersionsRequest, - com.google.cloud.documentai.v1.ListProcessorVersionsResponse>( - service, METHODID_LIST_PROCESSOR_VERSIONS))) - .addMethod( - getDeleteProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_PROCESSOR_VERSION))) - .addMethod( - getDeployProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.DeployProcessorVersionRequest, - com.google.longrunning.Operation>(service, METHODID_DEPLOY_PROCESSOR_VERSION))) - .addMethod( - getUndeployProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest, - com.google.longrunning.Operation>( - service, METHODID_UNDEPLOY_PROCESSOR_VERSION))) - .addMethod( - getCreateProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.CreateProcessorRequest, - com.google.cloud.documentai.v1.Processor>(service, METHODID_CREATE_PROCESSOR))) - .addMethod( - getDeleteProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.DeleteProcessorRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_PROCESSOR))) - .addMethod( - getEnableProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.EnableProcessorRequest, - com.google.longrunning.Operation>(service, METHODID_ENABLE_PROCESSOR))) - .addMethod( - getDisableProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.DisableProcessorRequest, - com.google.longrunning.Operation>(service, METHODID_DISABLE_PROCESSOR))) - .addMethod( - getSetDefaultProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation>( - service, METHODID_SET_DEFAULT_PROCESSOR_VERSION))) - .addMethod( - getReviewDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.ReviewDocumentRequest, - com.google.longrunning.Operation>(service, METHODID_REVIEW_DOCUMENT))) - .addMethod( - getEvaluateProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest, - com.google.longrunning.Operation>( - service, METHODID_EVALUATE_PROCESSOR_VERSION))) - .addMethod( - getGetEvaluationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.GetEvaluationRequest, - com.google.cloud.documentai.v1.Evaluation>(service, METHODID_GET_EVALUATION))) - .addMethod( - getListEvaluationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.ListEvaluationsRequest, - com.google.cloud.documentai.v1.ListEvaluationsResponse>( - service, METHODID_LIST_EVALUATIONS))) - .build(); - } - - private abstract static class DocumentProcessorServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DocumentProcessorServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.documentai.v1.DocumentAiProcessorService.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DocumentProcessorService"); - } - } - - private static final class DocumentProcessorServiceFileDescriptorSupplier - extends DocumentProcessorServiceBaseDescriptorSupplier { - DocumentProcessorServiceFileDescriptorSupplier() {} - } - - private static final class DocumentProcessorServiceMethodDescriptorSupplier - extends DocumentProcessorServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DocumentProcessorServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DocumentProcessorServiceFileDescriptorSupplier()) - .addMethod(getProcessDocumentMethod()) - .addMethod(getBatchProcessDocumentsMethod()) - .addMethod(getFetchProcessorTypesMethod()) - .addMethod(getListProcessorTypesMethod()) - .addMethod(getGetProcessorTypeMethod()) - .addMethod(getListProcessorsMethod()) - .addMethod(getGetProcessorMethod()) - .addMethod(getTrainProcessorVersionMethod()) - .addMethod(getGetProcessorVersionMethod()) - .addMethod(getListProcessorVersionsMethod()) - .addMethod(getDeleteProcessorVersionMethod()) - .addMethod(getDeployProcessorVersionMethod()) - .addMethod(getUndeployProcessorVersionMethod()) - .addMethod(getCreateProcessorMethod()) - .addMethod(getDeleteProcessorMethod()) - .addMethod(getEnableProcessorMethod()) - .addMethod(getDisableProcessorMethod()) - .addMethod(getSetDefaultProcessorVersionMethod()) - .addMethod(getReviewDocumentMethod()) - .addMethod(getEvaluateProcessorVersionMethod()) - .addMethod(getGetEvaluationMethod()) - .addMethod(getListEvaluationsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceGrpc.java b/java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceGrpc.java deleted file mode 100644 index 1b3250bdc239..000000000000 --- a/java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceGrpc.java +++ /dev/null @@ -1,3150 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.documentai.v1beta3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service to call Document AI to process documents according to the
- * processor's definition. Processors are built using state-of-the-art Google
- * AI such as natural language, computer vision, and translation to extract
- * structured information from unstructured or semi-structured documents.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/documentai/v1beta3/document_processor_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DocumentProcessorServiceGrpc { - - private DocumentProcessorServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.documentai.v1beta3.DocumentProcessorService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ProcessRequest, - com.google.cloud.documentai.v1beta3.ProcessResponse> - getProcessDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ProcessDocument", - requestType = com.google.cloud.documentai.v1beta3.ProcessRequest.class, - responseType = com.google.cloud.documentai.v1beta3.ProcessResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ProcessRequest, - com.google.cloud.documentai.v1beta3.ProcessResponse> - getProcessDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ProcessRequest, - com.google.cloud.documentai.v1beta3.ProcessResponse> - getProcessDocumentMethod; - if ((getProcessDocumentMethod = DocumentProcessorServiceGrpc.getProcessDocumentMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getProcessDocumentMethod = DocumentProcessorServiceGrpc.getProcessDocumentMethod) - == null) { - DocumentProcessorServiceGrpc.getProcessDocumentMethod = - getProcessDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProcessDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ProcessRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ProcessResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("ProcessDocument")) - .build(); - } - } - } - return getProcessDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.BatchProcessRequest, com.google.longrunning.Operation> - getBatchProcessDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchProcessDocuments", - requestType = com.google.cloud.documentai.v1beta3.BatchProcessRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.BatchProcessRequest, com.google.longrunning.Operation> - getBatchProcessDocumentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.BatchProcessRequest, - com.google.longrunning.Operation> - getBatchProcessDocumentsMethod; - if ((getBatchProcessDocumentsMethod = - DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getBatchProcessDocumentsMethod = - DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod) - == null) { - DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod = - getBatchProcessDocumentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchProcessDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.BatchProcessRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "BatchProcessDocuments")) - .build(); - } - } - } - return getBatchProcessDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest, - com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse> - getFetchProcessorTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchProcessorTypes", - requestType = com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest.class, - responseType = com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest, - com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse> - getFetchProcessorTypesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest, - com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse> - getFetchProcessorTypesMethod; - if ((getFetchProcessorTypesMethod = DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getFetchProcessorTypesMethod = - DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod) - == null) { - DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod = - getFetchProcessorTypesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "FetchProcessorTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "FetchProcessorTypes")) - .build(); - } - } - } - return getFetchProcessorTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest, - com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse> - getListProcessorTypesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProcessorTypes", - requestType = com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest.class, - responseType = com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest, - com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse> - getListProcessorTypesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest, - com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse> - getListProcessorTypesMethod; - if ((getListProcessorTypesMethod = DocumentProcessorServiceGrpc.getListProcessorTypesMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getListProcessorTypesMethod = DocumentProcessorServiceGrpc.getListProcessorTypesMethod) - == null) { - DocumentProcessorServiceGrpc.getListProcessorTypesMethod = - getListProcessorTypesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProcessorTypes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "ListProcessorTypes")) - .build(); - } - } - } - return getListProcessorTypesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest, - com.google.cloud.documentai.v1beta3.ProcessorType> - getGetProcessorTypeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProcessorType", - requestType = com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest.class, - responseType = com.google.cloud.documentai.v1beta3.ProcessorType.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest, - com.google.cloud.documentai.v1beta3.ProcessorType> - getGetProcessorTypeMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest, - com.google.cloud.documentai.v1beta3.ProcessorType> - getGetProcessorTypeMethod; - if ((getGetProcessorTypeMethod = DocumentProcessorServiceGrpc.getGetProcessorTypeMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getGetProcessorTypeMethod = DocumentProcessorServiceGrpc.getGetProcessorTypeMethod) - == null) { - DocumentProcessorServiceGrpc.getGetProcessorTypeMethod = - getGetProcessorTypeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProcessorType")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ProcessorType - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("GetProcessorType")) - .build(); - } - } - } - return getGetProcessorTypeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorsResponse> - getListProcessorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProcessors", - requestType = com.google.cloud.documentai.v1beta3.ListProcessorsRequest.class, - responseType = com.google.cloud.documentai.v1beta3.ListProcessorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorsResponse> - getListProcessorsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorsResponse> - getListProcessorsMethod; - if ((getListProcessorsMethod = DocumentProcessorServiceGrpc.getListProcessorsMethod) == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getListProcessorsMethod = DocumentProcessorServiceGrpc.getListProcessorsMethod) - == null) { - DocumentProcessorServiceGrpc.getListProcessorsMethod = - getListProcessorsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProcessors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListProcessorsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListProcessorsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("ListProcessors")) - .build(); - } - } - } - return getListProcessorsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor> - getGetProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProcessor", - requestType = com.google.cloud.documentai.v1beta3.GetProcessorRequest.class, - responseType = com.google.cloud.documentai.v1beta3.Processor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor> - getGetProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor> - getGetProcessorMethod; - if ((getGetProcessorMethod = DocumentProcessorServiceGrpc.getGetProcessorMethod) == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getGetProcessorMethod = DocumentProcessorServiceGrpc.getGetProcessorMethod) == null) { - DocumentProcessorServiceGrpc.getGetProcessorMethod = - getGetProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.GetProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.Processor.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("GetProcessor")) - .build(); - } - } - } - return getGetProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest, - com.google.longrunning.Operation> - getTrainProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TrainProcessorVersion", - requestType = com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest, - com.google.longrunning.Operation> - getTrainProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest, - com.google.longrunning.Operation> - getTrainProcessorVersionMethod; - if ((getTrainProcessorVersionMethod = - DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getTrainProcessorVersionMethod = - DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod = - getTrainProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "TrainProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "TrainProcessorVersion")) - .build(); - } - } - } - return getTrainProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest, - com.google.cloud.documentai.v1beta3.ProcessorVersion> - getGetProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProcessorVersion", - requestType = com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest.class, - responseType = com.google.cloud.documentai.v1beta3.ProcessorVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest, - com.google.cloud.documentai.v1beta3.ProcessorVersion> - getGetProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest, - com.google.cloud.documentai.v1beta3.ProcessorVersion> - getGetProcessorVersionMethod; - if ((getGetProcessorVersionMethod = DocumentProcessorServiceGrpc.getGetProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getGetProcessorVersionMethod = - DocumentProcessorServiceGrpc.getGetProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getGetProcessorVersionMethod = - getGetProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ProcessorVersion - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "GetProcessorVersion")) - .build(); - } - } - } - return getGetProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse> - getListProcessorVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListProcessorVersions", - requestType = com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest.class, - responseType = com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse> - getListProcessorVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse> - getListProcessorVersionsMethod; - if ((getListProcessorVersionsMethod = - DocumentProcessorServiceGrpc.getListProcessorVersionsMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getListProcessorVersionsMethod = - DocumentProcessorServiceGrpc.getListProcessorVersionsMethod) - == null) { - DocumentProcessorServiceGrpc.getListProcessorVersionsMethod = - getListProcessorVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListProcessorVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "ListProcessorVersions")) - .build(); - } - } - } - return getListProcessorVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest, - com.google.longrunning.Operation> - getDeleteProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProcessorVersion", - requestType = com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest, - com.google.longrunning.Operation> - getDeleteProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest, - com.google.longrunning.Operation> - getDeleteProcessorVersionMethod; - if ((getDeleteProcessorVersionMethod = - DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getDeleteProcessorVersionMethod = - DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod = - getDeleteProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "DeleteProcessorVersion")) - .build(); - } - } - } - return getDeleteProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest, - com.google.longrunning.Operation> - getDeployProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeployProcessorVersion", - requestType = com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest, - com.google.longrunning.Operation> - getDeployProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest, - com.google.longrunning.Operation> - getDeployProcessorVersionMethod; - if ((getDeployProcessorVersionMethod = - DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getDeployProcessorVersionMethod = - DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod = - getDeployProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeployProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "DeployProcessorVersion")) - .build(); - } - } - } - return getDeployProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest, - com.google.longrunning.Operation> - getUndeployProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UndeployProcessorVersion", - requestType = com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest, - com.google.longrunning.Operation> - getUndeployProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest, - com.google.longrunning.Operation> - getUndeployProcessorVersionMethod; - if ((getUndeployProcessorVersionMethod = - DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getUndeployProcessorVersionMethod = - DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod = - getUndeployProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UndeployProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "UndeployProcessorVersion")) - .build(); - } - } - } - return getUndeployProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.CreateProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor> - getCreateProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateProcessor", - requestType = com.google.cloud.documentai.v1beta3.CreateProcessorRequest.class, - responseType = com.google.cloud.documentai.v1beta3.Processor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.CreateProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor> - getCreateProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.CreateProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor> - getCreateProcessorMethod; - if ((getCreateProcessorMethod = DocumentProcessorServiceGrpc.getCreateProcessorMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getCreateProcessorMethod = DocumentProcessorServiceGrpc.getCreateProcessorMethod) - == null) { - DocumentProcessorServiceGrpc.getCreateProcessorMethod = - getCreateProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.CreateProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.Processor.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("CreateProcessor")) - .build(); - } - } - } - return getCreateProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest, - com.google.longrunning.Operation> - getDeleteProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteProcessor", - requestType = com.google.cloud.documentai.v1beta3.DeleteProcessorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest, - com.google.longrunning.Operation> - getDeleteProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest, - com.google.longrunning.Operation> - getDeleteProcessorMethod; - if ((getDeleteProcessorMethod = DocumentProcessorServiceGrpc.getDeleteProcessorMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getDeleteProcessorMethod = DocumentProcessorServiceGrpc.getDeleteProcessorMethod) - == null) { - DocumentProcessorServiceGrpc.getDeleteProcessorMethod = - getDeleteProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("DeleteProcessor")) - .build(); - } - } - } - return getDeleteProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.EnableProcessorRequest, - com.google.longrunning.Operation> - getEnableProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EnableProcessor", - requestType = com.google.cloud.documentai.v1beta3.EnableProcessorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.EnableProcessorRequest, - com.google.longrunning.Operation> - getEnableProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.EnableProcessorRequest, - com.google.longrunning.Operation> - getEnableProcessorMethod; - if ((getEnableProcessorMethod = DocumentProcessorServiceGrpc.getEnableProcessorMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getEnableProcessorMethod = DocumentProcessorServiceGrpc.getEnableProcessorMethod) - == null) { - DocumentProcessorServiceGrpc.getEnableProcessorMethod = - getEnableProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnableProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.EnableProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("EnableProcessor")) - .build(); - } - } - } - return getEnableProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DisableProcessorRequest, - com.google.longrunning.Operation> - getDisableProcessorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DisableProcessor", - requestType = com.google.cloud.documentai.v1beta3.DisableProcessorRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DisableProcessorRequest, - com.google.longrunning.Operation> - getDisableProcessorMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.DisableProcessorRequest, - com.google.longrunning.Operation> - getDisableProcessorMethod; - if ((getDisableProcessorMethod = DocumentProcessorServiceGrpc.getDisableProcessorMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getDisableProcessorMethod = DocumentProcessorServiceGrpc.getDisableProcessorMethod) - == null) { - DocumentProcessorServiceGrpc.getDisableProcessorMethod = - getDisableProcessorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DisableProcessor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.DisableProcessorRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("DisableProcessor")) - .build(); - } - } - } - return getDisableProcessorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation> - getSetDefaultProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetDefaultProcessorVersion", - requestType = com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation> - getSetDefaultProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation> - getSetDefaultProcessorVersionMethod; - if ((getSetDefaultProcessorVersionMethod = - DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getSetDefaultProcessorVersionMethod = - DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod = - getSetDefaultProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetDefaultProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "SetDefaultProcessorVersion")) - .build(); - } - } - } - return getSetDefaultProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest, - com.google.longrunning.Operation> - getReviewDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReviewDocument", - requestType = com.google.cloud.documentai.v1beta3.ReviewDocumentRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest, - com.google.longrunning.Operation> - getReviewDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest, - com.google.longrunning.Operation> - getReviewDocumentMethod; - if ((getReviewDocumentMethod = DocumentProcessorServiceGrpc.getReviewDocumentMethod) == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getReviewDocumentMethod = DocumentProcessorServiceGrpc.getReviewDocumentMethod) - == null) { - DocumentProcessorServiceGrpc.getReviewDocumentMethod = - getReviewDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReviewDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("ReviewDocument")) - .build(); - } - } - } - return getReviewDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest, - com.google.longrunning.Operation> - getEvaluateProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "EvaluateProcessorVersion", - requestType = com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest, - com.google.longrunning.Operation> - getEvaluateProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest, - com.google.longrunning.Operation> - getEvaluateProcessorVersionMethod; - if ((getEvaluateProcessorVersionMethod = - DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getEvaluateProcessorVersionMethod = - DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod = - getEvaluateProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "EvaluateProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "EvaluateProcessorVersion")) - .build(); - } - } - } - return getEvaluateProcessorVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetEvaluationRequest, - com.google.cloud.documentai.v1beta3.Evaluation> - getGetEvaluationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEvaluation", - requestType = com.google.cloud.documentai.v1beta3.GetEvaluationRequest.class, - responseType = com.google.cloud.documentai.v1beta3.Evaluation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetEvaluationRequest, - com.google.cloud.documentai.v1beta3.Evaluation> - getGetEvaluationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetEvaluationRequest, - com.google.cloud.documentai.v1beta3.Evaluation> - getGetEvaluationMethod; - if ((getGetEvaluationMethod = DocumentProcessorServiceGrpc.getGetEvaluationMethod) == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getGetEvaluationMethod = DocumentProcessorServiceGrpc.getGetEvaluationMethod) - == null) { - DocumentProcessorServiceGrpc.getGetEvaluationMethod = - getGetEvaluationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEvaluation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.GetEvaluationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.Evaluation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("GetEvaluation")) - .build(); - } - } - } - return getGetEvaluationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListEvaluationsRequest, - com.google.cloud.documentai.v1beta3.ListEvaluationsResponse> - getListEvaluationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEvaluations", - requestType = com.google.cloud.documentai.v1beta3.ListEvaluationsRequest.class, - responseType = com.google.cloud.documentai.v1beta3.ListEvaluationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListEvaluationsRequest, - com.google.cloud.documentai.v1beta3.ListEvaluationsResponse> - getListEvaluationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListEvaluationsRequest, - com.google.cloud.documentai.v1beta3.ListEvaluationsResponse> - getListEvaluationsMethod; - if ((getListEvaluationsMethod = DocumentProcessorServiceGrpc.getListEvaluationsMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getListEvaluationsMethod = DocumentProcessorServiceGrpc.getListEvaluationsMethod) - == null) { - DocumentProcessorServiceGrpc.getListEvaluationsMethod = - getListEvaluationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEvaluations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListEvaluationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListEvaluationsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier("ListEvaluations")) - .build(); - } - } - } - return getListEvaluationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest, - com.google.longrunning.Operation> - getImportProcessorVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportProcessorVersion", - requestType = com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest, - com.google.longrunning.Operation> - getImportProcessorVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest, - com.google.longrunning.Operation> - getImportProcessorVersionMethod; - if ((getImportProcessorVersionMethod = - DocumentProcessorServiceGrpc.getImportProcessorVersionMethod) - == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - if ((getImportProcessorVersionMethod = - DocumentProcessorServiceGrpc.getImportProcessorVersionMethod) - == null) { - DocumentProcessorServiceGrpc.getImportProcessorVersionMethod = - getImportProcessorVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ImportProcessorVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentProcessorServiceMethodDescriptorSupplier( - "ImportProcessorVersion")) - .build(); - } - } - } - return getImportProcessorVersionMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DocumentProcessorServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentProcessorServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceStub(channel, callOptions); - } - }; - return DocumentProcessorServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DocumentProcessorServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentProcessorServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceBlockingStub(channel, callOptions); - } - }; - return DocumentProcessorServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DocumentProcessorServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentProcessorServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceFutureStub(channel, callOptions); - } - }; - return DocumentProcessorServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - default void processDocument( - com.google.cloud.documentai.v1beta3.ProcessRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getProcessDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * LRO endpoint to batch process many documents. The output is written
-     * to Cloud Storage as JSON in the [Document] format.
-     * 
- */ - default void batchProcessDocuments( - com.google.cloud.documentai.v1beta3.BatchProcessRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchProcessDocumentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches processor types. Note that we don't use
-     * [ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes]
-     * here, because it isn't paginated.
-     * 
- */ - default void fetchProcessorTypes( - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchProcessorTypesMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists the processor types that exist.
-     * 
- */ - default void listProcessorTypes( - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorTypesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor type detail.
-     * 
- */ - default void getProcessorType( - com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProcessorTypeMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all processors which belong to this project.
-     * 
- */ - default void listProcessors( - com.google.cloud.documentai.v1beta3.ListProcessorsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - default void getProcessor( - com.google.cloud.documentai.v1beta3.GetProcessorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Trains a new processor version.
-     * Operation metadata is returned as
-     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata].
-     * 
- */ - default void trainProcessorVersion( - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTrainProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - default void getProcessorVersion( - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all versions of a processor.
-     * 
- */ - default void listProcessorVersions( - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the processor version, all artifacts under the processor version
-     * will be deleted.
-     * 
- */ - default void deleteProcessorVersion( - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deploys the processor version.
-     * 
- */ - default void deployProcessorVersion( - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeployProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Undeploys the processor version.
-     * 
- */ - default void undeployProcessorVersion( - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUndeployProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a processor from the
-     * [ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] provided.
-     * The processor will be at `ENABLED` state by default after its creation.
-     * 
- */ - default void createProcessor( - com.google.cloud.documentai.v1beta3.CreateProcessorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the processor, unloads all deployed model artifacts if it was
-     * enabled and then deletes all artifacts associated with this processor.
-     * 
- */ - default void deleteProcessor( - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - default void enableProcessor( - com.google.cloud.documentai.v1beta3.EnableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getEnableProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - default void disableProcessor( - com.google.cloud.documentai.v1beta3.DisableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDisableProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Set the default (active) version of a
-     * [Processor][google.cloud.documentai.v1beta3.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument]
-     * and
-     * [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments].
-     * 
- */ - default void setDefaultProcessorVersion( - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetDefaultProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Send a document for Human Review. The input document should be processed by
-     * the specified processor.
-     * 
- */ - default void reviewDocument( - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReviewDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * Evaluates a ProcessorVersion against annotated documents, producing an
-     * Evaluation.
-     * 
- */ - default void evaluateProcessorVersion( - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getEvaluateProcessorVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a specific evaluation.
-     * 
- */ - default void getEvaluation( - com.google.cloud.documentai.v1beta3.GetEvaluationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetEvaluationMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves a set of evaluations for a given processor version.
-     * 
- */ - default void listEvaluations( - com.google.cloud.documentai.v1beta3.ListEvaluationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListEvaluationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports a processor version from source processor version.
-     * 
- */ - default void importProcessorVersion( - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportProcessorVersionMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DocumentProcessorService. - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public abstract static class DocumentProcessorServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DocumentProcessorServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DocumentProcessorService. - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public static final class DocumentProcessorServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DocumentProcessorServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentProcessorServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - public void processDocument( - com.google.cloud.documentai.v1beta3.ProcessRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getProcessDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * LRO endpoint to batch process many documents. The output is written
-     * to Cloud Storage as JSON in the [Document] format.
-     * 
- */ - public void batchProcessDocuments( - com.google.cloud.documentai.v1beta3.BatchProcessRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches processor types. Note that we don't use
-     * [ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes]
-     * here, because it isn't paginated.
-     * 
- */ - public void fetchProcessorTypes( - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchProcessorTypesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists the processor types that exist.
-     * 
- */ - public void listProcessorTypes( - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListProcessorTypesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a processor type detail.
-     * 
- */ - public void getProcessorType( - com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProcessorTypeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all processors which belong to this project.
-     * 
- */ - public void listProcessors( - com.google.cloud.documentai.v1beta3.ListProcessorsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListProcessorsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - public void getProcessor( - com.google.cloud.documentai.v1beta3.GetProcessorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Trains a new processor version.
-     * Operation metadata is returned as
-     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata].
-     * 
- */ - public void trainProcessorVersion( - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTrainProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - public void getProcessorVersion( - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all versions of a processor.
-     * 
- */ - public void listProcessorVersions( - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListProcessorVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the processor version, all artifacts under the processor version
-     * will be deleted.
-     * 
- */ - public void deleteProcessorVersion( - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deploys the processor version.
-     * 
- */ - public void deployProcessorVersion( - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeployProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Undeploys the processor version.
-     * 
- */ - public void undeployProcessorVersion( - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeployProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a processor from the
-     * [ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] provided.
-     * The processor will be at `ENABLED` state by default after its creation.
-     * 
- */ - public void createProcessor( - com.google.cloud.documentai.v1beta3.CreateProcessorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the processor, unloads all deployed model artifacts if it was
-     * enabled and then deletes all artifacts associated with this processor.
-     * 
- */ - public void deleteProcessor( - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - public void enableProcessor( - com.google.cloud.documentai.v1beta3.EnableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEnableProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - public void disableProcessor( - com.google.cloud.documentai.v1beta3.DisableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDisableProcessorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Set the default (active) version of a
-     * [Processor][google.cloud.documentai.v1beta3.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument]
-     * and
-     * [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments].
-     * 
- */ - public void setDefaultProcessorVersion( - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetDefaultProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Send a document for Human Review. The input document should be processed by
-     * the specified processor.
-     * 
- */ - public void reviewDocument( - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReviewDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Evaluates a ProcessorVersion against annotated documents, producing an
-     * Evaluation.
-     * 
- */ - public void evaluateProcessorVersion( - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getEvaluateProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves a specific evaluation.
-     * 
- */ - public void getEvaluation( - com.google.cloud.documentai.v1beta3.GetEvaluationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEvaluationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves a set of evaluations for a given processor version.
-     * 
- */ - public void listEvaluations( - com.google.cloud.documentai.v1beta3.ListEvaluationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEvaluationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports a processor version from source processor version.
-     * 
- */ - public void importProcessorVersion( - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportProcessorVersionMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DocumentProcessorService. - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public static final class DocumentProcessorServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DocumentProcessorServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentProcessorServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.ProcessResponse processDocument( - com.google.cloud.documentai.v1beta3.ProcessRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getProcessDocumentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * LRO endpoint to batch process many documents. The output is written
-     * to Cloud Storage as JSON in the [Document] format.
-     * 
- */ - public com.google.longrunning.Operation batchProcessDocuments( - com.google.cloud.documentai.v1beta3.BatchProcessRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchProcessDocumentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches processor types. Note that we don't use
-     * [ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes]
-     * here, because it isn't paginated.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse fetchProcessorTypes( - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchProcessorTypesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists the processor types that exist.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse listProcessorTypes( - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListProcessorTypesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a processor type detail.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.ProcessorType getProcessorType( - com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProcessorTypeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all processors which belong to this project.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.ListProcessorsResponse listProcessors( - com.google.cloud.documentai.v1beta3.ListProcessorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListProcessorsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.Processor getProcessor( - com.google.cloud.documentai.v1beta3.GetProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Trains a new processor version.
-     * Operation metadata is returned as
-     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata].
-     * 
- */ - public com.google.longrunning.Operation trainProcessorVersion( - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTrainProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.ProcessorVersion getProcessorVersion( - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all versions of a processor.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse listProcessorVersions( - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListProcessorVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the processor version, all artifacts under the processor version
-     * will be deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteProcessorVersion( - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deploys the processor version.
-     * 
- */ - public com.google.longrunning.Operation deployProcessorVersion( - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeployProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Undeploys the processor version.
-     * 
- */ - public com.google.longrunning.Operation undeployProcessorVersion( - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUndeployProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a processor from the
-     * [ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] provided.
-     * The processor will be at `ENABLED` state by default after its creation.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.Processor createProcessor( - com.google.cloud.documentai.v1beta3.CreateProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the processor, unloads all deployed model artifacts if it was
-     * enabled and then deletes all artifacts associated with this processor.
-     * 
- */ - public com.google.longrunning.Operation deleteProcessor( - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - public com.google.longrunning.Operation enableProcessor( - com.google.cloud.documentai.v1beta3.EnableProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getEnableProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - public com.google.longrunning.Operation disableProcessor( - com.google.cloud.documentai.v1beta3.DisableProcessorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDisableProcessorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Set the default (active) version of a
-     * [Processor][google.cloud.documentai.v1beta3.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument]
-     * and
-     * [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments].
-     * 
- */ - public com.google.longrunning.Operation setDefaultProcessorVersion( - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetDefaultProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Send a document for Human Review. The input document should be processed by
-     * the specified processor.
-     * 
- */ - public com.google.longrunning.Operation reviewDocument( - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReviewDocumentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Evaluates a ProcessorVersion against annotated documents, producing an
-     * Evaluation.
-     * 
- */ - public com.google.longrunning.Operation evaluateProcessorVersion( - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getEvaluateProcessorVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a specific evaluation.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.Evaluation getEvaluation( - com.google.cloud.documentai.v1beta3.GetEvaluationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEvaluationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves a set of evaluations for a given processor version.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.ListEvaluationsResponse listEvaluations( - com.google.cloud.documentai.v1beta3.ListEvaluationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEvaluationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports a processor version from source processor version.
-     * 
- */ - public com.google.longrunning.Operation importProcessorVersion( - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportProcessorVersionMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * DocumentProcessorService. - * - *
-   * Service to call Document AI to process documents according to the
-   * processor's definition. Processors are built using state-of-the-art Google
-   * AI such as natural language, computer vision, and translation to extract
-   * structured information from unstructured or semi-structured documents.
-   * 
- */ - public static final class DocumentProcessorServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DocumentProcessorServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentProcessorServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentProcessorServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.ProcessResponse> - processDocument(com.google.cloud.documentai.v1beta3.ProcessRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getProcessDocumentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * LRO endpoint to batch process many documents. The output is written
-     * to Cloud Storage as JSON in the [Document] format.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchProcessDocuments(com.google.cloud.documentai.v1beta3.BatchProcessRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches processor types. Note that we don't use
-     * [ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes]
-     * here, because it isn't paginated.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse> - fetchProcessorTypes( - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchProcessorTypesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists the processor types that exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse> - listProcessorTypes(com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListProcessorTypesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a processor type detail.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.ProcessorType> - getProcessorType(com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProcessorTypeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all processors which belong to this project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.ListProcessorsResponse> - listProcessors(com.google.cloud.documentai.v1beta3.ListProcessorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListProcessorsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.Processor> - getProcessor(com.google.cloud.documentai.v1beta3.GetProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Trains a new processor version.
-     * Operation metadata is returned as
-     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - trainProcessorVersion( - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTrainProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.ProcessorVersion> - getProcessorVersion( - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all versions of a processor.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse> - listProcessorVersions( - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListProcessorVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the processor version, all artifacts under the processor version
-     * will be deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteProcessorVersion( - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deploys the processor version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deployProcessorVersion( - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeployProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Undeploys the processor version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - undeployProcessorVersion( - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUndeployProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a processor from the
-     * [ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] provided.
-     * The processor will be at `ENABLED` state by default after its creation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.Processor> - createProcessor(com.google.cloud.documentai.v1beta3.CreateProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the processor, unloads all deployed model artifacts if it was
-     * enabled and then deletes all artifacts associated with this processor.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteProcessor(com.google.cloud.documentai.v1beta3.DeleteProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - enableProcessor(com.google.cloud.documentai.v1beta3.EnableProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getEnableProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - disableProcessor(com.google.cloud.documentai.v1beta3.DisableProcessorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDisableProcessorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Set the default (active) version of a
-     * [Processor][google.cloud.documentai.v1beta3.Processor] that will be used in
-     * [ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument]
-     * and
-     * [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setDefaultProcessorVersion( - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetDefaultProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Send a document for Human Review. The input document should be processed by
-     * the specified processor.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - reviewDocument(com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReviewDocumentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Evaluates a ProcessorVersion against annotated documents, producing an
-     * Evaluation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - evaluateProcessorVersion( - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getEvaluateProcessorVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a specific evaluation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.Evaluation> - getEvaluation(com.google.cloud.documentai.v1beta3.GetEvaluationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEvaluationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves a set of evaluations for a given processor version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.ListEvaluationsResponse> - listEvaluations(com.google.cloud.documentai.v1beta3.ListEvaluationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEvaluationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports a processor version from source processor version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importProcessorVersion( - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportProcessorVersionMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_PROCESS_DOCUMENT = 0; - private static final int METHODID_BATCH_PROCESS_DOCUMENTS = 1; - private static final int METHODID_FETCH_PROCESSOR_TYPES = 2; - private static final int METHODID_LIST_PROCESSOR_TYPES = 3; - private static final int METHODID_GET_PROCESSOR_TYPE = 4; - private static final int METHODID_LIST_PROCESSORS = 5; - private static final int METHODID_GET_PROCESSOR = 6; - private static final int METHODID_TRAIN_PROCESSOR_VERSION = 7; - private static final int METHODID_GET_PROCESSOR_VERSION = 8; - private static final int METHODID_LIST_PROCESSOR_VERSIONS = 9; - private static final int METHODID_DELETE_PROCESSOR_VERSION = 10; - private static final int METHODID_DEPLOY_PROCESSOR_VERSION = 11; - private static final int METHODID_UNDEPLOY_PROCESSOR_VERSION = 12; - private static final int METHODID_CREATE_PROCESSOR = 13; - private static final int METHODID_DELETE_PROCESSOR = 14; - private static final int METHODID_ENABLE_PROCESSOR = 15; - private static final int METHODID_DISABLE_PROCESSOR = 16; - private static final int METHODID_SET_DEFAULT_PROCESSOR_VERSION = 17; - private static final int METHODID_REVIEW_DOCUMENT = 18; - private static final int METHODID_EVALUATE_PROCESSOR_VERSION = 19; - private static final int METHODID_GET_EVALUATION = 20; - private static final int METHODID_LIST_EVALUATIONS = 21; - private static final int METHODID_IMPORT_PROCESSOR_VERSION = 22; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_PROCESS_DOCUMENT: - serviceImpl.processDocument( - (com.google.cloud.documentai.v1beta3.ProcessRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_PROCESS_DOCUMENTS: - serviceImpl.batchProcessDocuments( - (com.google.cloud.documentai.v1beta3.BatchProcessRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_PROCESSOR_TYPES: - serviceImpl.fetchProcessorTypes( - (com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse>) - responseObserver); - break; - case METHODID_LIST_PROCESSOR_TYPES: - serviceImpl.listProcessorTypes( - (com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse>) - responseObserver); - break; - case METHODID_GET_PROCESSOR_TYPE: - serviceImpl.getProcessorType( - (com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PROCESSORS: - serviceImpl.listProcessors( - (com.google.cloud.documentai.v1beta3.ListProcessorsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1beta3.ListProcessorsResponse>) - responseObserver); - break; - case METHODID_GET_PROCESSOR: - serviceImpl.getProcessor( - (com.google.cloud.documentai.v1beta3.GetProcessorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_TRAIN_PROCESSOR_VERSION: - serviceImpl.trainProcessorVersion( - (com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROCESSOR_VERSION: - serviceImpl.getProcessorVersion( - (com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_PROCESSOR_VERSIONS: - serviceImpl.listProcessorVersions( - (com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse>) - responseObserver); - break; - case METHODID_DELETE_PROCESSOR_VERSION: - serviceImpl.deleteProcessorVersion( - (com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DEPLOY_PROCESSOR_VERSION: - serviceImpl.deployProcessorVersion( - (com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNDEPLOY_PROCESSOR_VERSION: - serviceImpl.undeployProcessorVersion( - (com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_PROCESSOR: - serviceImpl.createProcessor( - (com.google.cloud.documentai.v1beta3.CreateProcessorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PROCESSOR: - serviceImpl.deleteProcessor( - (com.google.cloud.documentai.v1beta3.DeleteProcessorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ENABLE_PROCESSOR: - serviceImpl.enableProcessor( - (com.google.cloud.documentai.v1beta3.EnableProcessorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DISABLE_PROCESSOR: - serviceImpl.disableProcessor( - (com.google.cloud.documentai.v1beta3.DisableProcessorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_DEFAULT_PROCESSOR_VERSION: - serviceImpl.setDefaultProcessorVersion( - (com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REVIEW_DOCUMENT: - serviceImpl.reviewDocument( - (com.google.cloud.documentai.v1beta3.ReviewDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EVALUATE_PROCESSOR_VERSION: - serviceImpl.evaluateProcessorVersion( - (com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_EVALUATION: - serviceImpl.getEvaluation( - (com.google.cloud.documentai.v1beta3.GetEvaluationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_EVALUATIONS: - serviceImpl.listEvaluations( - (com.google.cloud.documentai.v1beta3.ListEvaluationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1beta3.ListEvaluationsResponse>) - responseObserver); - break; - case METHODID_IMPORT_PROCESSOR_VERSION: - serviceImpl.importProcessorVersion( - (com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getProcessDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ProcessRequest, - com.google.cloud.documentai.v1beta3.ProcessResponse>( - service, METHODID_PROCESS_DOCUMENT))) - .addMethod( - getBatchProcessDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.BatchProcessRequest, - com.google.longrunning.Operation>(service, METHODID_BATCH_PROCESS_DOCUMENTS))) - .addMethod( - getFetchProcessorTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest, - com.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse>( - service, METHODID_FETCH_PROCESSOR_TYPES))) - .addMethod( - getListProcessorTypesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest, - com.google.cloud.documentai.v1beta3.ListProcessorTypesResponse>( - service, METHODID_LIST_PROCESSOR_TYPES))) - .addMethod( - getGetProcessorTypeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.GetProcessorTypeRequest, - com.google.cloud.documentai.v1beta3.ProcessorType>( - service, METHODID_GET_PROCESSOR_TYPE))) - .addMethod( - getListProcessorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ListProcessorsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorsResponse>( - service, METHODID_LIST_PROCESSORS))) - .addMethod( - getGetProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.GetProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor>( - service, METHODID_GET_PROCESSOR))) - .addMethod( - getTrainProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest, - com.google.longrunning.Operation>(service, METHODID_TRAIN_PROCESSOR_VERSION))) - .addMethod( - getGetProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest, - com.google.cloud.documentai.v1beta3.ProcessorVersion>( - service, METHODID_GET_PROCESSOR_VERSION))) - .addMethod( - getListProcessorVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse>( - service, METHODID_LIST_PROCESSOR_VERSIONS))) - .addMethod( - getDeleteProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_PROCESSOR_VERSION))) - .addMethod( - getDeployProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest, - com.google.longrunning.Operation>(service, METHODID_DEPLOY_PROCESSOR_VERSION))) - .addMethod( - getUndeployProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest, - com.google.longrunning.Operation>( - service, METHODID_UNDEPLOY_PROCESSOR_VERSION))) - .addMethod( - getCreateProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.CreateProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor>( - service, METHODID_CREATE_PROCESSOR))) - .addMethod( - getDeleteProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_PROCESSOR))) - .addMethod( - getEnableProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.EnableProcessorRequest, - com.google.longrunning.Operation>(service, METHODID_ENABLE_PROCESSOR))) - .addMethod( - getDisableProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.DisableProcessorRequest, - com.google.longrunning.Operation>(service, METHODID_DISABLE_PROCESSOR))) - .addMethod( - getSetDefaultProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation>( - service, METHODID_SET_DEFAULT_PROCESSOR_VERSION))) - .addMethod( - getReviewDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest, - com.google.longrunning.Operation>(service, METHODID_REVIEW_DOCUMENT))) - .addMethod( - getEvaluateProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest, - com.google.longrunning.Operation>( - service, METHODID_EVALUATE_PROCESSOR_VERSION))) - .addMethod( - getGetEvaluationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.GetEvaluationRequest, - com.google.cloud.documentai.v1beta3.Evaluation>( - service, METHODID_GET_EVALUATION))) - .addMethod( - getListEvaluationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ListEvaluationsRequest, - com.google.cloud.documentai.v1beta3.ListEvaluationsResponse>( - service, METHODID_LIST_EVALUATIONS))) - .addMethod( - getImportProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest, - com.google.longrunning.Operation>(service, METHODID_IMPORT_PROCESSOR_VERSION))) - .build(); - } - - private abstract static class DocumentProcessorServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DocumentProcessorServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.documentai.v1beta3.DocumentAiProcessorService.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DocumentProcessorService"); - } - } - - private static final class DocumentProcessorServiceFileDescriptorSupplier - extends DocumentProcessorServiceBaseDescriptorSupplier { - DocumentProcessorServiceFileDescriptorSupplier() {} - } - - private static final class DocumentProcessorServiceMethodDescriptorSupplier - extends DocumentProcessorServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DocumentProcessorServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DocumentProcessorServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DocumentProcessorServiceFileDescriptorSupplier()) - .addMethod(getProcessDocumentMethod()) - .addMethod(getBatchProcessDocumentsMethod()) - .addMethod(getFetchProcessorTypesMethod()) - .addMethod(getListProcessorTypesMethod()) - .addMethod(getGetProcessorTypeMethod()) - .addMethod(getListProcessorsMethod()) - .addMethod(getGetProcessorMethod()) - .addMethod(getTrainProcessorVersionMethod()) - .addMethod(getGetProcessorVersionMethod()) - .addMethod(getListProcessorVersionsMethod()) - .addMethod(getDeleteProcessorVersionMethod()) - .addMethod(getDeployProcessorVersionMethod()) - .addMethod(getUndeployProcessorVersionMethod()) - .addMethod(getCreateProcessorMethod()) - .addMethod(getDeleteProcessorMethod()) - .addMethod(getEnableProcessorMethod()) - .addMethod(getDisableProcessorMethod()) - .addMethod(getSetDefaultProcessorVersionMethod()) - .addMethod(getReviewDocumentMethod()) - .addMethod(getEvaluateProcessorVersionMethod()) - .addMethod(getGetEvaluationMethod()) - .addMethod(getListEvaluationsMethod()) - .addMethod(getImportProcessorVersionMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceGrpc.java b/java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceGrpc.java deleted file mode 100644 index 9f556c1bf4bd..000000000000 --- a/java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentServiceGrpc.java +++ /dev/null @@ -1,1095 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.documentai.v1beta3; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service to call Cloud DocumentAI to manage document collection (dataset).
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/documentai/v1beta3/document_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DocumentServiceGrpc { - - private DocumentServiceGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.documentai.v1beta3.DocumentService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UpdateDatasetRequest, - com.google.longrunning.Operation> - getUpdateDatasetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataset", - requestType = com.google.cloud.documentai.v1beta3.UpdateDatasetRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UpdateDatasetRequest, - com.google.longrunning.Operation> - getUpdateDatasetMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UpdateDatasetRequest, - com.google.longrunning.Operation> - getUpdateDatasetMethod; - if ((getUpdateDatasetMethod = DocumentServiceGrpc.getUpdateDatasetMethod) == null) { - synchronized (DocumentServiceGrpc.class) { - if ((getUpdateDatasetMethod = DocumentServiceGrpc.getUpdateDatasetMethod) == null) { - DocumentServiceGrpc.getUpdateDatasetMethod = - getUpdateDatasetMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataset")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.UpdateDatasetRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentServiceMethodDescriptorSupplier("UpdateDataset")) - .build(); - } - } - } - return getUpdateDatasetMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest, - com.google.longrunning.Operation> - getImportDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportDocuments", - requestType = com.google.cloud.documentai.v1beta3.ImportDocumentsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest, - com.google.longrunning.Operation> - getImportDocumentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest, - com.google.longrunning.Operation> - getImportDocumentsMethod; - if ((getImportDocumentsMethod = DocumentServiceGrpc.getImportDocumentsMethod) == null) { - synchronized (DocumentServiceGrpc.class) { - if ((getImportDocumentsMethod = DocumentServiceGrpc.getImportDocumentsMethod) == null) { - DocumentServiceGrpc.getImportDocumentsMethod = - getImportDocumentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentServiceMethodDescriptorSupplier("ImportDocuments")) - .build(); - } - } - } - return getImportDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetDocumentRequest, - com.google.cloud.documentai.v1beta3.GetDocumentResponse> - getGetDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDocument", - requestType = com.google.cloud.documentai.v1beta3.GetDocumentRequest.class, - responseType = com.google.cloud.documentai.v1beta3.GetDocumentResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetDocumentRequest, - com.google.cloud.documentai.v1beta3.GetDocumentResponse> - getGetDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetDocumentRequest, - com.google.cloud.documentai.v1beta3.GetDocumentResponse> - getGetDocumentMethod; - if ((getGetDocumentMethod = DocumentServiceGrpc.getGetDocumentMethod) == null) { - synchronized (DocumentServiceGrpc.class) { - if ((getGetDocumentMethod = DocumentServiceGrpc.getGetDocumentMethod) == null) { - DocumentServiceGrpc.getGetDocumentMethod = - getGetDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.GetDocumentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.GetDocumentResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentServiceMethodDescriptorSupplier("GetDocument")) - .build(); - } - } - } - return getGetDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListDocumentsRequest, - com.google.cloud.documentai.v1beta3.ListDocumentsResponse> - getListDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDocuments", - requestType = com.google.cloud.documentai.v1beta3.ListDocumentsRequest.class, - responseType = com.google.cloud.documentai.v1beta3.ListDocumentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListDocumentsRequest, - com.google.cloud.documentai.v1beta3.ListDocumentsResponse> - getListDocumentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.ListDocumentsRequest, - com.google.cloud.documentai.v1beta3.ListDocumentsResponse> - getListDocumentsMethod; - if ((getListDocumentsMethod = DocumentServiceGrpc.getListDocumentsMethod) == null) { - synchronized (DocumentServiceGrpc.class) { - if ((getListDocumentsMethod = DocumentServiceGrpc.getListDocumentsMethod) == null) { - DocumentServiceGrpc.getListDocumentsMethod = - getListDocumentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListDocumentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.ListDocumentsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentServiceMethodDescriptorSupplier("ListDocuments")) - .build(); - } - } - } - return getListDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest, - com.google.longrunning.Operation> - getBatchDeleteDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteDocuments", - requestType = com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest, - com.google.longrunning.Operation> - getBatchDeleteDocumentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest, - com.google.longrunning.Operation> - getBatchDeleteDocumentsMethod; - if ((getBatchDeleteDocumentsMethod = DocumentServiceGrpc.getBatchDeleteDocumentsMethod) - == null) { - synchronized (DocumentServiceGrpc.class) { - if ((getBatchDeleteDocumentsMethod = DocumentServiceGrpc.getBatchDeleteDocumentsMethod) - == null) { - DocumentServiceGrpc.getBatchDeleteDocumentsMethod = - getBatchDeleteDocumentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchDeleteDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new DocumentServiceMethodDescriptorSupplier("BatchDeleteDocuments")) - .build(); - } - } - } - return getBatchDeleteDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest, - com.google.cloud.documentai.v1beta3.DatasetSchema> - getGetDatasetSchemaMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDatasetSchema", - requestType = com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest.class, - responseType = com.google.cloud.documentai.v1beta3.DatasetSchema.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest, - com.google.cloud.documentai.v1beta3.DatasetSchema> - getGetDatasetSchemaMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest, - com.google.cloud.documentai.v1beta3.DatasetSchema> - getGetDatasetSchemaMethod; - if ((getGetDatasetSchemaMethod = DocumentServiceGrpc.getGetDatasetSchemaMethod) == null) { - synchronized (DocumentServiceGrpc.class) { - if ((getGetDatasetSchemaMethod = DocumentServiceGrpc.getGetDatasetSchemaMethod) == null) { - DocumentServiceGrpc.getGetDatasetSchemaMethod = - getGetDatasetSchemaMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatasetSchema")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.DatasetSchema - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentServiceMethodDescriptorSupplier("GetDatasetSchema")) - .build(); - } - } - } - return getGetDatasetSchemaMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest, - com.google.cloud.documentai.v1beta3.DatasetSchema> - getUpdateDatasetSchemaMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDatasetSchema", - requestType = com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest.class, - responseType = com.google.cloud.documentai.v1beta3.DatasetSchema.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest, - com.google.cloud.documentai.v1beta3.DatasetSchema> - getUpdateDatasetSchemaMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest, - com.google.cloud.documentai.v1beta3.DatasetSchema> - getUpdateDatasetSchemaMethod; - if ((getUpdateDatasetSchemaMethod = DocumentServiceGrpc.getUpdateDatasetSchemaMethod) == null) { - synchronized (DocumentServiceGrpc.class) { - if ((getUpdateDatasetSchemaMethod = DocumentServiceGrpc.getUpdateDatasetSchemaMethod) - == null) { - DocumentServiceGrpc.getUpdateDatasetSchemaMethod = - getUpdateDatasetSchemaMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateDatasetSchema")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.documentai.v1beta3.DatasetSchema - .getDefaultInstance())) - .setSchemaDescriptor( - new DocumentServiceMethodDescriptorSupplier("UpdateDatasetSchema")) - .build(); - } - } - } - return getUpdateDatasetSchemaMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DocumentServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentServiceStub(channel, callOptions); - } - }; - return DocumentServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DocumentServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentServiceBlockingStub(channel, callOptions); - } - }; - return DocumentServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DocumentServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DocumentServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentServiceFutureStub(channel, callOptions); - } - }; - return DocumentServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service to call Cloud DocumentAI to manage document collection (dataset).
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Updates metadata associated with a dataset.
-     * 
- */ - default void updateDataset( - com.google.cloud.documentai.v1beta3.UpdateDatasetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDatasetMethod(), responseObserver); - } - - /** - * - * - *
-     * Import documents into a dataset.
-     * 
- */ - default void importDocuments( - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportDocumentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns relevant fields present in the requested document.
-     * 
- */ - default void getDocument( - com.google.cloud.documentai.v1beta3.GetDocumentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a list of documents present in the dataset.
-     * 
- */ - default void listDocuments( - com.google.cloud.documentai.v1beta3.ListDocumentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDocumentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a set of documents.
-     * 
- */ - default void batchDeleteDocuments( - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchDeleteDocumentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the `DatasetSchema` of a `Dataset`.
-     * 
- */ - default void getDatasetSchema( - com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatasetSchemaMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a `DatasetSchema`.
-     * 
- */ - default void updateDatasetSchema( - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDatasetSchemaMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DocumentService. - * - *
-   * Service to call Cloud DocumentAI to manage document collection (dataset).
-   * 
- */ - public abstract static class DocumentServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return DocumentServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DocumentService. - * - *
-   * Service to call Cloud DocumentAI to manage document collection (dataset).
-   * 
- */ - public static final class DocumentServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private DocumentServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Updates metadata associated with a dataset.
-     * 
- */ - public void updateDataset( - com.google.cloud.documentai.v1beta3.UpdateDatasetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatasetMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Import documents into a dataset.
-     * 
- */ - public void importDocuments( - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns relevant fields present in the requested document.
-     * 
- */ - public void getDocument( - com.google.cloud.documentai.v1beta3.GetDocumentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns a list of documents present in the dataset.
-     * 
- */ - public void listDocuments( - com.google.cloud.documentai.v1beta3.ListDocumentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDocumentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a set of documents.
-     * 
- */ - public void batchDeleteDocuments( - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteDocumentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the `DatasetSchema` of a `Dataset`.
-     * 
- */ - public void getDatasetSchema( - com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatasetSchemaMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a `DatasetSchema`.
-     * 
- */ - public void updateDatasetSchema( - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatasetSchemaMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DocumentService. - * - *
-   * Service to call Cloud DocumentAI to manage document collection (dataset).
-   * 
- */ - public static final class DocumentServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DocumentServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Updates metadata associated with a dataset.
-     * 
- */ - public com.google.longrunning.Operation updateDataset( - com.google.cloud.documentai.v1beta3.UpdateDatasetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDatasetMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Import documents into a dataset.
-     * 
- */ - public com.google.longrunning.Operation importDocuments( - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportDocumentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns relevant fields present in the requested document.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.GetDocumentResponse getDocument( - com.google.cloud.documentai.v1beta3.GetDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDocumentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a list of documents present in the dataset.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.ListDocumentsResponse listDocuments( - com.google.cloud.documentai.v1beta3.ListDocumentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDocumentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a set of documents.
-     * 
- */ - public com.google.longrunning.Operation batchDeleteDocuments( - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteDocumentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the `DatasetSchema` of a `Dataset`.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.DatasetSchema getDatasetSchema( - com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDatasetSchemaMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a `DatasetSchema`.
-     * 
- */ - public com.google.cloud.documentai.v1beta3.DatasetSchema updateDatasetSchema( - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDatasetSchemaMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DocumentService. - * - *
-   * Service to call Cloud DocumentAI to manage document collection (dataset).
-   * 
- */ - public static final class DocumentServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DocumentServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DocumentServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DocumentServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Updates metadata associated with a dataset.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateDataset(com.google.cloud.documentai.v1beta3.UpdateDatasetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDatasetMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Import documents into a dataset.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importDocuments(com.google.cloud.documentai.v1beta3.ImportDocumentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns relevant fields present in the requested document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.GetDocumentResponse> - getDocument(com.google.cloud.documentai.v1beta3.GetDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns a list of documents present in the dataset.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.ListDocumentsResponse> - listDocuments(com.google.cloud.documentai.v1beta3.ListDocumentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a set of documents.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchDeleteDocuments( - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteDocumentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the `DatasetSchema` of a `Dataset`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.DatasetSchema> - getDatasetSchema(com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDatasetSchemaMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a `DatasetSchema`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.documentai.v1beta3.DatasetSchema> - updateDatasetSchema( - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDatasetSchemaMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_UPDATE_DATASET = 0; - private static final int METHODID_IMPORT_DOCUMENTS = 1; - private static final int METHODID_GET_DOCUMENT = 2; - private static final int METHODID_LIST_DOCUMENTS = 3; - private static final int METHODID_BATCH_DELETE_DOCUMENTS = 4; - private static final int METHODID_GET_DATASET_SCHEMA = 5; - private static final int METHODID_UPDATE_DATASET_SCHEMA = 6; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_UPDATE_DATASET: - serviceImpl.updateDataset( - (com.google.cloud.documentai.v1beta3.UpdateDatasetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_DOCUMENTS: - serviceImpl.importDocuments( - (com.google.cloud.documentai.v1beta3.ImportDocumentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DOCUMENT: - serviceImpl.getDocument( - (com.google.cloud.documentai.v1beta3.GetDocumentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_DOCUMENTS: - serviceImpl.listDocuments( - (com.google.cloud.documentai.v1beta3.ListDocumentsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.documentai.v1beta3.ListDocumentsResponse>) - responseObserver); - break; - case METHODID_BATCH_DELETE_DOCUMENTS: - serviceImpl.batchDeleteDocuments( - (com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATASET_SCHEMA: - serviceImpl.getDatasetSchema( - (com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_DATASET_SCHEMA: - serviceImpl.updateDatasetSchema( - (com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getUpdateDatasetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.UpdateDatasetRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_DATASET))) - .addMethod( - getImportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest, - com.google.longrunning.Operation>(service, METHODID_IMPORT_DOCUMENTS))) - .addMethod( - getGetDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.GetDocumentRequest, - com.google.cloud.documentai.v1beta3.GetDocumentResponse>( - service, METHODID_GET_DOCUMENT))) - .addMethod( - getListDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ListDocumentsRequest, - com.google.cloud.documentai.v1beta3.ListDocumentsResponse>( - service, METHODID_LIST_DOCUMENTS))) - .addMethod( - getBatchDeleteDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest, - com.google.longrunning.Operation>(service, METHODID_BATCH_DELETE_DOCUMENTS))) - .addMethod( - getGetDatasetSchemaMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest, - com.google.cloud.documentai.v1beta3.DatasetSchema>( - service, METHODID_GET_DATASET_SCHEMA))) - .addMethod( - getUpdateDatasetSchemaMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest, - com.google.cloud.documentai.v1beta3.DatasetSchema>( - service, METHODID_UPDATE_DATASET_SCHEMA))) - .build(); - } - - private abstract static class DocumentServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DocumentServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.documentai.v1beta3.DocumentAiDocumentService.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DocumentService"); - } - } - - private static final class DocumentServiceFileDescriptorSupplier - extends DocumentServiceBaseDescriptorSupplier { - DocumentServiceFileDescriptorSupplier() {} - } - - private static final class DocumentServiceMethodDescriptorSupplier - extends DocumentServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DocumentServiceMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DocumentServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DocumentServiceFileDescriptorSupplier()) - .addMethod(getUpdateDatasetMethod()) - .addMethod(getImportDocumentsMethod()) - .addMethod(getGetDocumentMethod()) - .addMethod(getListDocumentsMethod()) - .addMethod(getBatchDeleteDocumentsMethod()) - .addMethod(getGetDatasetSchemaMethod()) - .addMethod(getUpdateDatasetSchemaMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java deleted file mode 100644 index 5d559a2bcd05..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/barcode.proto - -package com.google.cloud.documentai.v1; - -public final class BarcodeProto { - private BarcodeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Barcode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Barcode_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/documentai/v1/barcode.pro" - + "to\022\032google.cloud.documentai.v1\"B\n\007Barcod" - + "e\022\016\n\006format\030\001 \001(\t\022\024\n\014value_format\030\002 \001(\t\022" - + "\021\n\traw_value\030\003 \001(\tB\312\001\n\036com.google.cloud." - + "documentai.v1B\014BarcodeProtoP\001Z>cloud.goo" - + "gle.com/go/documentai/apiv1/documentaipb" - + ";documentaipb\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[] {}); - internal_static_google_cloud_documentai_v1_Barcode_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_Barcode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Barcode_descriptor, - new java.lang.String[] { - "Format", "ValueFormat", "RawValue", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponseOrBuilder.java deleted file mode 100644 index 4ee46a60b292..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface BatchProcessResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.BatchProcessResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequestOrBuilder.java deleted file mode 100644 index 49e4d8b873c8..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface DeleteProcessorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeleteProcessorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequestOrBuilder.java deleted file mode 100644 index 73be0389672e..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface DeleteProcessorVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeleteProcessorVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor version resource name to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor version resource name to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequestOrBuilder.java deleted file mode 100644 index 2d7cfcc8498f..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface DeployProcessorVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeployProcessorVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor version resource name to be deployed.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor version resource name to be deployed.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponseOrBuilder.java deleted file mode 100644 index 224ef551a4d5..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface DeployProcessorVersionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeployProcessorVersionResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequestOrBuilder.java deleted file mode 100644 index 5bde8859cbdc..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface DisableProcessorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DisableProcessorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name to be disabled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name to be disabled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponseOrBuilder.java deleted file mode 100644 index 40324ebe0d78..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface DisableProcessorResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DisableProcessorResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java deleted file mode 100644 index 56b20bf379ce..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_schema.proto - -package com.google.cloud.documentai.v1; - -public final class DocumentAiDocumentSchema { - private DocumentAiDocumentSchema() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DocumentSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DocumentSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_EnumValues_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_EnumValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_Property_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_Property_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DocumentSchema_Metadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DocumentSchema_Metadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/documentai/v1/document_sc" - + "hema.proto\022\032google.cloud.documentai.v1\"\247" - + "\007\n\016DocumentSchema\022\024\n\014display_name\030\001 \001(\t\022" - + "\023\n\013description\030\002 \001(\t\022K\n\014entity_types\030\003 \003" - + "(\01325.google.cloud.documentai.v1.Document" - + "Schema.EntityType\022E\n\010metadata\030\004 \001(\01323.go" - + "ogle.cloud.documentai.v1.DocumentSchema." - + "Metadata\032\276\004\n\nEntityType\022W\n\013enum_values\030\016" - + " \001(\0132@.google.cloud.documentai.v1.Docume" - + "ntSchema.EntityType.EnumValuesH\000\022\024\n\014disp" - + "lay_name\030\r \001(\t\022\014\n\004name\030\001 \001(\t\022\022\n\nbase_typ" - + "es\030\002 \003(\t\022R\n\nproperties\030\006 \003(\0132>.google.cl" - + "oud.documentai.v1.DocumentSchema.EntityT" - + "ype.Property\032\034\n\nEnumValues\022\016\n\006values\030\001 \003" - + "(\t\032\234\002\n\010Property\022\014\n\004name\030\001 \001(\t\022\022\n\nvalue_t" - + "ype\030\002 \001(\t\022f\n\017occurrence_type\030\003 \001(\0162M.goo" - + "gle.cloud.documentai.v1.DocumentSchema.E" - + "ntityType.Property.OccurrenceType\"\205\001\n\016Oc" - + "currenceType\022\037\n\033OCCURRENCE_TYPE_UNSPECIF" - + "IED\020\000\022\021\n\rOPTIONAL_ONCE\020\001\022\025\n\021OPTIONAL_MUL" - + "TIPLE\020\002\022\021\n\rREQUIRED_ONCE\020\003\022\025\n\021REQUIRED_M" - + "ULTIPLE\020\004B\016\n\014value_source\032\224\001\n\010Metadata\022\031" - + "\n\021document_splitter\030\001 \001(\010\022&\n\036document_al" - + "low_multiple_labels\030\002 \001(\010\022%\n\035prefixed_na" - + "ming_on_properties\030\006 \001(\010\022\036\n\026skip_naming_" - + "validation\030\007 \001(\010B\326\001\n\036com.google.cloud.do" - + "cumentai.v1B\030DocumentAiDocumentSchemaP\001Z" - + ">cloud.google.com/go/documentai/apiv1/do" - + "cumentaipb;documentaipb\252\002\032Google.Cloud.D" - + "ocumentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V" - + "1\352\002\035Google::Cloud::DocumentAI::V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_documentai_v1_DocumentSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_DocumentSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DocumentSchema_descriptor, - new java.lang.String[] { - "DisplayName", "Description", "EntityTypes", "Metadata", - }); - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_descriptor = - internal_static_google_cloud_documentai_v1_DocumentSchema_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_descriptor, - new java.lang.String[] { - "EnumValues", "DisplayName", "Name", "BaseTypes", "Properties", "ValueSource", - }); - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_EnumValues_descriptor = - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_EnumValues_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_EnumValues_descriptor, - new java.lang.String[] { - "Values", - }); - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_Property_descriptor = - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_Property_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DocumentSchema_EntityType_Property_descriptor, - new java.lang.String[] { - "Name", "ValueType", "OccurrenceType", - }); - internal_static_google_cloud_documentai_v1_DocumentSchema_Metadata_descriptor = - internal_static_google_cloud_documentai_v1_DocumentSchema_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1_DocumentSchema_Metadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DocumentSchema_Metadata_descriptor, - new java.lang.String[] { - "DocumentSplitter", - "DocumentAllowMultipleLabels", - "PrefixedNamingOnProperties", - "SkipNamingValidation", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiEvaluation.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiEvaluation.java deleted file mode 100644 index 118b685767d9..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiEvaluation.java +++ /dev/null @@ -1,227 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/evaluation.proto - -package com.google.cloud.documentai.v1; - -public final class DocumentAiEvaluation { - private DocumentAiEvaluation() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_EvaluationReference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_EvaluationReference_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Evaluation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Evaluation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Evaluation_Counters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Evaluation_Counters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Evaluation_Metrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Evaluation_Metrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/documentai/v1/evaluation." - + "proto\022\032google.cloud.documentai.v1\032\031googl" - + "e/api/resource.proto\032\037google/protobuf/ti" - + "mestamp.proto\"\203\002\n\023EvaluationReference\022\021\n" - + "\toperation\030\001 \001(\t\022=\n\nevaluation\030\002 \001(\tB)\372A" - + "&\n$documentai.googleapis.com/Evaluation\022" - + "I\n\021aggregate_metrics\030\004 \001(\0132..google.clou" - + "d.documentai.v1.Evaluation.Metrics\022O\n\027ag" - + "gregate_metrics_exact\030\005 \001(\0132..google.clo" - + "ud.documentai.v1.Evaluation.Metrics\"\345\r\n\n" - + "Evaluation\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030" - + "\002 \001(\0132\032.google.protobuf.Timestamp\022J\n\021doc" - + "ument_counters\030\005 \001(\0132/.google.cloud.docu" - + "mentai.v1.Evaluation.Counters\022[\n\024all_ent" - + "ities_metrics\030\003 \001(\0132=.google.cloud.docum" - + "entai.v1.Evaluation.MultiConfidenceMetri" - + "cs\022Q\n\016entity_metrics\030\004 \003(\01329.google.clou" - + "d.documentai.v1.Evaluation.EntityMetrics" - + "Entry\022\024\n\014kms_key_name\030\006 \001(\t\022\034\n\024kms_key_v" - + "ersion_name\030\007 \001(\t\032\215\001\n\010Counters\022\035\n\025input_" - + "documents_count\030\001 \001(\005\022\037\n\027invalid_documen" - + "ts_count\030\002 \001(\005\022\036\n\026failed_documents_count" - + "\030\003 \001(\005\022!\n\031evaluated_documents_count\030\004 \001(" - + "\005\032\315\002\n\007Metrics\022\021\n\tprecision\030\001 \001(\002\022\016\n\006reca" - + "ll\030\002 \001(\002\022\020\n\010f1_score\030\003 \001(\002\022#\n\033predicted_" - + "occurrences_count\030\004 \001(\005\022&\n\036ground_truth_" - + "occurrences_count\030\005 \001(\005\022 \n\030predicted_doc" - + "ument_count\030\n \001(\005\022#\n\033ground_truth_docume" - + "nt_count\030\013 \001(\005\022\034\n\024true_positives_count\030\006" - + " \001(\005\022\035\n\025false_positives_count\030\007 \001(\005\022\035\n\025f" - + "alse_negatives_count\030\010 \001(\005\022\035\n\025total_docu" - + "ments_count\030\t \001(\005\032s\n\026ConfidenceLevelMetr" - + "ics\022\030\n\020confidence_level\030\001 \001(\002\022?\n\007metrics" - + "\030\002 \001(\0132..google.cloud.documentai.v1.Eval" - + "uation.Metrics\032\361\003\n\026MultiConfidenceMetric" - + "s\022_\n\030confidence_level_metrics\030\001 \003(\0132=.go" - + "ogle.cloud.documentai.v1.Evaluation.Conf" - + "idenceLevelMetrics\022e\n\036confidence_level_m" - + "etrics_exact\030\004 \003(\0132=.google.cloud.docume" - + "ntai.v1.Evaluation.ConfidenceLevelMetric" - + "s\022\r\n\005auprc\030\002 \001(\002\022#\n\033estimated_calibratio" - + "n_error\030\003 \001(\002\022\023\n\013auprc_exact\030\005 \001(\002\022)\n!es" - + "timated_calibration_error_exact\030\006 \001(\002\022_\n" - + "\014metrics_type\030\007 \001(\0162I.google.cloud.docum" - + "entai.v1.Evaluation.MultiConfidenceMetri" - + "cs.MetricsType\":\n\013MetricsType\022\034\n\030METRICS" - + "_TYPE_UNSPECIFIED\020\000\022\r\n\tAGGREGATE\020\001\032s\n\022En" - + "tityMetricsEntry\022\013\n\003key\030\001 \001(\t\022L\n\005value\030\002" - + " \001(\0132=.google.cloud.documentai.v1.Evalua" - + "tion.MultiConfidenceMetrics:\0028\001:\251\001\352A\245\001\n$" - + "documentai.googleapis.com/Evaluation\022}pr" - + "ojects/{project}/locations/{location}/pr" - + "ocessors/{processor}/processorVersions/{" - + "processor_version}/evaluations/{evaluati" - + "on}B\322\001\n\036com.google.cloud.documentai.v1B\024" - + "DocumentAiEvaluationP\001Z>cloud.google.com" - + "/go/documentai/apiv1/documentaipb;docume" - + "ntaipb\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Go" - + "ogle\\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.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1_EvaluationReference_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_EvaluationReference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_EvaluationReference_descriptor, - new java.lang.String[] { - "Operation", "Evaluation", "AggregateMetrics", "AggregateMetricsExact", - }); - internal_static_google_cloud_documentai_v1_Evaluation_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1_Evaluation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Evaluation_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "DocumentCounters", - "AllEntitiesMetrics", - "EntityMetrics", - "KmsKeyName", - "KmsKeyVersionName", - }); - internal_static_google_cloud_documentai_v1_Evaluation_Counters_descriptor = - internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1_Evaluation_Counters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Evaluation_Counters_descriptor, - new java.lang.String[] { - "InputDocumentsCount", - "InvalidDocumentsCount", - "FailedDocumentsCount", - "EvaluatedDocumentsCount", - }); - internal_static_google_cloud_documentai_v1_Evaluation_Metrics_descriptor = - internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_documentai_v1_Evaluation_Metrics_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Evaluation_Metrics_descriptor, - new java.lang.String[] { - "Precision", - "Recall", - "F1Score", - "PredictedOccurrencesCount", - "GroundTruthOccurrencesCount", - "PredictedDocumentCount", - "GroundTruthDocumentCount", - "TruePositivesCount", - "FalsePositivesCount", - "FalseNegativesCount", - "TotalDocumentsCount", - }); - internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_descriptor = - internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_descriptor, - new java.lang.String[] { - "ConfidenceLevel", "Metrics", - }); - internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_descriptor = - internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_descriptor, - new java.lang.String[] { - "ConfidenceLevelMetrics", - "ConfidenceLevelMetricsExact", - "Auprc", - "EstimatedCalibrationError", - "AuprcExact", - "EstimatedCalibrationErrorExact", - "MetricsType", - }); - internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_descriptor = - internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java deleted file mode 100644 index f3ad9a84acd8..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/processor.proto - -package com.google.cloud.documentai.v1; - -public final class DocumentAiProcessor { - private DocumentAiProcessor() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessorVersion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessorVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessorVersion_DeprecationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessorVersion_DeprecationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessorVersionAlias_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessorVersionAlias_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Processor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Processor_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n*google/cloud/documentai/v1/processor.p" - + "roto\022\032google.cloud.documentai.v1\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\0320google/cloud/documentai/v1" - + "/document_schema.proto\032+google/cloud/doc" - + "umentai/v1/evaluation.proto\032\037google/prot" - + "obuf/timestamp.proto\"\266\007\n\020ProcessorVersio" - + "n\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022C\n" - + "\017document_schema\030\014 \001(\0132*.google.cloud.do" - + "cumentai.v1.DocumentSchema\022A\n\005state\030\006 \001(" - + "\01622.google.cloud.documentai.v1.Processor" - + "Version.State\022/\n\013create_time\030\007 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022J\n\021latest_evaluat" - + "ion\030\010 \001(\0132/.google.cloud.documentai.v1.E" - + "valuationReference\022\024\n\014kms_key_name\030\t \001(\t" - + "\022\034\n\024kms_key_version_name\030\n \001(\t\022\034\n\016google" - + "_managed\030\013 \001(\010B\004\342A\001\003\022V\n\020deprecation_info" - + "\030\r \001(\0132<.google.cloud.documentai.v1.Proc" - + "essorVersion.DeprecationInfo\032\237\001\n\017Depreca" - + "tionInfo\0224\n\020deprecation_time\030\001 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022V\n\035replacement_pr" - + "ocessor_version\030\002 \001(\tB/\372A,\n*documentai.g" - + "oogleapis.com/ProcessorVersion\"\223\001\n\005State" - + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010DEPLOYED\020\001\022\r\n" - + "\tDEPLOYING\020\002\022\016\n\nUNDEPLOYED\020\003\022\017\n\013UNDEPLOY" - + "ING\020\004\022\014\n\010CREATING\020\005\022\014\n\010DELETING\020\006\022\n\n\006FAI" - + "LED\020\007\022\r\n\tIMPORTING\020\010:\226\001\352A\222\001\n*documentai." - + "googleapis.com/ProcessorVersion\022dproject" - + "s/{project}/locations/{location}/process" - + "ors/{processor}/processorVersions/{proce" - + "ssor_version}\"r\n\025ProcessorVersionAlias\022\r" - + "\n\005alias\030\001 \001(\t\022J\n\021processor_version\030\002 \001(\t" - + "B/\372A,\n*documentai.googleapis.com/Process" - + "orVersion\"\210\005\n\tProcessor\022\023\n\004name\030\001 \001(\tB\005\342" - + "A\002\005\003\022\014\n\004type\030\002 \001(\t\022\024\n\014display_name\030\003 \001(\t" - + "\022@\n\005state\030\004 \001(\0162+.google.cloud.documenta" - + "i.v1.Processor.StateB\004\342A\001\003\022R\n\031default_pr" - + "ocessor_version\030\t \001(\tB/\372A,\n*documentai.g" - + "oogleapis.com/ProcessorVersion\022Z\n\031proces" - + "sor_version_aliases\030\n \003(\01321.google.cloud" - + ".documentai.v1.ProcessorVersionAliasB\004\342A" - + "\001\003\022\037\n\020process_endpoint\030\006 \001(\tB\005\342A\002\003\005\022/\n\013c" - + "reate_time\030\007 \001(\0132\032.google.protobuf.Times" - + "tamp\022\024\n\014kms_key_name\030\010 \001(\t\"~\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISAB" - + "LED\020\002\022\014\n\010ENABLING\020\003\022\r\n\tDISABLING\020\004\022\014\n\010CR" - + "EATING\020\005\022\n\n\006FAILED\020\006\022\014\n\010DELETING\020\007:h\352Ae\n" - + "#documentai.googleapis.com/Processor\022>pr" - + "ojects/{project}/locations/{location}/pr" - + "ocessors/{processor}B\321\001\n\036com.google.clou" - + "d.documentai.v1B\023DocumentAiProcessorP\001Z>" - + "cloud.google.com/go/documentai/apiv1/doc" - + "umentaipb;documentaipb\252\002\032Google.Cloud.Do" - + "cumentAI.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.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.documentai.v1.DocumentAiDocumentSchema.getDescriptor(), - com.google.cloud.documentai.v1.DocumentAiEvaluation.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1_ProcessorVersion_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_ProcessorVersion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessorVersion_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "DocumentSchema", - "State", - "CreateTime", - "LatestEvaluation", - "KmsKeyName", - "KmsKeyVersionName", - "GoogleManaged", - "DeprecationInfo", - }); - internal_static_google_cloud_documentai_v1_ProcessorVersion_DeprecationInfo_descriptor = - internal_static_google_cloud_documentai_v1_ProcessorVersion_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_ProcessorVersion_DeprecationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessorVersion_DeprecationInfo_descriptor, - new java.lang.String[] { - "DeprecationTime", "ReplacementProcessorVersion", - }); - internal_static_google_cloud_documentai_v1_ProcessorVersionAlias_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1_ProcessorVersionAlias_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessorVersionAlias_descriptor, - new java.lang.String[] { - "Alias", "ProcessorVersion", - }); - internal_static_google_cloud_documentai_v1_Processor_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1_Processor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Processor_descriptor, - new java.lang.String[] { - "Name", - "Type", - "DisplayName", - "State", - "DefaultProcessorVersion", - "ProcessorVersionAliases", - "ProcessEndpoint", - "CreateTime", - "KmsKeyName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.documentai.v1.DocumentAiDocumentSchema.getDescriptor(); - com.google.cloud.documentai.v1.DocumentAiEvaluation.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java deleted file mode 100644 index b314d037fab5..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java +++ /dev/null @@ -1,1135 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public final class DocumentAiProcessorService { - private DocumentAiProcessorService() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessOptions_IndividualPageSelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessOptions_IndividualPageSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_HumanReviewStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_HumanReviewStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_BatchProcessRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_BatchProcessResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_FetchProcessorTypesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_FetchProcessorTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_FetchProcessorTypesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_FetchProcessorTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ListProcessorTypesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ListProcessorTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ListProcessorTypesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ListProcessorTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ListProcessorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ListProcessorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ListProcessorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ListProcessorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_GetProcessorTypeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_GetProcessorTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_GetProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_GetProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_GetProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_GetProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ListProcessorVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ListProcessorVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ListProcessorVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ListProcessorVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_CreateProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_EnableProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_EnableProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_EnableProcessorResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_EnableProcessorResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_EnableProcessorMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_EnableProcessorMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DisableProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DisableProcessorResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_InputData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_InputData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_TrainProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_TrainProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_DatasetValidation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_DatasetValidation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ReviewDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ReviewDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ReviewDocumentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ReviewDocumentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ReviewDocumentOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ReviewDocumentOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_GetEvaluationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_GetEvaluationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ListEvaluationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ListEvaluationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ListEvaluationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ListEvaluationsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n;google/cloud/documentai/v1/document_pr" - + "ocessor_service.proto\022\032google.cloud.docu" - + "mentai.v1\032\034google/api/annotations.proto\032" - + "\027google/api/client.proto\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\032)google/cloud/documentai/v1/documen" - + "t.proto\032,google/cloud/documentai/v1/docu" - + "ment_io.proto\0320google/cloud/documentai/v" - + "1/document_schema.proto\032+google/cloud/do" - + "cumentai/v1/evaluation.proto\0323google/clo" - + "ud/documentai/v1/operation_metadata.prot" - + "o\032*google/cloud/documentai/v1/processor." - + "proto\032/google/cloud/documentai/v1/proces" - + "sor_type.proto\032#google/longrunning/opera" - + "tions.proto\032\033google/protobuf/empty.proto" - + "\032 google/protobuf/field_mask.proto\032\037goog" - + "le/protobuf/timestamp.proto\032\027google/rpc/" - + "status.proto\"\231\002\n\016ProcessOptions\022e\n\030indiv" - + "idual_page_selector\030\005 \001(\0132A.google.cloud" - + ".documentai.v1.ProcessOptions.Individual" - + "PageSelectorH\000\022\024\n\nfrom_start\030\006 \001(\005H\000\022\022\n\010" - + "from_end\030\007 \001(\005H\000\0229\n\nocr_config\030\001 \001(\0132%.g" - + "oogle.cloud.documentai.v1.OcrConfig\032-\n\026I" - + "ndividualPageSelector\022\023\n\005pages\030\001 \003(\005B\004\342A" - + "\001\001B\014\n\npage_range\"\207\003\n\016ProcessRequest\022?\n\017i" - + "nline_document\030\004 \001(\0132$.google.cloud.docu" - + "mentai.v1.DocumentH\000\022?\n\014raw_document\030\005 \001" - + "(\0132\'.google.cloud.documentai.v1.RawDocum" - + "entH\000\022?\n\014gcs_document\030\010 \001(\0132\'.google.clo" - + "ud.documentai.v1.GcsDocumentH\000\022\030\n\004name\030\001" - + " \001(\tB\n\342A\001\002\372A\003\n\001*\022\031\n\021skip_human_review\030\003 " - + "\001(\010\022.\n\nfield_mask\030\006 \001(\0132\032.google.protobu" - + "f.FieldMask\022C\n\017process_options\030\007 \001(\0132*.g" - + "oogle.cloud.documentai.v1.ProcessOptions" - + "B\010\n\006source\"\356\001\n\021HumanReviewStatus\022B\n\005stat" - + "e\030\001 \001(\01623.google.cloud.documentai.v1.Hum" - + "anReviewStatus.State\022\025\n\rstate_message\030\002 " - + "\001(\t\022\036\n\026human_review_operation\030\003 \001(\t\"^\n\005S" - + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007SKIPPED\020\001" - + "\022\025\n\021VALIDATION_PASSED\020\002\022\017\n\013IN_PROGRESS\020\003" - + "\022\t\n\005ERROR\020\004\"\225\001\n\017ProcessResponse\0226\n\010docum" - + "ent\030\001 \001(\0132$.google.cloud.documentai.v1.D" - + "ocument\022J\n\023human_review_status\030\003 \001(\0132-.g" - + "oogle.cloud.documentai.v1.HumanReviewSta" - + "tus\"\261\002\n\023BatchProcessRequest\022\030\n\004name\030\001 \001(" - + "\tB\n\342A\001\002\372A\003\n\001*\022N\n\017input_documents\030\005 \001(\01325" - + ".google.cloud.documentai.v1.BatchDocumen" - + "tsInputConfig\022P\n\026document_output_config\030" - + "\006 \001(\01320.google.cloud.documentai.v1.Docum" - + "entOutputConfig\022\031\n\021skip_human_review\030\004 \001" - + "(\010\022C\n\017process_options\030\007 \001(\0132*.google.clo" - + "ud.documentai.v1.ProcessOptions\"\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\"^\n\032FetchProcessorTypes" - + "Request\022@\n\006parent\030\001 \001(\tB0\342A\001\002\372A)\022\'docume" - + "ntai.googleapis.com/ProcessorType\"a\n\033Fet" - + "chProcessorTypesResponse\022B\n\017processor_ty" - + "pes\030\001 \003(\0132).google.cloud.documentai.v1.P" - + "rocessorType\"\204\001\n\031ListProcessorTypesReque" - + "st\022@\n\006parent\030\001 \001(\tB0\342A\001\002\372A)\022\'documentai." - + "googleapis.com/ProcessorType\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\032ListProce" - + "ssorTypesResponse\022B\n\017processor_types\030\001 \003" - + "(\0132).google.cloud.documentai.v1.Processo" - + "rType\022\027\n\017next_page_token\030\002 \001(\t\"|\n\025ListPr" - + "ocessorsRequest\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%" - + "\022#documentai.googleapis.com/Processor\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"l\n\026" - + "ListProcessorsResponse\0229\n\nprocessors\030\001 \003" - + "(\0132%.google.cloud.documentai.v1.Processo" - + "r\022\027\n\017next_page_token\030\002 \001(\t\"Y\n\027GetProcess" - + "orTypeRequest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'do" - + "cumentai.googleapis.com/ProcessorType\"Q\n" - + "\023GetProcessorRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002" - + "\372A%\n#documentai.googleapis.com/Processor" - + "\"_\n\032GetProcessorVersionRequest\022A\n\004name\030\001" - + " \001(\tB3\342A\001\002\372A,\n*documentai.googleapis.com" - + "/ProcessorVersion\"\212\001\n\034ListProcessorVersi" - + "onsRequest\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*doc" - + "umentai.googleapis.com/ProcessorVersion\022" - + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202" - + "\001\n\035ListProcessorVersionsResponse\022H\n\022proc" - + "essor_versions\030\001 \003(\0132,.google.cloud.docu" - + "mentai.v1.ProcessorVersion\022\027\n\017next_page_" - + "token\030\002 \001(\t\"b\n\035DeleteProcessorVersionReq" - + "uest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*documentai." - + "googleapis.com/ProcessorVersion\"n\n\036Delet" - + "eProcessorVersionMetadata\022L\n\017common_meta" - + "data\030\001 \001(\01323.google.cloud.documentai.v1." - + "CommonOperationMetadata\"b\n\035DeployProcess" - + "orVersionRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n" - + "*documentai.googleapis.com/ProcessorVers" - + "ion\" \n\036DeployProcessorVersionResponse\"n\n" - + "\036DeployProcessorVersionMetadata\022L\n\017commo" - + "n_metadata\030\001 \001(\01323.google.cloud.document" - + "ai.v1.CommonOperationMetadata\"d\n\037Undeplo" - + "yProcessorVersionRequest\022A\n\004name\030\001 \001(\tB3" - + "\342A\001\002\372A,\n*documentai.googleapis.com/Proce" - + "ssorVersion\"\"\n UndeployProcessorVersionR" - + "esponse\"p\n UndeployProcessorVersionMetad" - + "ata\022L\n\017common_metadata\030\001 \001(\01323.google.cl" - + "oud.documentai.v1.CommonOperationMetadat" - + "a\"\226\001\n\026CreateProcessorRequest\022<\n\006parent\030\001" - + " \001(\tB,\342A\001\002\372A%\022#documentai.googleapis.com" - + "/Processor\022>\n\tprocessor\030\002 \001(\0132%.google.c" - + "loud.documentai.v1.ProcessorB\004\342A\001\002\"T\n\026De" - + "leteProcessorRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002" - + "\372A%\n#documentai.googleapis.com/Processor" - + "\"g\n\027DeleteProcessorMetadata\022L\n\017common_me" - + "tadata\030\005 \001(\01323.google.cloud.documentai.v" - + "1.CommonOperationMetadata\"T\n\026EnableProce" - + "ssorRequest\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#docu" - + "mentai.googleapis.com/Processor\"\031\n\027Enabl" - + "eProcessorResponse\"g\n\027EnableProcessorMet" - + "adata\022L\n\017common_metadata\030\005 \001(\01323.google." - + "cloud.documentai.v1.CommonOperationMetad" - + "ata\"U\n\027DisableProcessorRequest\022:\n\004name\030\001" - + " \001(\tB,\342A\001\002\372A%\n#documentai.googleapis.com" - + "/Processor\"\032\n\030DisableProcessorResponse\"h" - + "\n\030DisableProcessorMetadata\022L\n\017common_met" - + "adata\030\005 \001(\01323.google.cloud.documentai.v1" - + ".CommonOperationMetadata\"\274\001\n!SetDefaultP" - + "rocessorVersionRequest\022?\n\tprocessor\030\001 \001(" - + "\tB,\342A\001\002\372A%\n#documentai.googleapis.com/Pr" - + "ocessor\022V\n\031default_processor_version\030\002 \001" - + "(\tB3\342A\001\002\372A,\n*documentai.googleapis.com/P" - + "rocessorVersion\"$\n\"SetDefaultProcessorVe" - + "rsionResponse\"r\n\"SetDefaultProcessorVers" - + "ionMetadata\022L\n\017common_metadata\030\001 \001(\01323.g" - + "oogle.cloud.documentai.v1.CommonOperatio" - + "nMetadata\"\305\007\n\034TrainProcessorVersionReque" - + "st\022\206\001\n\"custom_document_extraction_option" - + "s\030\005 \001(\0132X.google.cloud.documentai.v1.Tra" - + "inProcessorVersionRequest.CustomDocument" - + "ExtractionOptionsH\000\022<\n\006parent\030\001 \001(\tB,\342A\001" - + "\002\372A%\n#documentai.googleapis.com/Processo" - + "r\022M\n\021processor_version\030\002 \001(\0132,.google.cl" - + "oud.documentai.v1.ProcessorVersionB\004\342A\001\002" - + "\022I\n\017document_schema\030\n \001(\0132*.google.cloud" - + ".documentai.v1.DocumentSchemaB\004\342A\001\001\022\\\n\ni" - + "nput_data\030\004 \001(\0132B.google.cloud.documenta" - + "i.v1.TrainProcessorVersionRequest.InputD" - + "ataB\004\342A\001\001\022$\n\026base_processor_version\030\010 \001(" - + "\tB\004\342A\001\001\032\255\001\n\tInputData\022Q\n\022training_docume" - + "nts\030\003 \001(\01325.google.cloud.documentai.v1.B" - + "atchDocumentsInputConfig\022M\n\016test_documen" - + "ts\030\004 \001(\01325.google.cloud.documentai.v1.Ba" - + "tchDocumentsInputConfig\032\374\001\n\037CustomDocume" - + "ntExtractionOptions\022\200\001\n\017training_method\030" - + "\003 \001(\0162g.google.cloud.documentai.v1.Train" - + "ProcessorVersionRequest.CustomDocumentEx" - + "tractionOptions.TrainingMethod\"V\n\016Traini" - + "ngMethod\022\037\n\033TRAINING_METHOD_UNSPECIFIED\020" - + "\000\022\017\n\013MODEL_BASED\020\001\022\022\n\016TEMPLATE_BASED\020\002B\021" - + "\n\017processor_flags\":\n\035TrainProcessorVersi" - + "onResponse\022\031\n\021processor_version\030\001 \001(\t\"\367\003" - + "\n\035TrainProcessorVersionMetadata\022L\n\017commo" - + "n_metadata\030\001 \001(\01323.google.cloud.document" - + "ai.v1.CommonOperationMetadata\022p\n\033trainin" - + "g_dataset_validation\030\002 \001(\0132K.google.clou" - + "d.documentai.v1.TrainProcessorVersionMet" - + "adata.DatasetValidation\022l\n\027test_dataset_" - + "validation\030\003 \001(\0132K.google.cloud.document" - + "ai.v1.TrainProcessorVersionMetadata.Data" - + "setValidation\032\247\001\n\021DatasetValidation\022\034\n\024d" - + "ocument_error_count\030\003 \001(\005\022\033\n\023dataset_err" - + "or_count\030\004 \001(\005\022+\n\017document_errors\030\001 \003(\0132" - + "\022.google.rpc.Status\022*\n\016dataset_errors\030\002 " - + "\003(\0132\022.google.rpc.Status\"\217\003\n\025ReviewDocume" - + "ntRequest\022?\n\017inline_document\030\004 \001(\0132$.goo" - + "gle.cloud.documentai.v1.DocumentH\000\022Q\n\023hu" - + "man_review_config\030\001 \001(\tB4\342A\001\002\372A-\n+docume" - + "ntai.googleapis.com/HumanReviewConfig\022 \n" - + "\030enable_schema_validation\030\003 \001(\010\022L\n\010prior" - + "ity\030\005 \001(\0162:.google.cloud.documentai.v1.R" - + "eviewDocumentRequest.Priority\022C\n\017documen" - + "t_schema\030\006 \001(\0132*.google.cloud.documentai" - + ".v1.DocumentSchema\"#\n\010Priority\022\013\n\007DEFAUL" - + "T\020\000\022\n\n\006URGENT\020\001B\010\n\006source\"\321\001\n\026ReviewDocu" - + "mentResponse\022\027\n\017gcs_destination\030\001 \001(\t\022G\n" - + "\005state\030\002 \001(\01628.google.cloud.documentai.v" - + "1.ReviewDocumentResponse.State\022\030\n\020reject" - + "ion_reason\030\003 \001(\t\";\n\005State\022\025\n\021STATE_UNSPE" - + "CIFIED\020\000\022\014\n\010REJECTED\020\001\022\r\n\tSUCCEEDED\020\002\"\204\001" - + "\n\037ReviewDocumentOperationMetadata\022L\n\017com" - + "mon_metadata\030\005 \001(\01323.google.cloud.docume" - + "ntai.v1.CommonOperationMetadata\022\023\n\013quest" - + "ion_id\030\006 \001(\t\"\314\001\n\037EvaluateProcessorVersio" - + "nRequest\022N\n\021processor_version\030\001 \001(\tB3\342A\001" - + "\002\372A,\n*documentai.googleapis.com/Processo" - + "rVersion\022Y\n\024evaluation_documents\030\003 \001(\01325" - + ".google.cloud.documentai.v1.BatchDocumen" - + "tsInputConfigB\004\342A\001\001\"p\n EvaluateProcessor" - + "VersionMetadata\022L\n\017common_metadata\030\001 \001(\013" - + "23.google.cloud.documentai.v1.CommonOper" - + "ationMetadata\"6\n EvaluateProcessorVersio" - + "nResponse\022\022\n\nevaluation\030\002 \001(\t\"S\n\024GetEval" - + "uationRequest\022;\n\004name\030\001 \001(\tB-\342A\001\002\372A&\n$do" - + "cumentai.googleapis.com/Evaluation\"\204\001\n\026L" - + "istEvaluationsRequest\022C\n\006parent\030\001 \001(\tB3\342" - + "A\001\002\372A,\n*documentai.googleapis.com/Proces" - + "sorVersion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\"o\n\027ListEvaluationsResponse\022;\n\013" - + "evaluations\030\001 \003(\0132&.google.cloud.documen" - + "tai.v1.Evaluation\022\027\n\017next_page_token\030\002 \001" - + "(\t2\234*\n\030DocumentProcessorService\022\207\002\n\017Proc" - + "essDocument\022*.google.cloud.documentai.v1" - + ".ProcessRequest\032+.google.cloud.documenta" - + "i.v1.ProcessResponse\"\232\001\332A\004name\202\323\344\223\002\214\001\"6/" - + "v1/{name=projects/*/locations/*/processo" - + "rs/*}:process:\001*ZO\"J/v1/{name=projects/*" - + "/locations/*/processors/*/processorVersi" - + "ons/*}:process:\001*\022\275\002\n\025BatchProcessDocume" - + "nts\022/.google.cloud.documentai.v1.BatchPr" - + "ocessRequest\032\035.google.longrunning.Operat" - + "ion\"\323\001\312A,\n\024BatchProcessResponse\022\024BatchPr" - + "ocessMetadata\332A\004name\202\323\344\223\002\226\001\";/v1/{name=p" - + "rojects/*/locations/*/processors/*}:batc" - + "hProcess:\001*ZT\"O/v1/{name=projects/*/loca" - + "tions/*/processors/*/processorVersions/*" - + "}:batchProcess:\001*\022\320\001\n\023FetchProcessorType" - + "s\0226.google.cloud.documentai.v1.FetchProc" - + "essorTypesRequest\0327.google.cloud.documen" - + "tai.v1.FetchProcessorTypesResponse\"H\332A\006p" - + "arent\202\323\344\223\0029\0227/v1/{parent=projects/*/loca" - + "tions/*}:fetchProcessorTypes\022\310\001\n\022ListPro" - + "cessorTypes\0225.google.cloud.documentai.v1" - + ".ListProcessorTypesRequest\0326.google.clou" - + "d.documentai.v1.ListProcessorTypesRespon" - + "se\"C\332A\006parent\202\323\344\223\0024\0222/v1/{parent=project" - + "s/*/locations/*}/processorTypes\022\265\001\n\020GetP" - + "rocessorType\0223.google.cloud.documentai.v" - + "1.GetProcessorTypeRequest\032).google.cloud" - + ".documentai.v1.ProcessorType\"A\332A\004name\202\323\344" - + "\223\0024\0222/v1/{name=projects/*/locations/*/pr" - + "ocessorTypes/*}\022\270\001\n\016ListProcessors\0221.goo" - + "gle.cloud.documentai.v1.ListProcessorsRe" - + "quest\0322.google.cloud.documentai.v1.ListP" - + "rocessorsResponse\"?\332A\006parent\202\323\344\223\0020\022./v1/" - + "{parent=projects/*/locations/*}/processo" - + "rs\022\245\001\n\014GetProcessor\022/.google.cloud.docum" - + "entai.v1.GetProcessorRequest\032%.google.cl" - + "oud.documentai.v1.Processor\"=\332A\004name\202\323\344\223" - + "\0020\022./v1/{name=projects/*/locations/*/pro" - + "cessors/*}\022\242\002\n\025TrainProcessorVersion\0228.g" - + "oogle.cloud.documentai.v1.TrainProcessor" - + "VersionRequest\032\035.google.longrunning.Oper" - + "ation\"\257\001\312A>\n\035TrainProcessorVersionRespon" - + "se\022\035TrainProcessorVersionMetadata\332A\030pare" - + "nt,processor_version\202\323\344\223\002M\"H/v1/{parent=" - + "projects/*/locations/*/processors/*}/pro" - + "cessorVersions:train:\001*\022\316\001\n\023GetProcessor" - + "Version\0226.google.cloud.documentai.v1.Get" - + "ProcessorVersionRequest\032,.google.cloud.d" - + "ocumentai.v1.ProcessorVersion\"Q\332A\004name\202\323" - + "\344\223\002D\022B/v1/{name=projects/*/locations/*/p" - + "rocessors/*/processorVersions/*}\022\341\001\n\025Lis" - + "tProcessorVersions\0228.google.cloud.docume" - + "ntai.v1.ListProcessorVersionsRequest\0329.g" - + "oogle.cloud.documentai.v1.ListProcessorV" - + "ersionsResponse\"S\332A\006parent\202\323\344\223\002D\022B/v1/{p" - + "arent=projects/*/locations/*/processors/" - + "*}/processorVersions\022\200\002\n\026DeleteProcessor" - + "Version\0229.google.cloud.documentai.v1.Del" - + "eteProcessorVersionRequest\032\035.google.long" - + "running.Operation\"\213\001\312A7\n\025google.protobuf" - + ".Empty\022\036DeleteProcessorVersionMetadata\332A" - + "\004name\202\323\344\223\002D*B/v1/{name=projects/*/locati" - + "ons/*/processors/*/processorVersions/*}\022" - + "\223\002\n\026DeployProcessorVersion\0229.google.clou" - + "d.documentai.v1.DeployProcessorVersionRe" - + "quest\032\035.google.longrunning.Operation\"\236\001\312" - + "A@\n\036DeployProcessorVersionResponse\022\036Depl" - + "oyProcessorVersionMetadata\332A\004name\202\323\344\223\002N\"" - + "I/v1/{name=projects/*/locations/*/proces" - + "sors/*/processorVersions/*}:deploy:\001*\022\235\002" - + "\n\030UndeployProcessorVersion\022;.google.clou" - + "d.documentai.v1.UndeployProcessorVersion" - + "Request\032\035.google.longrunning.Operation\"\244" - + "\001\312AD\n UndeployProcessorVersionResponse\022 " - + "UndeployProcessorVersionMetadata\332A\004name\202" - + "\323\344\223\002P\"K/v1/{name=projects/*/locations/*/" - + "processors/*/processorVersions/*}:undepl" - + "oy:\001*\022\302\001\n\017CreateProcessor\0222.google.cloud" - + ".documentai.v1.CreateProcessorRequest\032%." - + "google.cloud.documentai.v1.Processor\"T\332A" - + "\020parent,processor\202\323\344\223\002;\"./v1/{parent=pro" - + "jects/*/locations/*}/processors:\tprocess" - + "or\022\326\001\n\017DeleteProcessor\0222.google.cloud.do" - + "cumentai.v1.DeleteProcessorRequest\032\035.goo" - + "gle.longrunning.Operation\"p\312A0\n\025google.p" - + "rotobuf.Empty\022\027DeleteProcessorMetadata\332A" - + "\004name\202\323\344\223\0020*./v1/{name=projects/*/locati" - + "ons/*/processors/*}\022\333\001\n\017EnableProcessor\022" - + "2.google.cloud.documentai.v1.EnableProce" - + "ssorRequest\032\035.google.longrunning.Operati" - + "on\"u\312A2\n\027EnableProcessorResponse\022\027Enable" - + "ProcessorMetadata\202\323\344\223\002:\"5/v1/{name=proje" - + "cts/*/locations/*/processors/*}:enable:\001" - + "*\022\340\001\n\020DisableProcessor\0223.google.cloud.do" - + "cumentai.v1.DisableProcessorRequest\032\035.go" - + "ogle.longrunning.Operation\"x\312A4\n\030Disable" - + "ProcessorResponse\022\030DisableProcessorMetad" - + "ata\202\323\344\223\002;\"6/v1/{name=projects/*/location" - + "s/*/processors/*}:disable:\001*\022\241\002\n\032SetDefa" - + "ultProcessorVersion\022=.google.cloud.docum" - + "entai.v1.SetDefaultProcessorVersionReque" - + "st\032\035.google.longrunning.Operation\"\244\001\312AH\n" - + "\"SetDefaultProcessorVersionResponse\022\"Set" - + "DefaultProcessorVersionMetadata\202\323\344\223\002S\"N/" - + "v1/{processor=projects/*/locations/*/pro" - + "cessors/*}:setDefaultProcessorVersion:\001*" - + "\022\240\002\n\016ReviewDocument\0221.google.cloud.docum" - + "entai.v1.ReviewDocumentRequest\032\035.google." - + "longrunning.Operation\"\273\001\312A9\n\026ReviewDocum" - + "entResponse\022\037ReviewDocumentOperationMeta" - + "data\332A\023human_review_config\202\323\344\223\002c\"^/v1/{h" - + "uman_review_config=projects/*/locations/" - + "*/processors/*/humanReviewConfig}:review" - + "Document:\001*\022\307\002\n\030EvaluateProcessorVersion" - + "\022;.google.cloud.documentai.v1.EvaluatePr" - + "ocessorVersionRequest\032\035.google.longrunni" - + "ng.Operation\"\316\001\312AD\n EvaluateProcessorVer" - + "sionResponse\022 EvaluateProcessorVersionMe" - + "tadata\332A\021processor_version\202\323\344\223\002m\"h/v1/{p" - + "rocessor_version=projects/*/locations/*/" - + "processors/*/processorVersions/*}:evalua" - + "teProcessorVersion:\001*\022\312\001\n\rGetEvaluation\022" - + "0.google.cloud.documentai.v1.GetEvaluati" - + "onRequest\032&.google.cloud.documentai.v1.E" - + "valuation\"_\332A\004name\202\323\344\223\002R\022P/v1/{name=proj" - + "ects/*/locations/*/processors/*/processo" - + "rVersions/*/evaluations/*}\022\335\001\n\017ListEvalu" - + "ations\0222.google.cloud.documentai.v1.List" - + "EvaluationsRequest\0323.google.cloud.docume" - + "ntai.v1.ListEvaluationsResponse\"a\332A\006pare" - + "nt\202\323\344\223\002R\022P/v1/{parent=projects/*/locatio" - + "ns/*/processors/*/processorVersions/*}/e" - + "valuations\032M\312A\031documentai.googleapis.com" - + "\322A.https://www.googleapis.com/auth/cloud" - + "-platformB\252\003\n\036com.google.cloud.documenta" - + "i.v1B\032DocumentAiProcessorServiceP\001Z>clou" - + "d.google.com/go/documentai/apiv1/documen" - + "taipb;documentaipb\252\002\032Google.Cloud.Docume" - + "ntAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035G" - + "oogle::Cloud::DocumentAI::V1\352A\177\n+documen" - + "tai.googleapis.com/HumanReviewConfig\022Ppr" - + "ojects/{project}/locations/{location}/pr" - + "ocessors/{processor}/humanReviewConfig\352A" - + "M\n\"documentai.googleapis.com/Location\022\'p" - + "rojects/{project}/locations/{location}b\006" - + "proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.documentai.v1.DocumentProto.getDescriptor(), - com.google.cloud.documentai.v1.DocumentIoProto.getDescriptor(), - com.google.cloud.documentai.v1.DocumentAiDocumentSchema.getDescriptor(), - com.google.cloud.documentai.v1.DocumentAiEvaluation.getDescriptor(), - com.google.cloud.documentai.v1.OperationMetadataProto.getDescriptor(), - com.google.cloud.documentai.v1.DocumentAiProcessor.getDescriptor(), - com.google.cloud.documentai.v1.DocumentAiProcessorType.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1_ProcessOptions_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_ProcessOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessOptions_descriptor, - new java.lang.String[] { - "IndividualPageSelector", "FromStart", "FromEnd", "OcrConfig", "PageRange", - }); - internal_static_google_cloud_documentai_v1_ProcessOptions_IndividualPageSelector_descriptor = - internal_static_google_cloud_documentai_v1_ProcessOptions_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_ProcessOptions_IndividualPageSelector_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessOptions_IndividualPageSelector_descriptor, - new java.lang.String[] { - "Pages", - }); - internal_static_google_cloud_documentai_v1_ProcessRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1_ProcessRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessRequest_descriptor, - new java.lang.String[] { - "InlineDocument", - "RawDocument", - "GcsDocument", - "Name", - "SkipHumanReview", - "FieldMask", - "ProcessOptions", - "Source", - }); - internal_static_google_cloud_documentai_v1_HumanReviewStatus_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1_HumanReviewStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_HumanReviewStatus_descriptor, - new java.lang.String[] { - "State", "StateMessage", "HumanReviewOperation", - }); - internal_static_google_cloud_documentai_v1_ProcessResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1_ProcessResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessResponse_descriptor, - new java.lang.String[] { - "Document", "HumanReviewStatus", - }); - internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_documentai_v1_BatchProcessRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor, - new java.lang.String[] { - "Name", "InputDocuments", "DocumentOutputConfig", "SkipHumanReview", "ProcessOptions", - }); - internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_documentai_v1_BatchProcessResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor, - new java.lang.String[] { - "State", "StateMessage", "CreateTime", "UpdateTime", "IndividualProcessStatuses", - }); - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor = - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor, - new java.lang.String[] { - "InputGcsSource", "Status", "OutputGcsDestination", "HumanReviewStatus", - }); - internal_static_google_cloud_documentai_v1_FetchProcessorTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_documentai_v1_FetchProcessorTypesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_FetchProcessorTypesRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_cloud_documentai_v1_FetchProcessorTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_documentai_v1_FetchProcessorTypesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_FetchProcessorTypesResponse_descriptor, - new java.lang.String[] { - "ProcessorTypes", - }); - internal_static_google_cloud_documentai_v1_ListProcessorTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_documentai_v1_ListProcessorTypesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ListProcessorTypesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_documentai_v1_ListProcessorTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_documentai_v1_ListProcessorTypesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ListProcessorTypesResponse_descriptor, - new java.lang.String[] { - "ProcessorTypes", "NextPageToken", - }); - internal_static_google_cloud_documentai_v1_ListProcessorsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_documentai_v1_ListProcessorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ListProcessorsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_documentai_v1_ListProcessorsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_documentai_v1_ListProcessorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ListProcessorsResponse_descriptor, - new java.lang.String[] { - "Processors", "NextPageToken", - }); - internal_static_google_cloud_documentai_v1_GetProcessorTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_documentai_v1_GetProcessorTypeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_GetProcessorTypeRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_GetProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_documentai_v1_GetProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_GetProcessorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_GetProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_documentai_v1_GetProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_GetProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_ListProcessorVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_documentai_v1_ListProcessorVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ListProcessorVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_documentai_v1_ListProcessorVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_documentai_v1_ListProcessorVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ListProcessorVersionsResponse_descriptor, - new java.lang.String[] { - "ProcessorVersions", "NextPageToken", - }); - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_UndeployProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_documentai_v1_CreateProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor, - new java.lang.String[] { - "Parent", "Processor", - }); - internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1_EnableProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_documentai_v1_EnableProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_EnableProcessorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_EnableProcessorResponse_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_documentai_v1_EnableProcessorResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_EnableProcessorResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1_EnableProcessorMetadata_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_documentai_v1_EnableProcessorMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_EnableProcessorMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_documentai_v1_DisableProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_documentai_v1_DisableProcessorResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Processor", "DefaultProcessorVersion", - }); - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_SetDefaultProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_descriptor, - new java.lang.String[] { - "CustomDocumentExtractionOptions", - "Parent", - "ProcessorVersion", - "DocumentSchema", - "InputData", - "BaseProcessorVersion", - "ProcessorFlags", - }); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_InputData_descriptor = - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_InputData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_InputData_descriptor, - new java.lang.String[] { - "TrainingDocuments", "TestDocuments", - }); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_descriptor = - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_descriptor, - new java.lang.String[] { - "TrainingMethod", - }); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_TrainProcessorVersionResponse_descriptor, - new java.lang.String[] { - "ProcessorVersion", - }); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", "TrainingDatasetValidation", "TestDatasetValidation", - }); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_DatasetValidation_descriptor = - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_DatasetValidation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_TrainProcessorVersionMetadata_DatasetValidation_descriptor, - new java.lang.String[] { - "DocumentErrorCount", "DatasetErrorCount", "DocumentErrors", "DatasetErrors", - }); - internal_static_google_cloud_documentai_v1_ReviewDocumentRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_documentai_v1_ReviewDocumentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ReviewDocumentRequest_descriptor, - new java.lang.String[] { - "InlineDocument", - "HumanReviewConfig", - "EnableSchemaValidation", - "Priority", - "DocumentSchema", - "Source", - }); - internal_static_google_cloud_documentai_v1_ReviewDocumentResponse_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_documentai_v1_ReviewDocumentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ReviewDocumentResponse_descriptor, - new java.lang.String[] { - "GcsDestination", "State", "RejectionReason", - }); - internal_static_google_cloud_documentai_v1_ReviewDocumentOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_documentai_v1_ReviewDocumentOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ReviewDocumentOperationMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", "QuestionId", - }); - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionRequest_descriptor, - new java.lang.String[] { - "ProcessorVersion", "EvaluationDocuments", - }); - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_EvaluateProcessorVersionResponse_descriptor, - new java.lang.String[] { - "Evaluation", - }); - internal_static_google_cloud_documentai_v1_GetEvaluationRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_documentai_v1_GetEvaluationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_GetEvaluationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1_ListEvaluationsRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_documentai_v1_ListEvaluationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ListEvaluationsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_documentai_v1_ListEvaluationsResponse_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_documentai_v1_ListEvaluationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ListEvaluationsResponse_descriptor, - new java.lang.String[] { - "Evaluations", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.documentai.v1.DocumentProto.getDescriptor(); - com.google.cloud.documentai.v1.DocumentIoProto.getDescriptor(); - com.google.cloud.documentai.v1.DocumentAiDocumentSchema.getDescriptor(); - com.google.cloud.documentai.v1.DocumentAiEvaluation.getDescriptor(); - com.google.cloud.documentai.v1.OperationMetadataProto.getDescriptor(); - com.google.cloud.documentai.v1.DocumentAiProcessor.getDescriptor(); - com.google.cloud.documentai.v1.DocumentAiProcessorType.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java deleted file mode 100644 index c7a3a0cfd957..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/processor_type.proto - -package com.google.cloud.documentai.v1; - -public final class DocumentAiProcessorType { - private DocumentAiProcessorType() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessorType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessorType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_ProcessorType_LocationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_ProcessorType_LocationInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/documentai/v1/processor_t" - + "ype.proto\022\032google.cloud.documentai.v1\032\035g" - + "oogle/api/launch_stage.proto\032\031google/api" - + "/resource.proto\"\223\003\n\rProcessorType\022\014\n\004nam" - + "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\020\n\010category\030\003 \001(\t\022" - + "S\n\023available_locations\030\004 \003(\01326.google.cl" - + "oud.documentai.v1.ProcessorType.Location" - + "Info\022\026\n\016allow_creation\030\006 \001(\010\022-\n\014launch_s" - + "tage\030\010 \001(\0162\027.google.api.LaunchStage\022\034\n\024s" - + "ample_document_uris\030\t \003(\t\032#\n\014LocationInf" - + "o\022\023\n\013location_id\030\001 \001(\t:u\352Ar\n\'documentai." - + "googleapis.com/ProcessorType\022Gprojects/{" - + "project}/locations/{location}/processorT" - + "ypes/{processor_type}B\325\001\n\036com.google.clo" - + "ud.documentai.v1B\027DocumentAiProcessorTyp" - + "eP\001Z>cloud.google.com/go/documentai/apiv" - + "1/documentaipb;documentaipb\252\002\032Google.Clo" - + "ud.DocumentAI.V1\312\002\032Google\\Cloud\\Document" - + "AI\\V1\352\002\035Google::Cloud::DocumentAI::V1b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.LaunchStageProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1_ProcessorType_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_ProcessorType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessorType_descriptor, - new java.lang.String[] { - "Name", - "Type", - "Category", - "AvailableLocations", - "AllowCreation", - "LaunchStage", - "SampleDocumentUris", - }); - internal_static_google_cloud_documentai_v1_ProcessorType_LocationInfo_descriptor = - internal_static_google_cloud_documentai_v1_ProcessorType_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1_ProcessorType_LocationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_ProcessorType_LocationInfo_descriptor, - new java.lang.String[] { - "LocationId", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.LaunchStageProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java deleted file mode 100644 index 2b805db2dc97..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java +++ /dev/null @@ -1,234 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_io.proto - -package com.google.cloud.documentai.v1; - -public final class DocumentIoProto { - private DocumentIoProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_RawDocument_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_RawDocument_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_GcsDocument_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_GcsDocument_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_GcsDocuments_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_GcsDocuments_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_GcsPrefix_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_GcsPrefix_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_OcrConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_OcrConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_OcrConfig_Hints_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_OcrConfig_Hints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_OcrConfig_PremiumFeatures_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_OcrConfig_PremiumFeatures_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/documentai/v1/document_io" - + ".proto\022\032google.cloud.documentai.v1\032 goog" - + "le/protobuf/field_mask.proto\"G\n\013RawDocum" - + "ent\022\017\n\007content\030\001 \001(\014\022\021\n\tmime_type\030\002 \001(\t\022" - + "\024\n\014display_name\030\003 \001(\t\"1\n\013GcsDocument\022\017\n\007" - + "gcs_uri\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\"J\n\014GcsD" - + "ocuments\022:\n\tdocuments\030\001 \003(\0132\'.google.clo" - + "ud.documentai.v1.GcsDocument\"#\n\tGcsPrefi" - + "x\022\026\n\016gcs_uri_prefix\030\001 \001(\t\"\245\001\n\031BatchDocum" - + "entsInputConfig\022;\n\ngcs_prefix\030\001 \001(\0132%.go" - + "ogle.cloud.documentai.v1.GcsPrefixH\000\022A\n\r" - + "gcs_documents\030\002 \001(\0132(.google.cloud.docum" - + "entai.v1.GcsDocumentsH\000B\010\n\006source\"\205\003\n\024Do" - + "cumentOutputConfig\022]\n\021gcs_output_config\030" - + "\001 \001(\0132@.google.cloud.documentai.v1.Docum" - + "entOutputConfig.GcsOutputConfigH\000\032\376\001\n\017Gc" - + "sOutputConfig\022\017\n\007gcs_uri\030\001 \001(\t\022.\n\nfield_" - + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\022h" - + "\n\017sharding_config\030\003 \001(\0132O.google.cloud.d" - + "ocumentai.v1.DocumentOutputConfig.GcsOut" - + "putConfig.ShardingConfig\032@\n\016ShardingConf" - + "ig\022\027\n\017pages_per_shard\030\001 \001(\005\022\025\n\rpages_ove" - + "rlap\030\002 \001(\005B\r\n\013destination\"\362\003\n\tOcrConfig\022" - + ":\n\005hints\030\002 \001(\0132+.google.cloud.documentai" - + ".v1.OcrConfig.Hints\022!\n\031enable_native_pdf" - + "_parsing\030\003 \001(\010\022#\n\033enable_image_quality_s" - + "cores\030\004 \001(\010\022\034\n\024advanced_ocr_options\030\005 \003(" - + "\t\022\025\n\renable_symbol\030\006 \001(\010\022\036\n\022compute_styl" - + "e_info\030\010 \001(\010B\002\030\001\022)\n!disable_character_bo" - + "xes_detection\030\n \001(\010\022O\n\020premium_features\030" - + "\013 \001(\01325.google.cloud.documentai.v1.OcrCo" - + "nfig.PremiumFeatures\032\037\n\005Hints\022\026\n\016languag" - + "e_hints\030\001 \003(\t\032o\n\017PremiumFeatures\022\'\n\037enab" - + "le_selection_mark_detection\030\003 \001(\010\022\032\n\022com" - + "pute_style_info\030\004 \001(\010\022\027\n\017enable_math_ocr" - + "\030\005 \001(\010B\315\001\n\036com.google.cloud.documentai.v" - + "1B\017DocumentIoProtoP\001Z>cloud.google.com/g" - + "o/documentai/apiv1/documentaipb;document" - + "aipb\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Goog" - + "le\\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.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1_RawDocument_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_RawDocument_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_RawDocument_descriptor, - new java.lang.String[] { - "Content", "MimeType", "DisplayName", - }); - internal_static_google_cloud_documentai_v1_GcsDocument_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1_GcsDocument_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_GcsDocument_descriptor, - new java.lang.String[] { - "GcsUri", "MimeType", - }); - internal_static_google_cloud_documentai_v1_GcsDocuments_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1_GcsDocuments_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_GcsDocuments_descriptor, - new java.lang.String[] { - "Documents", - }); - internal_static_google_cloud_documentai_v1_GcsPrefix_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1_GcsPrefix_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_GcsPrefix_descriptor, - new java.lang.String[] { - "GcsUriPrefix", - }); - internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor, - new java.lang.String[] { - "GcsPrefix", "GcsDocuments", "Source", - }); - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_descriptor, - new java.lang.String[] { - "GcsOutputConfig", "Destination", - }); - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_descriptor = - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_descriptor, - new java.lang.String[] { - "GcsUri", "FieldMask", "ShardingConfig", - }); - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor = - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor, - new java.lang.String[] { - "PagesPerShard", "PagesOverlap", - }); - internal_static_google_cloud_documentai_v1_OcrConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_documentai_v1_OcrConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_OcrConfig_descriptor, - new java.lang.String[] { - "Hints", - "EnableNativePdfParsing", - "EnableImageQualityScores", - "AdvancedOcrOptions", - "EnableSymbol", - "ComputeStyleInfo", - "DisableCharacterBoxesDetection", - "PremiumFeatures", - }); - internal_static_google_cloud_documentai_v1_OcrConfig_Hints_descriptor = - internal_static_google_cloud_documentai_v1_OcrConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1_OcrConfig_Hints_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_OcrConfig_Hints_descriptor, - new java.lang.String[] { - "LanguageHints", - }); - internal_static_google_cloud_documentai_v1_OcrConfig_PremiumFeatures_descriptor = - internal_static_google_cloud_documentai_v1_OcrConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_documentai_v1_OcrConfig_PremiumFeatures_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_OcrConfig_PremiumFeatures_descriptor, - new java.lang.String[] { - "EnableSelectionMarkDetection", "ComputeStyleInfo", "EnableMathOcr", - }); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java deleted file mode 100644 index 6eb7fdc38a73..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java +++ /dev/null @@ -1,867 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document.proto - -package com.google.cloud.documentai.v1; - -public final class DocumentProto { - private DocumentProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_ShardInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Style_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Style_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Style_FontSize_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Dimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Dimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Image_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Image_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Matrix_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Matrix_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Layout_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Layout_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Block_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Block_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Paragraph_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Paragraph_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Line_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Line_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Token_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Token_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Token_DetectedBreak_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Token_DetectedBreak_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Token_StyleInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Token_StyleInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Symbol_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Symbol_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_VisualElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_VisualElement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Table_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableRow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableCell_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableCell_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_FormField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_FormField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_DetectedBarcode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_DetectedBarcode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_DetectedLanguage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_DetectedLanguage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_DetectedDefect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_DetectedDefect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Entity_NormalizedValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Entity_NormalizedValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_EntityRelation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_EntityRelation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_TextAnchor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_TextAnchor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_TextAnchor_TextSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_TextAnchor_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_PageAnchor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_PageAnchor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_PageAnchor_PageRef_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_PageAnchor_PageRef_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Provenance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Provenance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Provenance_Parent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Provenance_Parent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Revision_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Revision_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_Revision_HumanReview_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_Revision_HumanReview_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Document_TextChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Document_TextChange_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/documentai/v1/document.pr" - + "oto\022\032google.cloud.documentai.v1\032\037google/" - + "api/field_behavior.proto\032(google/cloud/d" - + "ocumentai/v1/barcode.proto\032)google/cloud" - + "/documentai/v1/geometry.proto\032\037google/pr" - + "otobuf/timestamp.proto\032\027google/rpc/statu" - + "s.proto\032\027google/type/color.proto\032\026google" - + "/type/date.proto\032\032google/type/datetime.p" - + "roto\032\027google/type/money.proto\032 google/ty" - + "pe/postal_address.proto\"\233E\n\010Document\022\023\n\003" - + "uri\030\001 \001(\tB\004\342A\001\001H\000\022\027\n\007content\030\002 \001(\014B\004\342A\001\001" - + "H\000\022\021\n\tmime_type\030\003 \001(\t\022\022\n\004text\030\004 \001(\tB\004\342A\001" - + "\001\022C\n\013text_styles\030\005 \003(\0132*.google.cloud.do" - + "cumentai.v1.Document.StyleB\002\030\001\0228\n\005pages\030" - + "\006 \003(\0132).google.cloud.documentai.v1.Docum" - + "ent.Page\022=\n\010entities\030\007 \003(\0132+.google.clou" - + "d.documentai.v1.Document.Entity\022M\n\020entit" - + "y_relations\030\010 \003(\01323.google.cloud.documen" - + "tai.v1.Document.EntityRelation\022E\n\014text_c" - + "hanges\030\016 \003(\0132/.google.cloud.documentai.v" - + "1.Document.TextChange\022B\n\nshard_info\030\t \001(" - + "\0132..google.cloud.documentai.v1.Document." - + "ShardInfo\022!\n\005error\030\n \001(\0132\022.google.rpc.St" - + "atus\022@\n\trevisions\030\r \003(\0132-.google.cloud.d" - + "ocumentai.v1.Document.Revision\032J\n\tShardI" - + "nfo\022\023\n\013shard_index\030\001 \001(\003\022\023\n\013shard_count\030" - + "\002 \001(\003\022\023\n\013text_offset\030\003 \001(\003\032\345\002\n\005Style\022D\n\013" - + "text_anchor\030\001 \001(\0132/.google.cloud.documen" - + "tai.v1.Document.TextAnchor\022!\n\005color\030\002 \001(" - + "\0132\022.google.type.Color\022,\n\020background_colo" - + "r\030\003 \001(\0132\022.google.type.Color\022\023\n\013font_weig" - + "ht\030\004 \001(\t\022\022\n\ntext_style\030\005 \001(\t\022\027\n\017text_dec" - + "oration\030\006 \001(\t\022F\n\tfont_size\030\007 \001(\01323.googl" - + "e.cloud.documentai.v1.Document.Style.Fon" - + "tSize\022\023\n\013font_family\030\010 \001(\t\032&\n\010FontSize\022\014" - + "\n\004size\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\302)\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" - + "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\022T\n\021detected_barcodes\030\017 \003(\01329." - + "google.cloud.documentai.v1.Document.Page" - + ".DetectedBarcode\022Z\n\024image_quality_scores" - + "\030\021 \001(\0132<.google.cloud.documentai.v1.Docu" - + "ment.Page.ImageQualityScores\022G\n\nprovenan" - + "ce\030\020 \001(\0132/.google.cloud.documentai.v1.Do" - + "cument.ProvenanceB\002\030\001\0328\n\tDimension\022\r\n\005wi" - + "dth\030\001 \001(\002\022\016\n\006height\030\002 \001(\002\022\014\n\004unit\030\003 \001(\t\032" - + "J\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\006M" - + "atrix\022\014\n\004rows\030\001 \001(\005\022\014\n\004cols\030\002 \001(\005\022\014\n\004typ" - + "e\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.BoundingPoly\022Q\n\013orientati" - + "on\030\004 \001(\0162<.google.cloud.documentai.v1.Do" - + "cument.Page.Layout.Orientation\"e\n\013Orient" - + "ation\022\033\n\027ORIENTATION_UNSPECIFIED\020\000\022\013\n\007PA" - + "GE_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\352\001\n\005Block\022@\n\006layout\030\001 \001(\0132" - + "0.google.cloud.documentai.v1.Document.Pa" - + "ge.Layout\022V\n\022detected_languages\030\002 \003(\0132:." - + "google.cloud.documentai.v1.Document.Page" - + ".DetectedLanguage\022G\n\nprovenance\030\003 \001(\0132/." - + "google.cloud.documentai.v1.Document.Prov" - + "enanceB\002\030\001\032\356\001\n\tParagraph\022@\n\006layout\030\001 \001(\013" - + "20.google.cloud.documentai.v1.Document.P" - + "age.Layout\022V\n\022detected_languages\030\002 \003(\0132:" - + ".google.cloud.documentai.v1.Document.Pag" - + "e.DetectedLanguage\022G\n\nprovenance\030\003 \001(\0132/" - + ".google.cloud.documentai.v1.Document.Pro" - + "venanceB\002\030\001\032\351\001\n\004Line\022@\n\006layout\030\001 \001(\01320.g" - + "oogle.cloud.documentai.v1.Document.Page." - + "Layout\022V\n\022detected_languages\030\002 \003(\0132:.goo" - + "gle.cloud.documentai.v1.Document.Page.De" - + "tectedLanguage\022G\n\nprovenance\030\003 \001(\0132/.goo" - + "gle.cloud.documentai.v1.Document.Provena" - + "nceB\002\030\001\032\236\007\n\005Token\022@\n\006layout\030\001 \001(\01320.goog" - + "le.cloud.documentai.v1.Document.Page.Lay" - + "out\022U\n\016detected_break\030\002 \001(\0132=.google.clo" - + "ud.documentai.v1.Document.Page.Token.Det" - + "ectedBreak\022V\n\022detected_languages\030\003 \003(\0132:" - + ".google.cloud.documentai.v1.Document.Pag" - + "e.DetectedLanguage\022G\n\nprovenance\030\004 \001(\0132/" - + ".google.cloud.documentai.v1.Document.Pro" - + "venanceB\002\030\001\022M\n\nstyle_info\030\005 \001(\01329.google" - + ".cloud.documentai.v1.Document.Page.Token" - + ".StyleInfo\032\246\001\n\rDetectedBreak\022P\n\004type\030\001 \001" - + "(\0162B.google.cloud.documentai.v1.Document" - + ".Page.Token.DetectedBreak.Type\"C\n\004Type\022\024" - + "\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005SPACE\020\001\022\016\n\nWIDE_" - + "SPACE\020\002\022\n\n\006HYPHEN\020\003\032\342\002\n\tStyleInfo\022\021\n\tfon" - + "t_size\030\001 \001(\005\022\027\n\017pixel_font_size\030\002 \001(\001\022\026\n" - + "\016letter_spacing\030\003 \001(\001\022\021\n\tfont_type\030\004 \001(\t" - + "\022\014\n\004bold\030\005 \001(\010\022\016\n\006italic\030\006 \001(\010\022\022\n\nunderl" - + "ined\030\007 \001(\010\022\021\n\tstrikeout\030\010 \001(\010\022\021\n\tsubscri" - + "pt\030\t \001(\010\022\023\n\013superscript\030\n \001(\010\022\021\n\tsmallca" - + "ps\030\013 \001(\010\022\023\n\013font_weight\030\014 \001(\005\022\023\n\013handwri" - + "tten\030\r \001(\010\022&\n\ntext_color\030\016 \001(\0132\022.google." - + "type.Color\022,\n\020background_color\030\017 \001(\0132\022.g" - + "oogle.type.Color\032\242\001\n\006Symbol\022@\n\006layout\030\001 " - + "\001(\01320.google.cloud.documentai.v1.Documen" - + "t.Page.Layout\022V\n\022detected_languages\030\002 \003(" - + "\0132:.google.cloud.documentai.v1.Document." - + "Page.DetectedLanguage\032\267\001\n\rVisualElement\022" - + "@\n\006layout\030\001 \001(\01320.google.cloud.documenta" - + "i.v1.Document.Page.Layout\022\014\n\004type\030\002 \001(\t\022" - + "V\n\022detected_languages\030\003 \003(\0132:.google.clo" - + "ud.documentai.v1.Document.Page.DetectedL" - + "anguage\032\250\005\n\005Table\022@\n\006layout\030\001 \001(\01320.goog" - + "le.cloud.documentai.v1.Document.Page.Lay" - + "out\022M\n\013header_rows\030\002 \003(\01328.google.cloud." - + "documentai.v1.Document.Page.Table.TableR" - + "ow\022K\n\tbody_rows\030\003 \003(\01328.google.cloud.doc" - + "umentai.v1.Document.Page.Table.TableRow\022" - + "V\n\022detected_languages\030\004 \003(\0132:.google.clo" - + "ud.documentai.v1.Document.Page.DetectedL" - + "anguage\022G\n\nprovenance\030\005 \001(\0132/.google.clo" - + "ud.documentai.v1.Document.ProvenanceB\002\030\001" - + "\032T\n\010TableRow\022H\n\005cells\030\001 \003(\01329.google.clo" - + "ud.documentai.v1.Document.Page.Table.Tab" - + "leCell\032\311\001\n\tTableCell\022@\n\006layout\030\001 \001(\01320.g" - + "oogle.cloud.documentai.v1.Document.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 \003(\0132:.google." - + "cloud.documentai.v1.Document.Page.Detect" - + "edLanguage\032\346\003\n\tFormField\022D\n\nfield_name\030\001" - + " \001(\01320.google.cloud.documentai.v1.Docume" - + "nt.Page.Layout\022E\n\013field_value\030\002 \001(\01320.go" - + "ogle.cloud.documentai.v1.Document.Page.L" - + "ayout\022[\n\027name_detected_languages\030\003 \003(\0132:" - + ".google.cloud.documentai.v1.Document.Pag" - + "e.DetectedLanguage\022\\\n\030value_detected_lan" - + "guages\030\004 \003(\0132:.google.cloud.documentai.v" - + "1.Document.Page.DetectedLanguage\022\022\n\nvalu" - + "e_type\030\005 \001(\t\022\032\n\022corrected_key_text\030\006 \001(\t" - + "\022\034\n\024corrected_value_text\030\007 \001(\t\022C\n\nproven" - + "ance\030\010 \001(\0132/.google.cloud.documentai.v1." - + "Document.Provenance\032\211\001\n\017DetectedBarcode\022" - + "@\n\006layout\030\001 \001(\01320.google.cloud.documenta" - + "i.v1.Document.Page.Layout\0224\n\007barcode\030\002 \001" - + "(\0132#.google.cloud.documentai.v1.Barcode\032" - + "=\n\020DetectedLanguage\022\025\n\rlanguage_code\030\001 \001" - + "(\t\022\022\n\nconfidence\030\002 \001(\002\032\306\001\n\022ImageQualityS" - + "cores\022\025\n\rquality_score\030\001 \001(\002\022e\n\020detected" - + "_defects\030\002 \003(\0132K.google.cloud.documentai" - + ".v1.Document.Page.ImageQualityScores.Det" - + "ectedDefect\0322\n\016DetectedDefect\022\014\n\004type\030\001 " - + "\001(\t\022\022\n\nconfidence\030\002 \001(\002\032\334\006\n\006Entity\022J\n\013te" - + "xt_anchor\030\001 \001(\0132/.google.cloud.documenta" - + "i.v1.Document.TextAnchorB\004\342A\001\001\022\022\n\004type\030\002" - + " \001(\tB\004\342A\001\002\022\032\n\014mention_text\030\003 \001(\tB\004\342A\001\001\022\030" - + "\n\nmention_id\030\004 \001(\tB\004\342A\001\001\022\030\n\nconfidence\030\005" - + " \001(\002B\004\342A\001\001\022J\n\013page_anchor\030\006 \001(\0132/.google" - + ".cloud.documentai.v1.Document.PageAnchor" - + "B\004\342A\001\001\022\020\n\002id\030\007 \001(\tB\004\342A\001\001\022[\n\020normalized_v" - + "alue\030\t \001(\0132;.google.cloud.documentai.v1." - + "Document.Entity.NormalizedValueB\004\342A\001\001\022E\n" - + "\nproperties\030\n \003(\0132+.google.cloud.documen" - + "tai.v1.Document.EntityB\004\342A\001\001\022I\n\nprovenan" - + "ce\030\013 \001(\0132/.google.cloud.documentai.v1.Do" - + "cument.ProvenanceB\004\342A\001\001\022\026\n\010redacted\030\014 \001(" - + "\010B\004\342A\001\001\032\274\002\n\017NormalizedValue\022)\n\013money_val" - + "ue\030\002 \001(\0132\022.google.type.MoneyH\000\022\'\n\ndate_v" - + "alue\030\003 \001(\0132\021.google.type.DateH\000\022/\n\016datet" - + "ime_value\030\004 \001(\0132\025.google.type.DateTimeH\000" - + "\0223\n\raddress_value\030\005 \001(\0132\032.google.type.Po" - + "stalAddressH\000\022\027\n\rboolean_value\030\006 \001(\010H\000\022\027" - + "\n\rinteger_value\030\007 \001(\005H\000\022\025\n\013float_value\030\010" - + " \001(\002H\000\022\022\n\004text\030\001 \001(\tB\004\342A\001\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.Te" - + "xtAnchor.TextSegment\022\017\n\007content\030\002 \001(\t\0325\n" - + "\013TextSegment\022\023\n\013start_index\030\001 \001(\003\022\021\n\tend" - + "_index\030\002 \001(\003\032\335\003\n\nPageAnchor\022J\n\tpage_refs" - + "\030\001 \003(\01327.google.cloud.documentai.v1.Docu" - + "ment.PageAnchor.PageRef\032\202\003\n\007PageRef\022\022\n\004p" - + "age\030\001 \001(\003B\004\342A\001\002\022]\n\013layout_type\030\002 \001(\0162B.g" - + "oogle.cloud.documentai.v1.Document.PageA" - + "nchor.PageRef.LayoutTypeB\004\342A\001\001\022\031\n\tlayout" - + "_id\030\003 \001(\tB\006\030\001\342A\001\001\022E\n\rbounding_poly\030\004 \001(\013" - + "2(.google.cloud.documentai.v1.BoundingPo" - + "lyB\004\342A\001\001\022\030\n\nconfidence\030\005 \001(\002B\004\342A\001\001\"\207\001\n\nL" - + "ayoutType\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\005TO" - + "KEN\020\004\022\022\n\016VISUAL_ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016\n\n" - + "FORM_FIELD\020\007\032\250\003\n\nProvenance\022\024\n\010revision\030" - + "\001 \001(\005B\002\030\001\022\016\n\002id\030\002 \001(\005B\002\030\001\022G\n\007parents\030\003 \003" - + "(\01326.google.cloud.documentai.v1.Document" - + ".Provenance.Parent\022K\n\004type\030\004 \001(\0162=.googl" - + "e.cloud.documentai.v1.Document.Provenanc" - + "e.OperationType\0329\n\006Parent\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\"\242\001\n\rO" - + "perationType\022\036\n\032OPERATION_TYPE_UNSPECIFI" - + "ED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\n\n\006UPDATE\020\007\022\013\n" - + "\007REPLACE\020\003\022\026\n\016EVAL_REQUESTED\020\004\032\002\010\001\022\025\n\rEV" - + "AL_APPROVED\020\005\032\002\010\001\022\024\n\014EVAL_SKIPPED\020\006\032\002\010\001\032" - + "\245\002\n\010Revision\022\017\n\005agent\030\004 \001(\tH\000\022\023\n\tprocess" - + "or\030\005 \001(\tH\000\022\n\n\002id\030\001 \001(\t\022\022\n\006parent\030\002 \003(\005B\002" - + "\030\001\022\022\n\nparent_ids\030\007 \003(\t\022/\n\013create_time\030\003 " - + "\001(\0132\032.google.protobuf.Timestamp\022O\n\014human" - + "_review\030\006 \001(\01329.google.cloud.documentai." - + "v1.Document.Revision.HumanReview\0323\n\013Huma" - + "nReview\022\r\n\005state\030\001 \001(\t\022\025\n\rstate_message\030" - + "\002 \001(\tB\010\n\006source\032\261\001\n\nTextChange\022D\n\013text_a" - + "nchor\030\001 \001(\0132/.google.cloud.documentai.v1" - + ".Document.TextAnchor\022\024\n\014changed_text\030\002 \001" - + "(\t\022G\n\nprovenance\030\003 \003(\0132/.google.cloud.do" - + "cumentai.v1.Document.ProvenanceB\002\030\001B\010\n\006s" - + "ourceB\313\001\n\036com.google.cloud.documentai.v1" - + "B\rDocumentProtoP\001Z>cloud.google.com/go/d" - + "ocumentai/apiv1/documentaipb;documentaip" - + "b\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Google\\" - + "Cloud\\DocumentAI\\V1\352\002\035Google::Cloud::Doc" - + "umentAI::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.documentai.v1.BarcodeProto.getDescriptor(), - com.google.cloud.documentai.v1.GeometryProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.ColorProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1_Document_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_Document_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_descriptor, - new java.lang.String[] { - "Uri", - "Content", - "MimeType", - "Text", - "TextStyles", - "Pages", - "Entities", - "EntityRelations", - "TextChanges", - "ShardInfo", - "Error", - "Revisions", - "Source", - }); - internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1_Document_ShardInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor, - new java.lang.String[] { - "ShardIndex", "ShardCount", "TextOffset", - }); - internal_static_google_cloud_documentai_v1_Document_Style_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_documentai_v1_Document_Style_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Style_descriptor, - new java.lang.String[] { - "TextAnchor", - "Color", - "BackgroundColor", - "FontWeight", - "TextStyle", - "TextDecoration", - "FontSize", - "FontFamily", - }); - internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor = - internal_static_google_cloud_documentai_v1_Document_Style_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_Style_FontSize_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor, - new java.lang.String[] { - "Size", "Unit", - }); - internal_static_google_cloud_documentai_v1_Document_Page_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_documentai_v1_Document_Page_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_descriptor, - new java.lang.String[] { - "PageNumber", - "Image", - "Transforms", - "Dimension", - "Layout", - "DetectedLanguages", - "Blocks", - "Paragraphs", - "Lines", - "Tokens", - "VisualElements", - "Tables", - "FormFields", - "Symbols", - "DetectedBarcodes", - "ImageQualityScores", - "Provenance", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Dimension_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1_Document_Page_Dimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Dimension_descriptor, - new java.lang.String[] { - "Width", "Height", "Unit", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Image_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_documentai_v1_Document_Page_Image_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Image_descriptor, - new java.lang.String[] { - "Content", "MimeType", "Width", "Height", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Matrix_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_documentai_v1_Document_Page_Matrix_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Matrix_descriptor, - new java.lang.String[] { - "Rows", "Cols", "Type", "Data", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Layout_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_documentai_v1_Document_Page_Layout_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Layout_descriptor, - new java.lang.String[] { - "TextAnchor", "Confidence", "BoundingPoly", "Orientation", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Block_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_documentai_v1_Document_Page_Block_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Block_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Paragraph_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_documentai_v1_Document_Page_Paragraph_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Paragraph_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Line_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_documentai_v1_Document_Page_Line_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Line_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Token_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_documentai_v1_Document_Page_Token_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Token_descriptor, - new java.lang.String[] { - "Layout", "DetectedBreak", "DetectedLanguages", "Provenance", "StyleInfo", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Token_DetectedBreak_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_Token_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_Page_Token_DetectedBreak_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Token_DetectedBreak_descriptor, - new java.lang.String[] { - "Type", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Token_StyleInfo_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_Token_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1_Document_Page_Token_StyleInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Token_StyleInfo_descriptor, - new java.lang.String[] { - "FontSize", - "PixelFontSize", - "LetterSpacing", - "FontType", - "Bold", - "Italic", - "Underlined", - "Strikeout", - "Subscript", - "Superscript", - "Smallcaps", - "FontWeight", - "Handwritten", - "TextColor", - "BackgroundColor", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Symbol_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_documentai_v1_Document_Page_Symbol_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Symbol_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1_Document_Page_VisualElement_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor.getNestedTypes().get(9); - internal_static_google_cloud_documentai_v1_Document_Page_VisualElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_VisualElement_descriptor, - new java.lang.String[] { - "Layout", "Type", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Table_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor - .getNestedTypes() - .get(10); - internal_static_google_cloud_documentai_v1_Document_Page_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Table_descriptor, - new java.lang.String[] { - "Layout", "HeaderRows", "BodyRows", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableRow_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_Table_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableRow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableRow_descriptor, - new java.lang.String[] { - "Cells", - }); - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableCell_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_Table_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableCell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_Table_TableCell_descriptor, - new java.lang.String[] { - "Layout", "RowSpan", "ColSpan", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1_Document_Page_FormField_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor - .getNestedTypes() - .get(11); - internal_static_google_cloud_documentai_v1_Document_Page_FormField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_FormField_descriptor, - new java.lang.String[] { - "FieldName", - "FieldValue", - "NameDetectedLanguages", - "ValueDetectedLanguages", - "ValueType", - "CorrectedKeyText", - "CorrectedValueText", - "Provenance", - }); - internal_static_google_cloud_documentai_v1_Document_Page_DetectedBarcode_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor - .getNestedTypes() - .get(12); - internal_static_google_cloud_documentai_v1_Document_Page_DetectedBarcode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_DetectedBarcode_descriptor, - new java.lang.String[] { - "Layout", "Barcode", - }); - internal_static_google_cloud_documentai_v1_Document_Page_DetectedLanguage_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor - .getNestedTypes() - .get(13); - internal_static_google_cloud_documentai_v1_Document_Page_DetectedLanguage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_DetectedLanguage_descriptor, - new java.lang.String[] { - "LanguageCode", "Confidence", - }); - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_descriptor - .getNestedTypes() - .get(14); - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_descriptor, - new java.lang.String[] { - "QualityScore", "DetectedDefects", - }); - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_DetectedDefect_descriptor = - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_DetectedDefect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Page_ImageQualityScores_DetectedDefect_descriptor, - new java.lang.String[] { - "Type", "Confidence", - }); - internal_static_google_cloud_documentai_v1_Document_Entity_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_documentai_v1_Document_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Entity_descriptor, - new java.lang.String[] { - "TextAnchor", - "Type", - "MentionText", - "MentionId", - "Confidence", - "PageAnchor", - "Id", - "NormalizedValue", - "Properties", - "Provenance", - "Redacted", - }); - internal_static_google_cloud_documentai_v1_Document_Entity_NormalizedValue_descriptor = - internal_static_google_cloud_documentai_v1_Document_Entity_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_Entity_NormalizedValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Entity_NormalizedValue_descriptor, - new java.lang.String[] { - "MoneyValue", - "DateValue", - "DatetimeValue", - "AddressValue", - "BooleanValue", - "IntegerValue", - "FloatValue", - "Text", - "StructuredValue", - }); - internal_static_google_cloud_documentai_v1_Document_EntityRelation_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_documentai_v1_Document_EntityRelation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_EntityRelation_descriptor, - new java.lang.String[] { - "SubjectId", "ObjectId", "Relation", - }); - internal_static_google_cloud_documentai_v1_Document_TextAnchor_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_documentai_v1_Document_TextAnchor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_TextAnchor_descriptor, - new java.lang.String[] { - "TextSegments", "Content", - }); - internal_static_google_cloud_documentai_v1_Document_TextAnchor_TextSegment_descriptor = - internal_static_google_cloud_documentai_v1_Document_TextAnchor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_TextAnchor_TextSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_TextAnchor_TextSegment_descriptor, - new java.lang.String[] { - "StartIndex", "EndIndex", - }); - internal_static_google_cloud_documentai_v1_Document_PageAnchor_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_documentai_v1_Document_PageAnchor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_PageAnchor_descriptor, - new java.lang.String[] { - "PageRefs", - }); - internal_static_google_cloud_documentai_v1_Document_PageAnchor_PageRef_descriptor = - internal_static_google_cloud_documentai_v1_Document_PageAnchor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_PageAnchor_PageRef_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_PageAnchor_PageRef_descriptor, - new java.lang.String[] { - "Page", "LayoutType", "LayoutId", "BoundingPoly", "Confidence", - }); - internal_static_google_cloud_documentai_v1_Document_Provenance_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_documentai_v1_Document_Provenance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Provenance_descriptor, - new java.lang.String[] { - "Revision", "Id", "Parents", "Type", - }); - internal_static_google_cloud_documentai_v1_Document_Provenance_Parent_descriptor = - internal_static_google_cloud_documentai_v1_Document_Provenance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_Provenance_Parent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Provenance_Parent_descriptor, - new java.lang.String[] { - "Revision", "Index", "Id", - }); - internal_static_google_cloud_documentai_v1_Document_Revision_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_documentai_v1_Document_Revision_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Revision_descriptor, - new java.lang.String[] { - "Agent", - "Processor", - "Id", - "Parent", - "ParentIds", - "CreateTime", - "HumanReview", - "Source", - }); - internal_static_google_cloud_documentai_v1_Document_Revision_HumanReview_descriptor = - internal_static_google_cloud_documentai_v1_Document_Revision_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1_Document_Revision_HumanReview_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_Revision_HumanReview_descriptor, - new java.lang.String[] { - "State", "StateMessage", - }); - internal_static_google_cloud_documentai_v1_Document_TextChange_descriptor = - internal_static_google_cloud_documentai_v1_Document_descriptor.getNestedTypes().get(9); - internal_static_google_cloud_documentai_v1_Document_TextChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Document_TextChange_descriptor, - new java.lang.String[] { - "TextAnchor", "ChangedText", "Provenance", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.documentai.v1.BarcodeProto.getDescriptor(); - com.google.cloud.documentai.v1.GeometryProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.ColorProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DateTimeProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequestOrBuilder.java deleted file mode 100644 index 2aba140d9842..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface EnableProcessorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.EnableProcessorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name to be enabled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name to be enabled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponseOrBuilder.java deleted file mode 100644 index 99bd3dbcdfb7..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EnableProcessorResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface EnableProcessorResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.EnableProcessorResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionResponseOrBuilder.java deleted file mode 100644 index fc90a5e04fdc..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluateProcessorVersionResponseOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface EvaluateProcessorVersionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.EvaluateProcessorVersionResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The resource name of the created evaluation.
-   * 
- * - * string evaluation = 2; - * - * @return The evaluation. - */ - java.lang.String getEvaluation(); - /** - * - * - *
-   * The resource name of the created evaluation.
-   * 
- * - * string evaluation = 2; - * - * @return The bytes for evaluation. - */ - com.google.protobuf.ByteString getEvaluationBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequestOrBuilder.java deleted file mode 100644 index 63a19cce918a..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface FetchProcessorTypesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.FetchProcessorTypesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The location of processor types to list.
-   * Format: `projects/{project}/locations/{location}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The location of processor types to list.
-   * Format: `projects/{project}/locations/{location}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsPrefixOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsPrefixOrBuilder.java deleted file mode 100644 index 9cb539e18cfb..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GcsPrefixOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_io.proto - -package com.google.cloud.documentai.v1; - -public interface GcsPrefixOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.GcsPrefix) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The URI prefix.
-   * 
- * - * string gcs_uri_prefix = 1; - * - * @return The gcsUriPrefix. - */ - java.lang.String getGcsUriPrefix(); - /** - * - * - *
-   * The URI prefix.
-   * 
- * - * string gcs_uri_prefix = 1; - * - * @return The bytes for gcsUriPrefix. - */ - com.google.protobuf.ByteString getGcsUriPrefixBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java deleted file mode 100644 index a58575a52147..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/geometry.proto - -package com.google.cloud.documentai.v1; - -public final class GeometryProto { - private GeometryProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_Vertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_Vertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_NormalizedVertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_BoundingPoly_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/documentai/v1/geometry.pr" - + "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\313\001\n\036com.google.cloud.documen" - + "tai.v1B\rGeometryProtoP\001Z>cloud.google.co" - + "m/go/documentai/apiv1/documentaipb;docum" - + "entaipb\252\002\032Google.Cloud.DocumentAI.V1\312\002\032G" - + "oogle\\Cloud\\DocumentAI\\V1\352\002\035Google::Clou" - + "d::DocumentAI::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - 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 = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_Vertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_documentai_v1_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1_NormalizedVertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_NormalizedVertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1_BoundingPoly_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor, - new java.lang.String[] { - "Vertices", "NormalizedVertices", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java deleted file mode 100644 index 0281aba64616..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetEvaluationRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface GetEvaluationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.GetEvaluationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the
-   * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
-   * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the
-   * [Evaluation][google.cloud.documentai.v1.Evaluation] to get.
-   * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequestOrBuilder.java deleted file mode 100644 index a7ba776f6d18..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface GetProcessorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.GetProcessorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequestOrBuilder.java deleted file mode 100644 index 9a96ed3d6962..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorTypeRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface GetProcessorTypeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.GetProcessorTypeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor type resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor type resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequestOrBuilder.java deleted file mode 100644 index bb0f23bb14f5..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GetProcessorVersionRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface GetProcessorVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.GetProcessorVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/NormalizedVertexOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/NormalizedVertexOrBuilder.java deleted file mode 100644 index 022fa4c0cf65..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/geometry.proto - -package com.google.cloud.documentai.v1; - -public interface NormalizedVertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * - * @return The x. - */ - float getX(); - - /** - * - * - *
-   * Y coordinate (starts from the top of the image).
-   * 
- * - * float y = 2; - * - * @return The y. - */ - float getY(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java deleted file mode 100644 index e03169cff2f6..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/operation_metadata.proto - -package com.google.cloud.documentai.v1; - -public final class OperationMetadataProto { - private OperationMetadataProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1_CommonOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/documentai/v1/operation_m" - + "etadata.proto\022\032google.cloud.documentai.v" - + "1\032\037google/protobuf/timestamp.proto\"\325\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" - + "\020\n\010resource\030\005 \001(\t\022/\n\013create_time\030\003 \001(\0132\032" - + ".google.protobuf.Timestamp\022/\n\013update_tim" - + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\"e\n\005S" - + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001" - + "\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILE" - + "D\020\004\022\r\n\tCANCELLED\020\005B\324\001\n\036com.google.cloud." - + "documentai.v1B\026OperationMetadataProtoP\001Z" - + ">cloud.google.com/go/documentai/apiv1/do" - + "cumentaipb;documentaipb\252\002\032Google.Cloud.D" - + "ocumentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V" - + "1\352\002\035Google::Cloud::DocumentAI::V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1_CommonOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor, - new java.lang.String[] { - "State", "StateMessage", "Resource", "CreateTime", "UpdateTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionResponseOrBuilder.java deleted file mode 100644 index 5c8bcd22674b..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/SetDefaultProcessorVersionResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface SetDefaultProcessorVersionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.SetDefaultProcessorVersionResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionRequestOrBuilder.java deleted file mode 100644 index aefe8bc940f0..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface UndeployProcessorVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.UndeployProcessorVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor version resource name to be undeployed.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor version resource name to be undeployed.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionResponseOrBuilder.java deleted file mode 100644 index 6337dd10a50c..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/UndeployProcessorVersionResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/document_processor_service.proto - -package com.google.cloud.documentai.v1; - -public interface UndeployProcessorVersionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.UndeployProcessorVersionResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/VertexOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/VertexOrBuilder.java deleted file mode 100644 index d8c435d4b4e7..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/VertexOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1/geometry.proto - -package com.google.cloud.documentai.v1; - -public interface VertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.Vertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * int32 x = 1; - * - * @return The x. - */ - int getX(); - - /** - * - * - *
-   * Y coordinate (starts from the top of the image).
-   * 
- * - * int32 y = 2; - * - * @return The y. - */ - int getY(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java deleted file mode 100644 index d26783417117..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java +++ /dev/null @@ -1,335 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta1/document_understanding.proto - -package com.google.cloud.documentai.v1beta1; - -public final class DocumentAiProto { - private DocumentAiProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_OcrParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_OcrParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_TableExtractionParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_TableExtractionParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_TableBoundHint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_TableBoundHint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_FormExtractionParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_FormExtractionParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_KeyValuePairHint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_KeyValuePairHint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_EntityExtractionParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_EntityExtractionParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_InputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_InputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_OutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_GcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_GcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_GcsDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\n\nocr_params\030\007 \001(\0132*." - + "google.cloud.documentai.v1beta1.OcrParam" - + "s\"l\n\035BatchProcessDocumentsResponse\022K\n\tre" - + "sponses\030\001 \003(\01328.google.cloud.documentai." - + "v1beta1.ProcessDocumentResponse\"\243\001\n\027Proc" - + "essDocumentResponse\022B\n\014input_config\030\001 \001(" - + "\0132,.google.cloud.documentai.v1beta1.Inpu" - + "tConfig\022D\n\routput_config\030\002 \001(\0132-.google." - + "cloud.documentai.v1beta1.OutputConfig\"#\n" - + "\tOcrParams\022\026\n\016language_hints\030\001 \003(\t\"\255\001\n\025T" - + "ableExtractionParams\022\017\n\007enabled\030\001 \001(\010\022P\n" - + "\021table_bound_hints\030\002 \003(\0132/.google.cloud." - + "documentai.v1beta1.TableBoundHintB\004\342A\001\001\022" - + "\032\n\014header_hints\030\003 \003(\tB\004\342A\001\001\022\025\n\rmodel_ver" - + "sion\030\004 \001(\t\"p\n\016TableBoundHint\022\031\n\013page_num" - + "ber\030\001 \001(\005B\004\342A\001\001\022C\n\014bounding_box\030\002 \001(\0132-." - + "google.cloud.documentai.v1beta1.Bounding" - + "Poly\"\217\001\n\024FormExtractionParams\022\017\n\007enabled" - + "\030\001 \001(\010\022O\n\024key_value_pair_hints\030\002 \003(\01321.g" - + "oogle.cloud.documentai.v1beta1.KeyValueP" - + "airHint\022\025\n\rmodel_version\030\003 \001(\t\"4\n\020KeyVal" - + "uePairHint\022\013\n\003key\030\001 \001(\t\022\023\n\013value_types\030\002" - + " \003(\t\"@\n\026EntityExtractionParams\022\017\n\007enable" - + "d\030\001 \001(\010\022\025\n\rmodel_version\030\002 \001(\t\"r\n\013InputC" - + "onfig\022@\n\ngcs_source\030\001 \001(\0132*.google.cloud" - + ".documentai.v1beta1.GcsSourceH\000\022\027\n\tmime_" - + "type\030\002 \001(\tB\004\342A\001\002B\010\n\006source\"\202\001\n\014OutputCon" - + "fig\022J\n\017gcs_destination\030\001 \001(\0132/.google.cl" - + "oud.documentai.v1beta1.GcsDestinationH\000\022" - + "\027\n\017pages_per_shard\030\002 \001(\005B\r\n\013destination\"" - + "\036\n\tGcsSource\022\021\n\003uri\030\001 \001(\tB\004\342A\001\002\"#\n\016GcsDe" - + "stination\022\021\n\003uri\030\001 \001(\tB\004\342A\001\002\"\307\002\n\021Operati" - + "onMetadata\022G\n\005state\030\001 \001(\01628.google.cloud" - + ".documentai.v1beta1.OperationMetadata.St" - + "ate\022\025\n\rstate_message\030\002 \001(\t\022/\n\013create_tim" - + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022/\n\013u" - + "pdate_time\030\004 \001(\0132\032.google.protobuf.Times" - + "tamp\"p\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010" - + "ACCEPTED\020\001\022\013\n\007WAITING\020\002\022\013\n\007RUNNING\020\003\022\r\n\t" - + "SUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\n\n\006FAILED\020\0062\254" - + "\003\n\034DocumentUnderstandingService\022\274\002\n\025Batc" - + "hProcessDocuments\022=.google.cloud.documen" - + "tai.v1beta1.BatchProcessDocumentsRequest" - + "\032\035.google.longrunning.Operation\"\304\001\312A2\n\035B" - + "atchProcessDocumentsResponse\022\021OperationM" - + "etadata\332A\010requests\202\323\344\223\002~\"?/v1beta1/{pare" - + "nt=projects/*/locations/*}/documents:bat" - + "chProcess:\001*Z8\"3/v1beta1/{parent=project" - + "s/*}/documents:batchProcess:\001*\032M\312A\031docum" - + "entai.googleapis.com\322A.https://www.googl" - + "eapis.com/auth/cloud-platformB\346\001\n#com.go" - + "ogle.cloud.documentai.v1beta1B\017DocumentA" - + "iProtoP\001ZCcloud.google.com/go/documentai" - + "/apiv1beta1/documentaipb;documentaipb\252\002\037" - + "Google.Cloud.DocumentAI.V1Beta1\312\002\037Google" - + "\\Cloud\\DocumentAI\\V1beta1\352\002\"Google::Clou" - + "d::DocumentAI::V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.documentai.v1beta1.GeometryProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsRequest_descriptor, - new java.lang.String[] { - "Requests", "Parent", - }); - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentRequest_descriptor, - new java.lang.String[] { - "InputConfig", - "OutputConfig", - "DocumentType", - "TableExtractionParams", - "FormExtractionParams", - "EntityExtractionParams", - "OcrParams", - }); - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_BatchProcessDocumentsResponse_descriptor, - new java.lang.String[] { - "Responses", - }); - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_ProcessDocumentResponse_descriptor, - new java.lang.String[] { - "InputConfig", "OutputConfig", - }); - internal_static_google_cloud_documentai_v1beta1_OcrParams_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_documentai_v1beta1_OcrParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_OcrParams_descriptor, - new java.lang.String[] { - "LanguageHints", - }); - internal_static_google_cloud_documentai_v1beta1_TableExtractionParams_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_documentai_v1beta1_TableExtractionParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_TableExtractionParams_descriptor, - new java.lang.String[] { - "Enabled", "TableBoundHints", "HeaderHints", "ModelVersion", - }); - internal_static_google_cloud_documentai_v1beta1_TableBoundHint_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_documentai_v1beta1_TableBoundHint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_TableBoundHint_descriptor, - new java.lang.String[] { - "PageNumber", "BoundingBox", - }); - internal_static_google_cloud_documentai_v1beta1_FormExtractionParams_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_documentai_v1beta1_FormExtractionParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_FormExtractionParams_descriptor, - new java.lang.String[] { - "Enabled", "KeyValuePairHints", "ModelVersion", - }); - internal_static_google_cloud_documentai_v1beta1_KeyValuePairHint_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_documentai_v1beta1_KeyValuePairHint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_KeyValuePairHint_descriptor, - new java.lang.String[] { - "Key", "ValueTypes", - }); - internal_static_google_cloud_documentai_v1beta1_EntityExtractionParams_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_documentai_v1beta1_EntityExtractionParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_EntityExtractionParams_descriptor, - new java.lang.String[] { - "Enabled", "ModelVersion", - }); - internal_static_google_cloud_documentai_v1beta1_InputConfig_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_documentai_v1beta1_InputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_InputConfig_descriptor, - new java.lang.String[] { - "GcsSource", "MimeType", "Source", - }); - internal_static_google_cloud_documentai_v1beta1_OutputConfig_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_documentai_v1beta1_OutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_OutputConfig_descriptor, - new java.lang.String[] { - "GcsDestination", "PagesPerShard", "Destination", - }); - internal_static_google_cloud_documentai_v1beta1_GcsSource_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_documentai_v1beta1_GcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_GcsSource_descriptor, - new java.lang.String[] { - "Uri", - }); - internal_static_google_cloud_documentai_v1beta1_GcsDestination_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_documentai_v1beta1_GcsDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_GcsDestination_descriptor, - new java.lang.String[] { - "Uri", - }); - internal_static_google_cloud_documentai_v1beta1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_documentai_v1beta1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_OperationMetadata_descriptor, - new java.lang.String[] { - "State", "StateMessage", "CreateTime", "UpdateTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.documentai.v1beta1.GeometryProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java deleted file mode 100644 index a85e5497128c..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java +++ /dev/null @@ -1,511 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta1/document.proto - -package com.google.cloud.documentai.v1beta1; - -public final class DocumentProto { - private DocumentProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_ShardInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_ShardInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Style_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Style_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Style_FontSize_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Style_FontSize_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Dimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Dimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Layout_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Layout_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Block_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Block_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Paragraph_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Paragraph_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Line_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Line_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_DetectedBreak_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_DetectedBreak_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_VisualElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_VisualElement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableRow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableCell_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableCell_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_FormField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_FormField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Page_DetectedLanguage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Page_DetectedLanguage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_EntityRelation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_EntityRelation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_TextSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_TextSegment_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/documentai/v1beta1/docume" - + "nt.proto\022\037google.cloud.documentai.v1beta" - + "1\032\037google/api/field_behavior.proto\032.goog" - + "le/cloud/documentai/v1beta1/geometry.pro" - + "to\032\027google/rpc/status.proto\032\027google/type" - + "/color.proto\"\200%\n\010Document\022\r\n\003uri\030\001 \001(\tH\000" - + "\022\021\n\007content\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/.goog" - + "le.cloud.documentai.v1beta1.Document.Sty" - + "le\022=\n\005pages\030\006 \003(\0132..google.cloud.documen" - + "tai.v1beta1.Document.Page\022B\n\010entities\030\007 " - + "\003(\01320.google.cloud.documentai.v1beta1.Do" - + "cument.Entity\022R\n\020entity_relations\030\010 \003(\0132" - + "8.google.cloud.documentai.v1beta1.Docume" - + "nt.EntityRelation\022G\n\nshard_info\030\t \001(\01323." - + "google.cloud.documentai.v1beta1.Document" - + ".ShardInfo\022!\n\005error\030\n \001(\0132\022.google.rpc.S" - + "tatus\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_offset\030\003 \001(" - + "\003\032\332\002\n\005Style\022I\n\013text_anchor\030\001 \001(\01324.googl" - + "e.cloud.documentai.v1beta1.Document.Text" - + "Anchor\022!\n\005color\030\002 \001(\0132\022.google.type.Colo" - + "r\022,\n\020background_color\030\003 \001(\0132\022.google.typ" - + "e.Color\022\023\n\013font_weight\030\004 \001(\t\022\022\n\ntext_sty" - + "le\030\005 \001(\t\022\027\n\017text_decoration\030\006 \001(\t\022K\n\tfon" - + "t_size\030\007 \001(\01328.google.cloud.documentai.v" - + "1beta1.Document.Style.FontSize\032&\n\010FontSi" - + "ze\022\014\n\004size\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\366\032\n\004Page\022" - + "\023\n\013page_number\030\001 \001(\005\022K\n\tdimension\030\002 \001(\0132" - + "8.google.cloud.documentai.v1beta1.Docume" - + "nt.Page.Dimension\022E\n\006layout\030\003 \001(\01325.goog" - + "le.cloud.documentai.v1beta1.Document.Pag" - + "e.Layout\022[\n\022detected_languages\030\004 \003(\0132?.g" - + "oogle.cloud.documentai.v1beta1.Document." - + "Page.DetectedLanguage\022D\n\006blocks\030\005 \003(\01324." - + "google.cloud.documentai.v1beta1.Document" - + ".Page.Block\022L\n\nparagraphs\030\006 \003(\01328.google" - + ".cloud.documentai.v1beta1.Document.Page." - + "Paragraph\022B\n\005lines\030\007 \003(\01323.google.cloud." - + "documentai.v1beta1.Document.Page.Line\022D\n" - + "\006tokens\030\010 \003(\01324.google.cloud.documentai." - + "v1beta1.Document.Page.Token\022U\n\017visual_el" - + "ements\030\t \003(\0132<.google.cloud.documentai.v" - + "1beta1.Document.Page.VisualElement\022D\n\006ta" - + "bles\030\n \003(\01324.google.cloud.documentai.v1b" - + "eta1.Document.Page.Table\022M\n\013form_fields\030" - + "\013 \003(\01328.google.cloud.documentai.v1beta1." - + "Document.Page.FormField\0328\n\tDimension\022\r\n\005" - + "width\030\001 \001(\002\022\016\n\006height\030\002 \001(\002\022\014\n\004unit\030\003 \001(" - + "\t\032\354\002\n\006Layout\022I\n\013text_anchor\030\001 \001(\01324.goog" - + "le.cloud.documentai.v1beta1.Document.Tex" - + "tAnchor\022\022\n\nconfidence\030\002 \001(\002\022D\n\rbounding_" - + "poly\030\003 \001(\0132-.google.cloud.documentai.v1b" - + "eta1.BoundingPoly\022V\n\013orientation\030\004 \001(\0162A" - + ".google.cloud.documentai.v1beta1.Documen" - + "t.Page.Layout.Orientation\"e\n\013Orientation" - + "\022\033\n\027ORIENTATION_UNSPECIFIED\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\tPAG" - + "E_LEFT\020\004\032\253\001\n\005Block\022E\n\006layout\030\001 \001(\01325.goo" - + "gle.cloud.documentai.v1beta1.Document.Pa" - + "ge.Layout\022[\n\022detected_languages\030\002 \003(\0132?." - + "google.cloud.documentai.v1beta1.Document" - + ".Page.DetectedLanguage\032\257\001\n\tParagraph\022E\n\006" - + "layout\030\001 \001(\01325.google.cloud.documentai.v" - + "1beta1.Document.Page.Layout\022[\n\022detected_" - + "languages\030\002 \003(\0132?.google.cloud.documenta" - + "i.v1beta1.Document.Page.DetectedLanguage" - + "\032\252\001\n\004Line\022E\n\006layout\030\001 \001(\01325.google.cloud" - + ".documentai.v1beta1.Document.Page.Layout" - + "\022[\n\022detected_languages\030\002 \003(\0132?.google.cl" - + "oud.documentai.v1beta1.Document.Page.Det" - + "ectedLanguage\032\265\003\n\005Token\022E\n\006layout\030\001 \001(\0132" - + "5.google.cloud.documentai.v1beta1.Docume" - + "nt.Page.Layout\022Z\n\016detected_break\030\002 \001(\0132B" - + ".google.cloud.documentai.v1beta1.Documen" - + "t.Page.Token.DetectedBreak\022[\n\022detected_l" - + "anguages\030\003 \003(\0132?.google.cloud.documentai" - + ".v1beta1.Document.Page.DetectedLanguage\032" - + "\253\001\n\rDetectedBreak\022U\n\004type\030\001 \001(\0162G.google" - + ".cloud.documentai.v1beta1.Document.Page." - + "Token.DetectedBreak.Type\"C\n\004Type\022\024\n\020TYPE" - + "_UNSPECIFIED\020\000\022\t\n\005SPACE\020\001\022\016\n\nWIDE_SPACE\020" - + "\002\022\n\n\006HYPHEN\020\003\032\301\001\n\rVisualElement\022E\n\006layou" - + "t\030\001 \001(\01325.google.cloud.documentai.v1beta" - + "1.Document.Page.Layout\022\014\n\004type\030\002 \001(\t\022[\n\022" - + "detected_languages\030\003 \003(\0132?.google.cloud." - + "documentai.v1beta1.Document.Page.Detecte" - + "dLanguage\032\202\005\n\005Table\022E\n\006layout\030\001 \001(\01325.go" - + "ogle.cloud.documentai.v1beta1.Document.P" - + "age.Layout\022R\n\013header_rows\030\002 \003(\0132=.google" - + ".cloud.documentai.v1beta1.Document.Page." - + "Table.TableRow\022P\n\tbody_rows\030\003 \003(\0132=.goog" - + "le.cloud.documentai.v1beta1.Document.Pag" - + "e.Table.TableRow\022[\n\022detected_languages\030\004" - + " \003(\0132?.google.cloud.documentai.v1beta1.D" - + "ocument.Page.DetectedLanguage\032Y\n\010TableRo" - + "w\022M\n\005cells\030\001 \003(\0132>.google.cloud.document" - + "ai.v1beta1.Document.Page.Table.TableCell" - + "\032\323\001\n\tTableCell\022E\n\006layout\030\001 \001(\01325.google." - + "cloud.documentai.v1beta1.Document.Page.L" - + "ayout\022\020\n\010row_span\030\002 \001(\005\022\020\n\010col_span\030\003 \001(" - + "\005\022[\n\022detected_languages\030\004 \003(\0132?.google.c" - + "loud.documentai.v1beta1.Document.Page.De" - + "tectedLanguage\032\347\002\n\tFormField\022I\n\nfield_na" - + "me\030\001 \001(\01325.google.cloud.documentai.v1bet" - + "a1.Document.Page.Layout\022J\n\013field_value\030\002" - + " \001(\01325.google.cloud.documentai.v1beta1.D" - + "ocument.Page.Layout\022`\n\027name_detected_lan" - + "guages\030\003 \003(\0132?.google.cloud.documentai.v" - + "1beta1.Document.Page.DetectedLanguage\022a\n" - + "\030value_detected_languages\030\004 \003(\0132?.google" - + ".cloud.documentai.v1beta1.Document.Page." - + "DetectedLanguage\032=\n\020DetectedLanguage\022\025\n\r" - + "language_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032" - + "\221\001\n\006Entity\022I\n\013text_anchor\030\001 \001(\01324.google" - + ".cloud.documentai.v1beta1.Document.TextA" - + "nchor\022\022\n\004type\030\002 \001(\tB\004\342A\001\002\022\024\n\014mention_tex" - + "t\030\003 \001(\t\022\022\n\nmention_id\030\004 \001(\t\032I\n\016EntityRel" - + "ation\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" - + "\rtext_segments\030\001 \003(\0132@.google.cloud.docu" - + "mentai.v1beta1.Document.TextAnchor.TextS" - + "egment\0325\n\013TextSegment\022\023\n\013start_index\030\001 \001" - + "(\003\022\021\n\tend_index\030\002 \001(\003B\010\n\006sourceB\344\001\n#com." - + "google.cloud.documentai.v1beta1B\rDocumen" - + "tProtoP\001ZCcloud.google.com/go/documentai" - + "/apiv1beta1/documentaipb;documentaipb\252\002\037" - + "Google.Cloud.DocumentAI.V1Beta1\312\002\037Google" - + "\\Cloud\\DocumentAI\\V1beta1\352\002\"Google::Clou" - + "d::DocumentAI::V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.documentai.v1beta1.GeometryProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.ColorProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta1_Document_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta1_Document_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_descriptor, - new java.lang.String[] { - "Uri", - "Content", - "MimeType", - "Text", - "TextStyles", - "Pages", - "Entities", - "EntityRelations", - "ShardInfo", - "Error", - "Source", - }); - internal_static_google_cloud_documentai_v1beta1_Document_ShardInfo_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1beta1_Document_ShardInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_ShardInfo_descriptor, - new java.lang.String[] { - "ShardIndex", "ShardCount", "TextOffset", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Style_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_documentai_v1beta1_Document_Style_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Style_descriptor, - new java.lang.String[] { - "TextAnchor", - "Color", - "BackgroundColor", - "FontWeight", - "TextStyle", - "TextDecoration", - "FontSize", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Style_FontSize_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Style_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta1_Document_Style_FontSize_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Style_FontSize_descriptor, - new java.lang.String[] { - "Size", "Unit", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_documentai_v1beta1_Document_Page_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor, - new java.lang.String[] { - "PageNumber", - "Dimension", - "Layout", - "DetectedLanguages", - "Blocks", - "Paragraphs", - "Lines", - "Tokens", - "VisualElements", - "Tables", - "FormFields", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Dimension_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Dimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Dimension_descriptor, - new java.lang.String[] { - "Width", "Height", "Unit", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Layout_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Layout_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Layout_descriptor, - new java.lang.String[] { - "TextAnchor", "Confidence", "BoundingPoly", "Orientation", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Block_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Block_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Block_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Paragraph_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Paragraph_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Paragraph_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Line_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Line_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Line_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_descriptor, - new java.lang.String[] { - "Layout", "DetectedBreak", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_DetectedBreak_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_DetectedBreak_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Token_DetectedBreak_descriptor, - new java.lang.String[] { - "Type", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_VisualElement_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(6); - internal_static_google_cloud_documentai_v1beta1_Document_Page_VisualElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_VisualElement_descriptor, - new java.lang.String[] { - "Layout", "Type", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(7); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_descriptor, - new java.lang.String[] { - "Layout", "HeaderRows", "BodyRows", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableRow_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableRow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableRow_descriptor, - new java.lang.String[] { - "Cells", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableCell_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableCell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_Table_TableCell_descriptor, - new java.lang.String[] { - "Layout", "RowSpan", "ColSpan", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_FormField_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(8); - internal_static_google_cloud_documentai_v1beta1_Document_Page_FormField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_FormField_descriptor, - new java.lang.String[] { - "FieldName", "FieldValue", "NameDetectedLanguages", "ValueDetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Page_DetectedLanguage_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_Page_descriptor - .getNestedTypes() - .get(9); - internal_static_google_cloud_documentai_v1beta1_Document_Page_DetectedLanguage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Page_DetectedLanguage_descriptor, - new java.lang.String[] { - "LanguageCode", "Confidence", - }); - internal_static_google_cloud_documentai_v1beta1_Document_Entity_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_documentai_v1beta1_Document_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_Entity_descriptor, - new java.lang.String[] { - "TextAnchor", "Type", "MentionText", "MentionId", - }); - internal_static_google_cloud_documentai_v1beta1_Document_EntityRelation_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_documentai_v1beta1_Document_EntityRelation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_EntityRelation_descriptor, - new java.lang.String[] { - "SubjectId", "ObjectId", "Relation", - }); - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_descriptor, - new java.lang.String[] { - "TextSegments", - }); - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_TextSegment_descriptor = - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_TextSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Document_TextAnchor_TextSegment_descriptor, - new java.lang.String[] { - "StartIndex", "EndIndex", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.documentai.v1beta1.GeometryProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.ColorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsDestinationOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsDestinationOrBuilder.java deleted file mode 100644 index 9913e972da0d..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsDestinationOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta1/document_understanding.proto - -package com.google.cloud.documentai.v1beta1; - -public interface GcsDestinationOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta1.GcsDestination) - com.google.protobuf.MessageOrBuilder { - - /** - * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The uri. - */ - java.lang.String getUri(); - /** - * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for uri. - */ - com.google.protobuf.ByteString getUriBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsSourceOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsSourceOrBuilder.java deleted file mode 100644 index 36e22c711e4a..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GcsSourceOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta1/document_understanding.proto - -package com.google.cloud.documentai.v1beta1; - -public interface GcsSourceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta1.GcsSource) - com.google.protobuf.MessageOrBuilder { - - /** - * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The uri. - */ - java.lang.String getUri(); - /** - * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for uri. - */ - com.google.protobuf.ByteString getUriBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java deleted file mode 100644 index e9cc96377003..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta1/geometry.proto - -package com.google.cloud.documentai.v1beta1; - -public final class GeometryProto { - private GeometryProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_Vertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_Vertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_NormalizedVertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta1_BoundingPoly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta1_BoundingPoly_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/documentai/v1beta1/geomet" - + "ry.proto\022\037google.cloud.documentai.v1beta" - + "1\"\036\n\006Vertex\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\"(\n\020Nor" - + "malizedVertex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\231\001\n\014" - + "BoundingPoly\0229\n\010vertices\030\001 \003(\0132\'.google." - + "cloud.documentai.v1beta1.Vertex\022N\n\023norma" - + "lized_vertices\030\002 \003(\01321.google.cloud.docu" - + "mentai.v1beta1.NormalizedVertexB\344\001\n#com." - + "google.cloud.documentai.v1beta1B\rGeometr" - + "yProtoP\001ZCcloud.google.com/go/documentai" - + "/apiv1beta1/documentaipb;documentaipb\252\002\037" - + "Google.Cloud.DocumentAI.V1Beta1\312\002\037Google" - + "\\Cloud\\DocumentAI\\V1beta1\352\002\"Google::Clou" - + "d::DocumentAI::V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_documentai_v1beta1_Vertex_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta1_Vertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_Vertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_documentai_v1beta1_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta1_NormalizedVertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_NormalizedVertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_documentai_v1beta1_BoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta1_BoundingPoly_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta1_BoundingPoly_descriptor, - new java.lang.String[] { - "Vertices", "NormalizedVertices", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/NormalizedVertexOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/NormalizedVertexOrBuilder.java deleted file mode 100644 index 9da45801d2df..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta1/geometry.proto - -package com.google.cloud.documentai.v1beta1; - -public interface NormalizedVertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta1.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * - * @return The x. - */ - float getX(); - - /** - * - * - *
-   * Y coordinate.
-   * 
- * - * float y = 2; - * - * @return The y. - */ - float getY(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/VertexOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/VertexOrBuilder.java deleted file mode 100644 index 3b5f5a7adb21..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/VertexOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta1/geometry.proto - -package com.google.cloud.documentai.v1beta1; - -public interface VertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta1.Vertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * int32 x = 1; - * - * @return The x. - */ - int getX(); - - /** - * - * - *
-   * Y coordinate.
-   * 
- * - * int32 y = 2; - * - * @return The y. - */ - int getY(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BarcodeProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BarcodeProto.java deleted file mode 100644 index 03ed8b9733e5..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/BarcodeProto.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta2/barcode.proto - -package com.google.cloud.documentai.v1beta2; - -public final class BarcodeProto { - private BarcodeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Barcode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Barcode_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/documentai/v1beta2/barcod" - + "e.proto\022\037google.cloud.documentai.v1beta2" - + "\"B\n\007Barcode\022\016\n\006format\030\001 \001(\t\022\024\n\014value_for" - + "mat\030\002 \001(\t\022\021\n\traw_value\030\003 \001(\tB\343\001\n#com.goo" - + "gle.cloud.documentai.v1beta2B\014BarcodePro" - + "toP\001ZCcloud.google.com/go/documentai/api" - + "v1beta2/documentaipb;documentaipb\252\002\037Goog" - + "le.Cloud.DocumentAI.V1Beta2\312\002\037Google\\Clo" - + "ud\\DocumentAI\\V1beta2\352\002\"Google::Cloud::D" - + "ocumentAI::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_documentai_v1beta2_Barcode_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta2_Barcode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Barcode_descriptor, - new java.lang.String[] { - "Format", "ValueFormat", "RawValue", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java deleted file mode 100644 index 463f722584b2..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java +++ /dev/null @@ -1,362 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta2/document_understanding.proto - -package com.google.cloud.documentai.v1beta2; - -public final class DocumentAiProto { - private DocumentAiProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_OcrParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_OcrParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_TableExtractionParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_TableExtractionParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_TableBoundHint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_TableBoundHint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_FormExtractionParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_FormExtractionParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_KeyValuePairHint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_KeyValuePairHint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_EntityExtractionParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_EntityExtractionParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_AutoMlParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_AutoMlParams_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_InputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_InputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_OutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_GcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_GcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_GcsDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\n\no" - + "cr_params\030\007 \001(\0132*.google.cloud.documenta" - + "i.v1beta2.OcrParams\022D\n\rautoml_params\030\010 \001" - + "(\0132-.google.cloud.documentai.v1beta2.Aut" - + "oMlParams\"l\n\035BatchProcessDocumentsRespon" - + "se\022K\n\tresponses\030\001 \003(\01328.google.cloud.doc" - + "umentai.v1beta2.ProcessDocumentResponse\"" - + "\243\001\n\027ProcessDocumentResponse\022B\n\014input_con" - + "fig\030\001 \001(\0132,.google.cloud.documentai.v1be" - + "ta2.InputConfig\022D\n\routput_config\030\002 \001(\0132-" - + ".google.cloud.documentai.v1beta2.OutputC" - + "onfig\"#\n\tOcrParams\022\026\n\016language_hints\030\001 \003" - + "(\t\"\255\001\n\025TableExtractionParams\022\017\n\007enabled\030" - + "\001 \001(\010\022P\n\021table_bound_hints\030\002 \003(\0132/.googl" - + "e.cloud.documentai.v1beta2.TableBoundHin" - + "tB\004\342A\001\001\022\032\n\014header_hints\030\003 \003(\tB\004\342A\001\001\022\025\n\rm" - + "odel_version\030\004 \001(\t\"p\n\016TableBoundHint\022\031\n\013" - + "page_number\030\001 \001(\005B\004\342A\001\001\022C\n\014bounding_box\030" - + "\002 \001(\0132-.google.cloud.documentai.v1beta2." - + "BoundingPoly\"\217\001\n\024FormExtractionParams\022\017\n" - + "\007enabled\030\001 \001(\010\022O\n\024key_value_pair_hints\030\002" - + " \003(\01321.google.cloud.documentai.v1beta2.K" - + "eyValuePairHint\022\025\n\rmodel_version\030\003 \001(\t\"4" - + "\n\020KeyValuePairHint\022\013\n\003key\030\001 \001(\t\022\023\n\013value" - + "_types\030\002 \003(\t\"@\n\026EntityExtractionParams\022\017" - + "\n\007enabled\030\001 \001(\010\022\025\n\rmodel_version\030\002 \001(\t\"\035" - + "\n\014AutoMlParams\022\r\n\005model\030\001 \001(\t\"\206\001\n\013InputC" - + "onfig\022@\n\ngcs_source\030\001 \001(\0132*.google.cloud" - + ".documentai.v1beta2.GcsSourceH\000\022\022\n\010conte" - + "nts\030\003 \001(\014H\000\022\027\n\tmime_type\030\002 \001(\tB\004\342A\001\002B\010\n\006" - + "source\"\202\001\n\014OutputConfig\022J\n\017gcs_destinati" - + "on\030\001 \001(\0132/.google.cloud.documentai.v1bet" - + "a2.GcsDestinationH\000\022\027\n\017pages_per_shard\030\002" - + " \001(\005B\r\n\013destination\"\036\n\tGcsSource\022\021\n\003uri\030" - + "\001 \001(\tB\004\342A\001\002\"#\n\016GcsDestination\022\021\n\003uri\030\001 \001" - + "(\tB\004\342A\001\002\"\307\002\n\021OperationMetadata\022G\n\005state\030" - + "\001 \001(\01628.google.cloud.documentai.v1beta2." - + "OperationMetadata.State\022\025\n\rstate_message" - + "\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\"p\n\005State\022\025\n\021STA" - + "TE_UNSPECIFIED\020\000\022\014\n\010ACCEPTED\020\001\022\013\n\007WAITIN" - + "G\020\002\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020\004\022\r\n\tCANCE" - + "LLED\020\005\022\n\n\006FAILED\020\0062\240\005\n\034DocumentUnderstan" - + "dingService\022\274\002\n\025BatchProcessDocuments\022=." - + "google.cloud.documentai.v1beta2.BatchPro" - + "cessDocumentsRequest\032\035.google.longrunnin" - + "g.Operation\"\304\001\312A2\n\035BatchProcessDocuments" - + "Response\022\021OperationMetadata\332A\010requests\202\323" - + "\344\223\002~\"?/v1beta2/{parent=projects/*/locati" - + "ons/*}/documents:batchProcess:\001*Z8\"3/v1b" - + "eta2/{parent=projects/*}/documents:batch" - + "Process:\001*\022\361\001\n\017ProcessDocument\0227.google." - + "cloud.documentai.v1beta2.ProcessDocument" - + "Request\032).google.cloud.documentai.v1beta" - + "2.Document\"z\202\323\344\223\002t\":/v1beta2/{parent=pro" - + "jects/*/locations/*}/documents:process:\001" - + "*Z3\"./v1beta2/{parent=projects/*}/docume" - + "nts:process:\001*\032M\312A\031documentai.googleapis" - + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\346\001\n#com.google.cloud.docum" - + "entai.v1beta2B\017DocumentAiProtoP\001ZCcloud." - + "google.com/go/documentai/apiv1beta2/docu" - + "mentaipb;documentaipb\252\002\037Google.Cloud.Doc" - + "umentAI.V1Beta2\312\002\037Google\\Cloud\\DocumentA" - + "I\\V1beta2\352\002\"Google::Cloud::DocumentAI::V" - + "1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.documentai.v1beta2.DocumentProto.getDescriptor(), - com.google.cloud.documentai.v1beta2.GeometryProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsRequest_descriptor, - new java.lang.String[] { - "Requests", "Parent", - }); - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentRequest_descriptor, - new java.lang.String[] { - "Parent", - "InputConfig", - "OutputConfig", - "DocumentType", - "TableExtractionParams", - "FormExtractionParams", - "EntityExtractionParams", - "OcrParams", - "AutomlParams", - }); - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_BatchProcessDocumentsResponse_descriptor, - new java.lang.String[] { - "Responses", - }); - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_ProcessDocumentResponse_descriptor, - new java.lang.String[] { - "InputConfig", "OutputConfig", - }); - internal_static_google_cloud_documentai_v1beta2_OcrParams_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_documentai_v1beta2_OcrParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_OcrParams_descriptor, - new java.lang.String[] { - "LanguageHints", - }); - internal_static_google_cloud_documentai_v1beta2_TableExtractionParams_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_documentai_v1beta2_TableExtractionParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_TableExtractionParams_descriptor, - new java.lang.String[] { - "Enabled", "TableBoundHints", "HeaderHints", "ModelVersion", - }); - internal_static_google_cloud_documentai_v1beta2_TableBoundHint_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_documentai_v1beta2_TableBoundHint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_TableBoundHint_descriptor, - new java.lang.String[] { - "PageNumber", "BoundingBox", - }); - internal_static_google_cloud_documentai_v1beta2_FormExtractionParams_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_documentai_v1beta2_FormExtractionParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_FormExtractionParams_descriptor, - new java.lang.String[] { - "Enabled", "KeyValuePairHints", "ModelVersion", - }); - internal_static_google_cloud_documentai_v1beta2_KeyValuePairHint_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_documentai_v1beta2_KeyValuePairHint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_KeyValuePairHint_descriptor, - new java.lang.String[] { - "Key", "ValueTypes", - }); - internal_static_google_cloud_documentai_v1beta2_EntityExtractionParams_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_documentai_v1beta2_EntityExtractionParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_EntityExtractionParams_descriptor, - new java.lang.String[] { - "Enabled", "ModelVersion", - }); - internal_static_google_cloud_documentai_v1beta2_AutoMlParams_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_documentai_v1beta2_AutoMlParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_AutoMlParams_descriptor, - new java.lang.String[] { - "Model", - }); - internal_static_google_cloud_documentai_v1beta2_InputConfig_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_documentai_v1beta2_InputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_InputConfig_descriptor, - new java.lang.String[] { - "GcsSource", "Contents", "MimeType", "Source", - }); - internal_static_google_cloud_documentai_v1beta2_OutputConfig_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_documentai_v1beta2_OutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_OutputConfig_descriptor, - new java.lang.String[] { - "GcsDestination", "PagesPerShard", "Destination", - }); - internal_static_google_cloud_documentai_v1beta2_GcsSource_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_documentai_v1beta2_GcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_GcsSource_descriptor, - new java.lang.String[] { - "Uri", - }); - internal_static_google_cloud_documentai_v1beta2_GcsDestination_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_documentai_v1beta2_GcsDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_GcsDestination_descriptor, - new java.lang.String[] { - "Uri", - }); - internal_static_google_cloud_documentai_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_documentai_v1beta2_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] { - "State", "StateMessage", "CreateTime", "UpdateTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.documentai.v1beta2.DocumentProto.getDescriptor(); - com.google.cloud.documentai.v1beta2.GeometryProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java deleted file mode 100644 index f92e5b4514e5..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java +++ /dev/null @@ -1,916 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta2/document.proto - -package com.google.cloud.documentai.v1beta2; - -public final class DocumentProto { - private DocumentProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_ShardInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_ShardInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Label_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Label_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Style_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Style_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Style_FontSize_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Style_FontSize_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Dimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Dimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Image_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Image_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Matrix_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Matrix_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Layout_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Layout_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Block_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Block_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Paragraph_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Paragraph_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Line_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Line_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_DetectedBreak_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_DetectedBreak_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_StyleInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_StyleInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Symbol_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Symbol_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_VisualElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_VisualElement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableRow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableCell_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableCell_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_FormField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_FormField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedBarcode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedBarcode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedLanguage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedLanguage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_DetectedDefect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_DetectedDefect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Entity_NormalizedValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Entity_NormalizedValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_EntityRelation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_EntityRelation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_TextSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_PageRef_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_PageRef_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_Parent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_Parent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Revision_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Revision_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_Revision_HumanReview_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_Revision_HumanReview_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Document_TextChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Document_TextChange_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/documentai/v1beta2/docume" - + "nt.proto\022\037google.cloud.documentai.v1beta" - + "2\032\037google/api/field_behavior.proto\032-goog" - + "le/cloud/documentai/v1beta2/barcode.prot" - + "o\032.google/cloud/documentai/v1beta2/geome" - + "try.proto\032\037google/protobuf/timestamp.pro" - + "to\032\027google/rpc/status.proto\032\027google/type" - + "/color.proto\032\026google/type/date.proto\032\032go" - + "ogle/type/datetime.proto\032\027google/type/mo" - + "ney.proto\032 google/type/postal_address.pr" - + "oto\"\252I\n\010Document\022\023\n\003uri\030\001 \001(\tB\004\342A\001\001H\000\022\027\n" - + "\007content\030\002 \001(\014B\004\342A\001\001H\000\022\021\n\tmime_type\030\003 \001(" - + "\t\022\022\n\004text\030\004 \001(\tB\004\342A\001\001\022H\n\013text_styles\030\005 \003" - + "(\0132/.google.cloud.documentai.v1beta2.Doc" - + "ument.StyleB\002\030\001\022=\n\005pages\030\006 \003(\0132..google." - + "cloud.documentai.v1beta2.Document.Page\022B" - + "\n\010entities\030\007 \003(\01320.google.cloud.document" - + "ai.v1beta2.Document.Entity\022R\n\020entity_rel" - + "ations\030\010 \003(\01328.google.cloud.documentai.v" - + "1beta2.Document.EntityRelation\022J\n\014text_c" - + "hanges\030\016 \003(\01324.google.cloud.documentai.v" - + "1beta2.Document.TextChange\022G\n\nshard_info" - + "\030\t \001(\01323.google.cloud.documentai.v1beta2" - + ".Document.ShardInfo\022?\n\006labels\030\013 \003(\0132/.go" - + "ogle.cloud.documentai.v1beta2.Document.L" - + "abel\022!\n\005error\030\n \001(\0132\022.google.rpc.Status\022" - + "E\n\trevisions\030\r \003(\01322.google.cloud.docume" - + "ntai.v1beta2.Document.Revision\032J\n\tShardI" - + "nfo\022\023\n\013shard_index\030\001 \001(\003\022\023\n\013shard_count\030" - + "\002 \001(\003\022\023\n\013text_offset\030\003 \001(\003\032K\n\005Label\022\026\n\014a" - + "utoml_model\030\002 \001(\tH\000\022\014\n\004name\030\001 \001(\t\022\022\n\ncon" - + "fidence\030\003 \001(\002B\010\n\006source\032\357\002\n\005Style\022I\n\013tex" - + "t_anchor\030\001 \001(\01324.google.cloud.documentai" - + ".v1beta2.Document.TextAnchor\022!\n\005color\030\002 " - + "\001(\0132\022.google.type.Color\022,\n\020background_co" - + "lor\030\003 \001(\0132\022.google.type.Color\022\023\n\013font_we" - + "ight\030\004 \001(\t\022\022\n\ntext_style\030\005 \001(\t\022\027\n\017text_d" - + "ecoration\030\006 \001(\t\022K\n\tfont_size\030\007 \001(\01328.goo" - + "gle.cloud.documentai.v1beta2.Document.St" - + "yle.FontSize\022\023\n\013font_family\030\010 \001(\t\032&\n\010Fon" - + "tSize\022\014\n\004size\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\320+\n\004Pa" - + "ge\022\023\n\013page_number\030\001 \001(\005\022C\n\005image\030\r \001(\01324" - + ".google.cloud.documentai.v1beta2.Documen" - + "t.Page.Image\022I\n\ntransforms\030\016 \003(\01325.googl" - + "e.cloud.documentai.v1beta2.Document.Page" - + ".Matrix\022K\n\tdimension\030\002 \001(\01328.google.clou" - + "d.documentai.v1beta2.Document.Page.Dimen" - + "sion\022E\n\006layout\030\003 \001(\01325.google.cloud.docu" - + "mentai.v1beta2.Document.Page.Layout\022[\n\022d" - + "etected_languages\030\004 \003(\0132?.google.cloud.d" - + "ocumentai.v1beta2.Document.Page.Detected" - + "Language\022D\n\006blocks\030\005 \003(\01324.google.cloud." - + "documentai.v1beta2.Document.Page.Block\022L" - + "\n\nparagraphs\030\006 \003(\01328.google.cloud.docume" - + "ntai.v1beta2.Document.Page.Paragraph\022B\n\005" - + "lines\030\007 \003(\01323.google.cloud.documentai.v1" - + "beta2.Document.Page.Line\022D\n\006tokens\030\010 \003(\013" - + "24.google.cloud.documentai.v1beta2.Docum" - + "ent.Page.Token\022U\n\017visual_elements\030\t \003(\0132" - + "<.google.cloud.documentai.v1beta2.Docume" - + "nt.Page.VisualElement\022D\n\006tables\030\n \003(\01324." - + "google.cloud.documentai.v1beta2.Document" - + ".Page.Table\022M\n\013form_fields\030\013 \003(\01328.googl" - + "e.cloud.documentai.v1beta2.Document.Page" - + ".FormField\022F\n\007symbols\030\014 \003(\01325.google.clo" - + "ud.documentai.v1beta2.Document.Page.Symb" - + "ol\022Y\n\021detected_barcodes\030\017 \003(\0132>.google.c" - + "loud.documentai.v1beta2.Document.Page.De" - + "tectedBarcode\022_\n\024image_quality_scores\030\021 " - + "\001(\0132A.google.cloud.documentai.v1beta2.Do" - + "cument.Page.ImageQualityScores\022L\n\nproven" - + "ance\030\020 \001(\01324.google.cloud.documentai.v1b" - + "eta2.Document.ProvenanceB\002\030\001\0328\n\tDimensio" - + "n\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\354\002\n\006Layout\022" - + "I\n\013text_anchor\030\001 \001(\01324.google.cloud.docu" - + "mentai.v1beta2.Document.TextAnchor\022\022\n\nco" - + "nfidence\030\002 \001(\002\022D\n\rbounding_poly\030\003 \001(\0132-." - + "google.cloud.documentai.v1beta2.Bounding" - + "Poly\022V\n\013orientation\030\004 \001(\0162A.google.cloud" - + ".documentai.v1beta2.Document.Page.Layout" - + ".Orientation\"e\n\013Orientation\022\033\n\027ORIENTATI" - + "ON_UNSPECIFIED\020\000\022\013\n\007PAGE_UP\020\001\022\016\n\nPAGE_RI" - + "GHT\020\002\022\r\n\tPAGE_DOWN\020\003\022\r\n\tPAGE_LEFT\020\004\032\371\001\n\005" - + "Block\022E\n\006layout\030\001 \001(\01325.google.cloud.doc" - + "umentai.v1beta2.Document.Page.Layout\022[\n\022" - + "detected_languages\030\002 \003(\0132?.google.cloud." - + "documentai.v1beta2.Document.Page.Detecte" - + "dLanguage\022L\n\nprovenance\030\003 \001(\01324.google.c" - + "loud.documentai.v1beta2.Document.Provena" - + "nceB\002\030\001\032\375\001\n\tParagraph\022E\n\006layout\030\001 \001(\01325." - + "google.cloud.documentai.v1beta2.Document" - + ".Page.Layout\022[\n\022detected_languages\030\002 \003(\013" - + "2?.google.cloud.documentai.v1beta2.Docum" - + "ent.Page.DetectedLanguage\022L\n\nprovenance\030" - + "\003 \001(\01324.google.cloud.documentai.v1beta2." - + "Document.ProvenanceB\002\030\001\032\370\001\n\004Line\022E\n\006layo" - + "ut\030\001 \001(\01325.google.cloud.documentai.v1bet" - + "a2.Document.Page.Layout\022[\n\022detected_lang" - + "uages\030\002 \003(\0132?.google.cloud.documentai.v1" - + "beta2.Document.Page.DetectedLanguage\022L\n\n" - + "provenance\030\003 \001(\01324.google.cloud.document" - + "ai.v1beta2.Document.ProvenanceB\002\030\001\032\274\007\n\005T" - + "oken\022E\n\006layout\030\001 \001(\01325.google.cloud.docu" - + "mentai.v1beta2.Document.Page.Layout\022Z\n\016d" - + "etected_break\030\002 \001(\0132B.google.cloud.docum" - + "entai.v1beta2.Document.Page.Token.Detect" - + "edBreak\022[\n\022detected_languages\030\003 \003(\0132?.go" - + "ogle.cloud.documentai.v1beta2.Document.P" - + "age.DetectedLanguage\022L\n\nprovenance\030\004 \001(\013" - + "24.google.cloud.documentai.v1beta2.Docum" - + "ent.ProvenanceB\002\030\001\022R\n\nstyle_info\030\005 \001(\0132>" - + ".google.cloud.documentai.v1beta2.Documen" - + "t.Page.Token.StyleInfo\032\253\001\n\rDetectedBreak" - + "\022U\n\004type\030\001 \001(\0162G.google.cloud.documentai" - + ".v1beta2.Document.Page.Token.DetectedBre" - + "ak.Type\"C\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n" - + "\005SPACE\020\001\022\016\n\nWIDE_SPACE\020\002\022\n\n\006HYPHEN\020\003\032\342\002\n" - + "\tStyleInfo\022\021\n\tfont_size\030\001 \001(\005\022\027\n\017pixel_f" - + "ont_size\030\002 \001(\001\022\026\n\016letter_spacing\030\003 \001(\001\022\021" - + "\n\tfont_type\030\004 \001(\t\022\014\n\004bold\030\005 \001(\010\022\016\n\006itali" - + "c\030\006 \001(\010\022\022\n\nunderlined\030\007 \001(\010\022\021\n\tstrikeout" - + "\030\010 \001(\010\022\021\n\tsubscript\030\t \001(\010\022\023\n\013superscript" - + "\030\n \001(\010\022\021\n\tsmallcaps\030\013 \001(\010\022\023\n\013font_weight" - + "\030\014 \001(\005\022\023\n\013handwritten\030\r \001(\010\022&\n\ntext_colo" - + "r\030\016 \001(\0132\022.google.type.Color\022,\n\020backgroun" - + "d_color\030\017 \001(\0132\022.google.type.Color\032\254\001\n\006Sy" - + "mbol\022E\n\006layout\030\001 \001(\01325.google.cloud.docu" - + "mentai.v1beta2.Document.Page.Layout\022[\n\022d" - + "etected_languages\030\002 \003(\0132?.google.cloud.d" - + "ocumentai.v1beta2.Document.Page.Detected" - + "Language\032\301\001\n\rVisualElement\022E\n\006layout\030\001 \001" - + "(\01325.google.cloud.documentai.v1beta2.Doc" - + "ument.Page.Layout\022\014\n\004type\030\002 \001(\t\022[\n\022detec" - + "ted_languages\030\003 \003(\0132?.google.cloud.docum" - + "entai.v1beta2.Document.Page.DetectedLang" - + "uage\032\320\005\n\005Table\022E\n\006layout\030\001 \001(\01325.google." - + "cloud.documentai.v1beta2.Document.Page.L" - + "ayout\022R\n\013header_rows\030\002 \003(\0132=.google.clou" - + "d.documentai.v1beta2.Document.Page.Table" - + ".TableRow\022P\n\tbody_rows\030\003 \003(\0132=.google.cl" - + "oud.documentai.v1beta2.Document.Page.Tab" - + "le.TableRow\022[\n\022detected_languages\030\004 \003(\0132" - + "?.google.cloud.documentai.v1beta2.Docume" - + "nt.Page.DetectedLanguage\022L\n\nprovenance\030\005" - + " \001(\01324.google.cloud.documentai.v1beta2.D" - + "ocument.ProvenanceB\002\030\001\032Y\n\010TableRow\022M\n\005ce" - + "lls\030\001 \003(\0132>.google.cloud.documentai.v1be" - + "ta2.Document.Page.Table.TableCell\032\323\001\n\tTa" - + "bleCell\022E\n\006layout\030\001 \001(\01325.google.cloud.d" - + "ocumentai.v1beta2.Document.Page.Layout\022\020" - + "\n\010row_span\030\002 \001(\005\022\020\n\010col_span\030\003 \001(\005\022[\n\022de" - + "tected_languages\030\004 \003(\0132?.google.cloud.do" - + "cumentai.v1beta2.Document.Page.DetectedL" - + "anguage\032\377\003\n\tFormField\022I\n\nfield_name\030\001 \001(" - + "\01325.google.cloud.documentai.v1beta2.Docu" - + "ment.Page.Layout\022J\n\013field_value\030\002 \001(\01325." - + "google.cloud.documentai.v1beta2.Document" - + ".Page.Layout\022`\n\027name_detected_languages\030" - + "\003 \003(\0132?.google.cloud.documentai.v1beta2." - + "Document.Page.DetectedLanguage\022a\n\030value_" - + "detected_languages\030\004 \003(\0132?.google.cloud." - + "documentai.v1beta2.Document.Page.Detecte" - + "dLanguage\022\022\n\nvalue_type\030\005 \001(\t\022\032\n\022correct" - + "ed_key_text\030\006 \001(\t\022\034\n\024corrected_value_tex" - + "t\030\007 \001(\t\022H\n\nprovenance\030\010 \001(\01324.google.clo" - + "ud.documentai.v1beta2.Document.Provenanc" - + "e\032\223\001\n\017DetectedBarcode\022E\n\006layout\030\001 \001(\01325." - + "google.cloud.documentai.v1beta2.Document" - + ".Page.Layout\0229\n\007barcode\030\002 \001(\0132(.google.c" - + "loud.documentai.v1beta2.Barcode\032=\n\020Detec" - + "tedLanguage\022\025\n\rlanguage_code\030\001 \001(\t\022\022\n\nco" - + "nfidence\030\002 \001(\002\032\313\001\n\022ImageQualityScores\022\025\n" - + "\rquality_score\030\001 \001(\002\022j\n\020detected_defects" - + "\030\002 \003(\0132P.google.cloud.documentai.v1beta2" - + ".Document.Page.ImageQualityScores.Detect" - + "edDefect\0322\n\016DetectedDefect\022\014\n\004type\030\001 \001(\t" - + "\022\022\n\nconfidence\030\002 \001(\002\032\365\006\n\006Entity\022O\n\013text_" - + "anchor\030\001 \001(\01324.google.cloud.documentai.v" - + "1beta2.Document.TextAnchorB\004\342A\001\001\022\022\n\004type" - + "\030\002 \001(\tB\004\342A\001\002\022\032\n\014mention_text\030\003 \001(\tB\004\342A\001\001" - + "\022\030\n\nmention_id\030\004 \001(\tB\004\342A\001\001\022\030\n\nconfidence" - + "\030\005 \001(\002B\004\342A\001\001\022O\n\013page_anchor\030\006 \001(\01324.goog" - + "le.cloud.documentai.v1beta2.Document.Pag" - + "eAnchorB\004\342A\001\001\022\020\n\002id\030\007 \001(\tB\004\342A\001\001\022`\n\020norma" - + "lized_value\030\t \001(\0132@.google.cloud.documen" - + "tai.v1beta2.Document.Entity.NormalizedVa" - + "lueB\004\342A\001\001\022J\n\nproperties\030\n \003(\01320.google.c" - + "loud.documentai.v1beta2.Document.EntityB" - + "\004\342A\001\001\022N\n\nprovenance\030\013 \001(\01324.google.cloud" - + ".documentai.v1beta2.Document.ProvenanceB" - + "\004\342A\001\001\022\026\n\010redacted\030\014 \001(\010B\004\342A\001\001\032\274\002\n\017Normal" - + "izedValue\022)\n\013money_value\030\002 \001(\0132\022.google." - + "type.MoneyH\000\022\'\n\ndate_value\030\003 \001(\0132\021.googl" - + "e.type.DateH\000\022/\n\016datetime_value\030\004 \001(\0132\025." - + "google.type.DateTimeH\000\0223\n\raddress_value\030" - + "\005 \001(\0132\032.google.type.PostalAddressH\000\022\027\n\rb" - + "oolean_value\030\006 \001(\010H\000\022\027\n\rinteger_value\030\007 " - + "\001(\005H\000\022\025\n\013float_value\030\010 \001(\002H\000\022\022\n\004text\030\001 \001" - + "(\tB\004\342A\001\001B\022\n\020structured_value\032I\n\016EntityRe" - + "lation\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\255\001\n\nTextAnchor\022W" - + "\n\rtext_segments\030\001 \003(\0132@.google.cloud.doc" - + "umentai.v1beta2.Document.TextAnchor.Text" - + "Segment\022\017\n\007content\030\002 \001(\t\0325\n\013TextSegment\022" - + "\023\n\013start_index\030\001 \001(\003\022\021\n\tend_index\030\002 \001(\003\032" - + "\354\003\n\nPageAnchor\022O\n\tpage_refs\030\001 \003(\0132<.goog" - + "le.cloud.documentai.v1beta2.Document.Pag" - + "eAnchor.PageRef\032\214\003\n\007PageRef\022\022\n\004page\030\001 \001(" - + "\003B\004\342A\001\002\022b\n\013layout_type\030\002 \001(\0162G.google.cl" - + "oud.documentai.v1beta2.Document.PageAnch" - + "or.PageRef.LayoutTypeB\004\342A\001\001\022\031\n\tlayout_id" - + "\030\003 \001(\tB\006\030\001\342A\001\001\022J\n\rbounding_poly\030\004 \001(\0132-." - + "google.cloud.documentai.v1beta2.Bounding" - + "PolyB\004\342A\001\001\022\030\n\nconfidence\030\005 \001(\002B\004\342A\001\001\"\207\001\n" - + "\nLayoutType\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\005" - + "TOKEN\020\004\022\022\n\016VISUAL_ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016" - + "\n\nFORM_FIELD\020\007\032\262\003\n\nProvenance\022\024\n\010revisio" - + "n\030\001 \001(\005B\002\030\001\022\016\n\002id\030\002 \001(\005B\002\030\001\022L\n\007parents\030\003" - + " \003(\0132;.google.cloud.documentai.v1beta2.D" - + "ocument.Provenance.Parent\022P\n\004type\030\004 \001(\0162" - + "B.google.cloud.documentai.v1beta2.Docume" - + "nt.Provenance.OperationType\0329\n\006Parent\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\"\242\001\n\rOperationType\022\036\n\032OPERATION_TY" - + "PE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\n\n" - + "\006UPDATE\020\007\022\013\n\007REPLACE\020\003\022\026\n\016EVAL_REQUESTED" - + "\020\004\032\002\010\001\022\025\n\rEVAL_APPROVED\020\005\032\002\010\001\022\024\n\014EVAL_SK" - + "IPPED\020\006\032\002\010\001\032\252\002\n\010Revision\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\022\n\006pa" - + "rent\030\002 \003(\005B\002\030\001\022\022\n\nparent_ids\030\007 \003(\t\022/\n\013cr" - + "eate_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "amp\022T\n\014human_review\030\006 \001(\0132>.google.cloud" - + ".documentai.v1beta2.Document.Revision.Hu" - + "manReview\0323\n\013HumanReview\022\r\n\005state\030\001 \001(\t\022" - + "\025\n\rstate_message\030\002 \001(\tB\010\n\006source\032\273\001\n\nTex" - + "tChange\022I\n\013text_anchor\030\001 \001(\01324.google.cl" - + "oud.documentai.v1beta2.Document.TextAnch" - + "or\022\024\n\014changed_text\030\002 \001(\t\022L\n\nprovenance\030\003" - + " \003(\01324.google.cloud.documentai.v1beta2.D" - + "ocument.ProvenanceB\002\030\001B\010\n\006sourceB\344\001\n#com" - + ".google.cloud.documentai.v1beta2B\rDocume" - + "ntProtoP\001ZCcloud.google.com/go/documenta" - + "i/apiv1beta2/documentaipb;documentaipb\252\002" - + "\037Google.Cloud.DocumentAI.V1Beta2\312\002\037Googl" - + "e\\Cloud\\DocumentAI\\V1beta2\352\002\"Google::Clo" - + "ud::DocumentAI::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.documentai.v1beta2.BarcodeProto.getDescriptor(), - com.google.cloud.documentai.v1beta2.GeometryProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.ColorProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta2_Document_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta2_Document_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_descriptor, - new java.lang.String[] { - "Uri", - "Content", - "MimeType", - "Text", - "TextStyles", - "Pages", - "Entities", - "EntityRelations", - "TextChanges", - "ShardInfo", - "Labels", - "Error", - "Revisions", - "Source", - }); - internal_static_google_cloud_documentai_v1beta2_Document_ShardInfo_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1beta2_Document_ShardInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_ShardInfo_descriptor, - new java.lang.String[] { - "ShardIndex", "ShardCount", "TextOffset", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Label_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_documentai_v1beta2_Document_Label_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Label_descriptor, - new java.lang.String[] { - "AutomlModel", "Name", "Confidence", "Source", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Style_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_documentai_v1beta2_Document_Style_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Style_descriptor, - new java.lang.String[] { - "TextAnchor", - "Color", - "BackgroundColor", - "FontWeight", - "TextStyle", - "TextDecoration", - "FontSize", - "FontFamily", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Style_FontSize_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Style_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_Style_FontSize_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Style_FontSize_descriptor, - new java.lang.String[] { - "Size", "Unit", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_documentai_v1beta2_Document_Page_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor, - new java.lang.String[] { - "PageNumber", - "Image", - "Transforms", - "Dimension", - "Layout", - "DetectedLanguages", - "Blocks", - "Paragraphs", - "Lines", - "Tokens", - "VisualElements", - "Tables", - "FormFields", - "Symbols", - "DetectedBarcodes", - "ImageQualityScores", - "Provenance", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Dimension_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Dimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Dimension_descriptor, - new java.lang.String[] { - "Width", "Height", "Unit", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Image_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Image_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Image_descriptor, - new java.lang.String[] { - "Content", "MimeType", "Width", "Height", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Matrix_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Matrix_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Matrix_descriptor, - new java.lang.String[] { - "Rows", "Cols", "Type", "Data", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Layout_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Layout_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Layout_descriptor, - new java.lang.String[] { - "TextAnchor", "Confidence", "BoundingPoly", "Orientation", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Block_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Block_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Block_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Paragraph_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Paragraph_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Paragraph_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Line_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(6); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Line_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Line_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(7); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_descriptor, - new java.lang.String[] { - "Layout", "DetectedBreak", "DetectedLanguages", "Provenance", "StyleInfo", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_DetectedBreak_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_DetectedBreak_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_DetectedBreak_descriptor, - new java.lang.String[] { - "Type", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_StyleInfo_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_StyleInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_StyleInfo_descriptor, - new java.lang.String[] { - "FontSize", - "PixelFontSize", - "LetterSpacing", - "FontType", - "Bold", - "Italic", - "Underlined", - "Strikeout", - "Subscript", - "Superscript", - "Smallcaps", - "FontWeight", - "Handwritten", - "TextColor", - "BackgroundColor", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Symbol_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(8); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Symbol_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Symbol_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_VisualElement_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(9); - internal_static_google_cloud_documentai_v1beta2_Document_Page_VisualElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_VisualElement_descriptor, - new java.lang.String[] { - "Layout", "Type", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(10); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_descriptor, - new java.lang.String[] { - "Layout", "HeaderRows", "BodyRows", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableRow_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableRow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableRow_descriptor, - new java.lang.String[] { - "Cells", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableCell_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableCell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_Table_TableCell_descriptor, - new java.lang.String[] { - "Layout", "RowSpan", "ColSpan", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_FormField_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(11); - internal_static_google_cloud_documentai_v1beta2_Document_Page_FormField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_FormField_descriptor, - new java.lang.String[] { - "FieldName", - "FieldValue", - "NameDetectedLanguages", - "ValueDetectedLanguages", - "ValueType", - "CorrectedKeyText", - "CorrectedValueText", - "Provenance", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedBarcode_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(12); - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedBarcode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedBarcode_descriptor, - new java.lang.String[] { - "Layout", "Barcode", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedLanguage_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(13); - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedLanguage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedLanguage_descriptor, - new java.lang.String[] { - "LanguageCode", "Confidence", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(14); - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_descriptor, - new java.lang.String[] { - "QualityScore", "DetectedDefects", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_DetectedDefect_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_DetectedDefect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Page_ImageQualityScores_DetectedDefect_descriptor, - new java.lang.String[] { - "Type", "Confidence", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Entity_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_documentai_v1beta2_Document_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Entity_descriptor, - new java.lang.String[] { - "TextAnchor", - "Type", - "MentionText", - "MentionId", - "Confidence", - "PageAnchor", - "Id", - "NormalizedValue", - "Properties", - "Provenance", - "Redacted", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Entity_NormalizedValue_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Entity_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_Entity_NormalizedValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Entity_NormalizedValue_descriptor, - new java.lang.String[] { - "MoneyValue", - "DateValue", - "DatetimeValue", - "AddressValue", - "BooleanValue", - "IntegerValue", - "FloatValue", - "Text", - "StructuredValue", - }); - internal_static_google_cloud_documentai_v1beta2_Document_EntityRelation_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_documentai_v1beta2_Document_EntityRelation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_EntityRelation_descriptor, - new java.lang.String[] { - "SubjectId", "ObjectId", "Relation", - }); - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_descriptor, - new java.lang.String[] { - "TextSegments", "Content", - }); - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_TextSegment_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_TextSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_TextAnchor_TextSegment_descriptor, - new java.lang.String[] { - "StartIndex", "EndIndex", - }); - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_descriptor, - new java.lang.String[] { - "PageRefs", - }); - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_PageRef_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_PageRef_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_PageAnchor_PageRef_descriptor, - new java.lang.String[] { - "Page", "LayoutType", "LayoutId", "BoundingPoly", "Confidence", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_descriptor, - new java.lang.String[] { - "Revision", "Id", "Parents", "Type", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_Parent_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_Parent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Provenance_Parent_descriptor, - new java.lang.String[] { - "Revision", "Index", "Id", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Revision_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor.getNestedTypes().get(9); - internal_static_google_cloud_documentai_v1beta2_Document_Revision_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Revision_descriptor, - new java.lang.String[] { - "Agent", - "Processor", - "Id", - "Parent", - "ParentIds", - "CreateTime", - "HumanReview", - "Source", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Revision_HumanReview_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Revision_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta2_Document_Revision_HumanReview_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_Revision_HumanReview_descriptor, - new java.lang.String[] { - "State", "StateMessage", - }); - internal_static_google_cloud_documentai_v1beta2_Document_TextChange_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_descriptor - .getNestedTypes() - .get(10); - internal_static_google_cloud_documentai_v1beta2_Document_TextChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Document_TextChange_descriptor, - new java.lang.String[] { - "TextAnchor", "ChangedText", "Provenance", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.documentai.v1beta2.BarcodeProto.getDescriptor(); - com.google.cloud.documentai.v1beta2.GeometryProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.ColorProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DateTimeProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsDestinationOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsDestinationOrBuilder.java deleted file mode 100644 index 99436f6790c5..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsDestinationOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta2/document_understanding.proto - -package com.google.cloud.documentai.v1beta2; - -public interface GcsDestinationOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta2.GcsDestination) - com.google.protobuf.MessageOrBuilder { - - /** - * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The uri. - */ - java.lang.String getUri(); - /** - * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for uri. - */ - com.google.protobuf.ByteString getUriBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsSourceOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsSourceOrBuilder.java deleted file mode 100644 index 53baef9c87f0..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GcsSourceOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta2/document_understanding.proto - -package com.google.cloud.documentai.v1beta2; - -public interface GcsSourceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta2.GcsSource) - com.google.protobuf.MessageOrBuilder { - - /** - * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The uri. - */ - java.lang.String getUri(); - /** - * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for uri. - */ - com.google.protobuf.ByteString getUriBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java deleted file mode 100644 index d5d2f09e4411..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta2/geometry.proto - -package com.google.cloud.documentai.v1beta2; - -public final class GeometryProto { - private GeometryProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_Vertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_Vertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_NormalizedVertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta2_BoundingPoly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta2_BoundingPoly_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/documentai/v1beta2/geomet" - + "ry.proto\022\037google.cloud.documentai.v1beta" - + "2\"\036\n\006Vertex\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\"(\n\020Nor" - + "malizedVertex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\231\001\n\014" - + "BoundingPoly\0229\n\010vertices\030\001 \003(\0132\'.google." - + "cloud.documentai.v1beta2.Vertex\022N\n\023norma" - + "lized_vertices\030\002 \003(\01321.google.cloud.docu" - + "mentai.v1beta2.NormalizedVertexB\344\001\n#com." - + "google.cloud.documentai.v1beta2B\rGeometr" - + "yProtoP\001ZCcloud.google.com/go/documentai" - + "/apiv1beta2/documentaipb;documentaipb\252\002\037" - + "Google.Cloud.DocumentAI.V1Beta2\312\002\037Google" - + "\\Cloud\\DocumentAI\\V1beta2\352\002\"Google::Clou" - + "d::DocumentAI::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_documentai_v1beta2_Vertex_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta2_Vertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_Vertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_documentai_v1beta2_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta2_NormalizedVertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_NormalizedVertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_documentai_v1beta2_BoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta2_BoundingPoly_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta2_BoundingPoly_descriptor, - new java.lang.String[] { - "Vertices", "NormalizedVertices", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/NormalizedVertexOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/NormalizedVertexOrBuilder.java deleted file mode 100644 index ef947b547c85..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta2/geometry.proto - -package com.google.cloud.documentai.v1beta2; - -public interface NormalizedVertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta2.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * - * @return The x. - */ - float getX(); - - /** - * - * - *
-   * Y coordinate (starts from the top of the image).
-   * 
- * - * float y = 2; - * - * @return The y. - */ - float getY(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/VertexOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/VertexOrBuilder.java deleted file mode 100644 index 37ba0077976a..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/VertexOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta2/geometry.proto - -package com.google.cloud.documentai.v1beta2; - -public interface VertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta2.Vertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * int32 x = 1; - * - * @return The x. - */ - int getX(); - - /** - * - * - *
-   * Y coordinate (starts from the top of the image).
-   * 
- * - * int32 y = 2; - * - * @return The y. - */ - int getY(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java deleted file mode 100644 index 1bb953085ad3..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/barcode.proto - -package com.google.cloud.documentai.v1beta3; - -public final class BarcodeProto { - private BarcodeProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Barcode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Barcode_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/documentai/v1beta3/barcod" - + "e.proto\022\037google.cloud.documentai.v1beta3" - + "\"B\n\007Barcode\022\016\n\006format\030\001 \001(\t\022\024\n\014value_for" - + "mat\030\002 \001(\t\022\021\n\traw_value\030\003 \001(\tB\343\001\n#com.goo" - + "gle.cloud.documentai.v1beta3B\014BarcodePro" - + "toP\001ZCcloud.google.com/go/documentai/api" - + "v1beta3/documentaipb;documentaipb\252\002\037Goog" - + "le.Cloud.DocumentAI.V1Beta3\312\002\037Google\\Clo" - + "ud\\DocumentAI\\V1beta3\352\002\"Google::Cloud::D" - + "ocumentAI::V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_documentai_v1beta3_Barcode_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_Barcode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Barcode_descriptor, - new java.lang.String[] { - "Format", "ValueFormat", "RawValue", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsResponseOrBuilder.java deleted file mode 100644 index e2d7bb9a9e18..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchDeleteDocumentsResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface BatchDeleteDocumentsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.BatchDeleteDocumentsResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessResponseOrBuilder.java deleted file mode 100644 index ede9f8f5b136..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface BatchProcessResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.BatchProcessResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetProto.java deleted file mode 100644 index 327ab70cc8ef..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DatasetProto.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/dataset.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DatasetProto { - private DatasetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Dataset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Dataset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Dataset_GCSManagedConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Dataset_GCSManagedConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Dataset_DocumentWarehouseConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Dataset_DocumentWarehouseConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Dataset_UnmanagedDatasetConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Dataset_UnmanagedDatasetConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Dataset_SpannerIndexingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Dataset_SpannerIndexingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentId_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentId_GCSManagedDocumentId_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentId_GCSManagedDocumentId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentId_UnmanagedDocumentId_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentId_UnmanagedDocumentId_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DatasetSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DatasetSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_IndividualDocumentIds_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_IndividualDocumentIds_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/documentai/v1beta3/datase" - + "t.proto\022\037google.cloud.documentai.v1beta3" - + "\032\037google/api/field_behavior.proto\032\031googl" - + "e/api/resource.proto\032.google/cloud/docum" - + "entai/v1beta3/document.proto\0321google/clo" - + "ud/documentai/v1beta3/document_io.proto\032" - + "5google/cloud/documentai/v1beta3/documen" - + "t_schema.proto\"\352\007\n\007Dataset\022]\n\022gcs_manage" - + "d_config\030\003 \001(\01329.google.cloud.documentai" - + ".v1beta3.Dataset.GCSManagedConfigB\004\342A\001\001H" - + "\000\022k\n\031document_warehouse_config\030\005 \001(\0132@.g" - + "oogle.cloud.documentai.v1beta3.Dataset.D" - + "ocumentWarehouseConfigB\004\342A\001\001H\000\022i\n\030unmana" - + "ged_dataset_config\030\006 \001(\0132?.google.cloud." - + "documentai.v1beta3.Dataset.UnmanagedData" - + "setConfigB\004\342A\001\001H\000\022g\n\027spanner_indexing_co" - + "nfig\030\004 \001(\0132>.google.cloud.documentai.v1b" - + "eta3.Dataset.SpannerIndexingConfigB\004\342A\001\001" - + "H\001\022\014\n\004name\030\001 \001(\t\022C\n\005state\030\002 \001(\0162..google" - + ".cloud.documentai.v1beta3.Dataset.StateB" - + "\004\342A\001\002\032X\n\020GCSManagedConfig\022D\n\ngcs_prefix\030" - + "\001 \001(\0132*.google.cloud.documentai.v1beta3." - + "GcsPrefixB\004\342A\001\002\032t\n\027DocumentWarehouseConf" - + "ig\022\030\n\ncollection\030\001 \001(\tB\004\342A\001\003\022?\n\006schema\030\002" - + " \001(\tB/\342A\001\003\372A(\n&contentwarehouse.googleap" - + "is.com/Schema\032\030\n\026UnmanagedDatasetConfig\032" - + "\027\n\025SpannerIndexingConfig\"T\n\005State\022\025\n\021STA" - + "TE_UNSPECIFIED\020\000\022\021\n\rUNINITIALIZED\020\001\022\020\n\014I" - + "NITIALIZING\020\002\022\017\n\013INITIALIZED\020\003:n\352Ak\n!doc" - + "umentai.googleapis.com/Dataset\022Fprojects" - + "/{project}/locations/{location}/processo" - + "rs/{processor}/datasetB\020\n\016storage_source" - + "B\021\n\017indexing_source\"\210\003\n\nDocumentId\022^\n\022gc" - + "s_managed_doc_id\030\001 \001(\0132@.google.cloud.do" - + "cumentai.v1beta3.DocumentId.GCSManagedDo" - + "cumentIdH\000\022[\n\020unmanaged_doc_id\030\004 \001(\0132?.g" - + "oogle.cloud.documentai.v1beta3.DocumentI" - + "d.UnmanagedDocumentIdH\000\022B\n\014revision_ref\030" - + "\003 \001(\0132,.google.cloud.documentai.v1beta3." - + "RevisionRef\032D\n\024GCSManagedDocumentId\022\025\n\007g" - + "cs_uri\030\001 \001(\tB\004\342A\001\002\022\025\n\tcw_doc_id\030\002 \001(\tB\002\030" - + "\001\032+\n\023UnmanagedDocumentId\022\024\n\006doc_id\030\001 \001(\t" - + "B\004\342A\001\002B\006\n\004type\"\362\001\n\rDatasetSchema\022\014\n\004name" - + "\030\001 \001(\t\022N\n\017document_schema\030\003 \001(\0132/.google" - + ".cloud.documentai.v1beta3.DocumentSchema" - + "B\004\342A\001\001:\202\001\352A\177\n\'documentai.googleapis.com/" - + "DatasetSchema\022Tprojects/{project}/locati" - + "ons/{location}/processors/{processor}/da" - + "taset/datasetSchema\"\210\002\n\025BatchDatasetDocu" - + "ments\022o\n\027individual_document_ids\030\001 \001(\0132L" - + ".google.cloud.documentai.v1beta3.BatchDa" - + "tasetDocuments.IndividualDocumentIdsH\000\022\020" - + "\n\006filter\030\002 \001(\tH\000\032`\n\025IndividualDocumentId" - + "s\022G\n\014document_ids\030\001 \003(\0132+.google.cloud.d" - + "ocumentai.v1beta3.DocumentIdB\004\342A\001\002B\n\n\010cr" - + "iteriaB\310\002\n#com.google.cloud.documentai.v" - + "1beta3B\014DatasetProtoP\001ZCcloud.google.com" - + "/go/documentai/apiv1beta3/documentaipb;d" - + "ocumentaipb\252\002\037Google.Cloud.DocumentAI.V1" - + "Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3\352" - + "\002\"Google::Cloud::DocumentAI::V1beta3\352Ab\n" - + "&contentwarehouse.googleapis.com/Schema\022" - + "8projects/{project}/locations/{location}" - + "/schemas/{schema}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentIoProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiDocumentSchema.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_Dataset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_Dataset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Dataset_descriptor, - new java.lang.String[] { - "GcsManagedConfig", - "DocumentWarehouseConfig", - "UnmanagedDatasetConfig", - "SpannerIndexingConfig", - "Name", - "State", - "StorageSource", - "IndexingSource", - }); - internal_static_google_cloud_documentai_v1beta3_Dataset_GCSManagedConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_Dataset_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_Dataset_GCSManagedConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Dataset_GCSManagedConfig_descriptor, - new java.lang.String[] { - "GcsPrefix", - }); - internal_static_google_cloud_documentai_v1beta3_Dataset_DocumentWarehouseConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_Dataset_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_Dataset_DocumentWarehouseConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Dataset_DocumentWarehouseConfig_descriptor, - new java.lang.String[] { - "Collection", "Schema", - }); - internal_static_google_cloud_documentai_v1beta3_Dataset_UnmanagedDatasetConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_Dataset_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_Dataset_UnmanagedDatasetConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Dataset_UnmanagedDatasetConfig_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_Dataset_SpannerIndexingConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_Dataset_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_documentai_v1beta3_Dataset_SpannerIndexingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Dataset_SpannerIndexingConfig_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_DocumentId_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_DocumentId_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentId_descriptor, - new java.lang.String[] { - "GcsManagedDocId", "UnmanagedDocId", "RevisionRef", "Type", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentId_GCSManagedDocumentId_descriptor = - internal_static_google_cloud_documentai_v1beta3_DocumentId_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_DocumentId_GCSManagedDocumentId_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentId_GCSManagedDocumentId_descriptor, - new java.lang.String[] { - "GcsUri", "CwDocId", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentId_UnmanagedDocumentId_descriptor = - internal_static_google_cloud_documentai_v1beta3_DocumentId_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_DocumentId_UnmanagedDocumentId_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentId_UnmanagedDocumentId_descriptor, - new java.lang.String[] { - "DocId", - }); - internal_static_google_cloud_documentai_v1beta3_DatasetSchema_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_DatasetSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DatasetSchema_descriptor, - new java.lang.String[] { - "Name", "DocumentSchema", - }); - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_descriptor, - new java.lang.String[] { - "IndividualDocumentIds", "Filter", "Criteria", - }); - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_IndividualDocumentIds_descriptor = - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_IndividualDocumentIds_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchDatasetDocuments_IndividualDocumentIds_descriptor, - new java.lang.String[] { - "DocumentIds", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentIoProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiDocumentSchema.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorRequestOrBuilder.java deleted file mode 100644 index 2719edea66fd..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface DeleteProcessorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.DeleteProcessorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorVersionRequestOrBuilder.java deleted file mode 100644 index 6bdeddb88da2..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeleteProcessorVersionRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface DeleteProcessorVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor version resource name to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor version resource name to be deleted.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionRequestOrBuilder.java deleted file mode 100644 index 90f4dfb48657..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface DeployProcessorVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.DeployProcessorVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor version resource name to be deployed.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor version resource name to be deployed.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionResponseOrBuilder.java deleted file mode 100644 index 8168290421c2..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DeployProcessorVersionResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface DeployProcessorVersionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.DeployProcessorVersionResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorRequestOrBuilder.java deleted file mode 100644 index 530649baf2c1..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface DisableProcessorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.DisableProcessorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name to be disabled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name to be disabled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorResponseOrBuilder.java deleted file mode 100644 index 57f6e688b3c6..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DisableProcessorResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface DisableProcessorResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.DisableProcessorResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java deleted file mode 100644 index 901f85d5f9da..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java +++ /dev/null @@ -1,222 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_schema.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DocumentAiDocumentSchema { - private DocumentAiDocumentSchema() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_SummaryOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_SummaryOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_FieldExtractionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_FieldExtractionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_PropertyMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_PropertyMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_EntityTypeMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_EntityTypeMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_EnumValues_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_EnumValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_Property_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_Property_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_Metadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_Metadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n5google/cloud/documentai/v1beta3/docume" - + "nt_schema.proto\022\037google.cloud.documentai" - + ".v1beta3\"\254\002\n\016SummaryOptions\022F\n\006length\030\001 " - + "\001(\01626.google.cloud.documentai.v1beta3.Su" - + "mmaryOptions.Length\022F\n\006format\030\002 \001(\01626.go" - + "ogle.cloud.documentai.v1beta3.SummaryOpt" - + "ions.Format\"L\n\006Length\022\026\n\022LENGTH_UNSPECIF" - + "IED\020\000\022\t\n\005BRIEF\020\001\022\014\n\010MODERATE\020\002\022\021\n\rCOMPRE" - + "HENSIVE\020\003\"<\n\006Format\022\026\n\022FORMAT_UNSPECIFIE" - + "D\020\000\022\r\n\tPARAGRAPH\020\001\022\013\n\007BULLETS\020\002\"c\n\027Field" - + "ExtractionMetadata\022H\n\017summary_options\030\002 " - + "\001(\0132/.google.cloud.documentai.v1beta3.Su" - + "mmaryOptions\"\201\001\n\020PropertyMetadata\022\020\n\010ina" - + "ctive\030\003 \001(\010\022[\n\031field_extraction_metadata" - + "\030\t \001(\01328.google.cloud.documentai.v1beta3" - + ".FieldExtractionMetadata\"&\n\022EntityTypeMe" - + "tadata\022\020\n\010inactive\030\005 \001(\010\"\341\010\n\016DocumentSch" - + "ema\022\024\n\014display_name\030\001 \001(\t\022\023\n\013description" - + "\030\002 \001(\t\022P\n\014entity_types\030\003 \003(\0132:.google.cl" - + "oud.documentai.v1beta3.DocumentSchema.En" - + "tityType\022J\n\010metadata\030\004 \001(\01328.google.clou" - + "d.documentai.v1beta3.DocumentSchema.Meta" - + "data\032\356\005\n\nEntityType\022\\\n\013enum_values\030\016 \001(\013" - + "2E.google.cloud.documentai.v1beta3.Docum" - + "entSchema.EntityType.EnumValuesH\000\022\024\n\014dis" - + "play_name\030\r \001(\t\022\014\n\004name\030\001 \001(\t\022\022\n\nbase_ty" - + "pes\030\002 \003(\t\022W\n\nproperties\030\006 \003(\0132C.google.c" - + "loud.documentai.v1beta3.DocumentSchema.E" - + "ntityType.Property\022Q\n\024entity_type_metada" - + "ta\030\013 \001(\01323.google.cloud.documentai.v1bet" - + "a3.EntityTypeMetadata\032\034\n\nEnumValues\022\016\n\006v" - + "alues\030\001 \003(\t\032\357\002\n\010Property\022\014\n\004name\030\001 \001(\t\022\022" - + "\n\nvalue_type\030\002 \001(\t\022k\n\017occurrence_type\030\003 " - + "\001(\0162R.google.cloud.documentai.v1beta3.Do" - + "cumentSchema.EntityType.Property.Occurre" - + "nceType\022L\n\021property_metadata\030\005 \001(\01321.goo" - + "gle.cloud.documentai.v1beta3.PropertyMet" - + "adata\"\205\001\n\016OccurrenceType\022\037\n\033OCCURRENCE_T" - + "YPE_UNSPECIFIED\020\000\022\021\n\rOPTIONAL_ONCE\020\001\022\025\n\021" - + "OPTIONAL_MULTIPLE\020\002\022\021\n\rREQUIRED_ONCE\020\003\022\025" - + "\n\021REQUIRED_MULTIPLE\020\004B\016\n\014value_source\032\224\001" - + "\n\010Metadata\022\031\n\021document_splitter\030\001 \001(\010\022&\n" - + "\036document_allow_multiple_labels\030\002 \001(\010\022%\n" - + "\035prefixed_naming_on_properties\030\006 \001(\010\022\036\n\026" - + "skip_naming_validation\030\007 \001(\010B\357\001\n#com.goo" - + "gle.cloud.documentai.v1beta3B\030DocumentAi" - + "DocumentSchemaP\001ZCcloud.google.com/go/do" - + "cumentai/apiv1beta3/documentaipb;documen" - + "taipb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312" - + "\002\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Goog" - + "le::Cloud::DocumentAI::V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_documentai_v1beta3_SummaryOptions_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_SummaryOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_SummaryOptions_descriptor, - new java.lang.String[] { - "Length", "Format", - }); - internal_static_google_cloud_documentai_v1beta3_FieldExtractionMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_FieldExtractionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_FieldExtractionMetadata_descriptor, - new java.lang.String[] { - "SummaryOptions", - }); - internal_static_google_cloud_documentai_v1beta3_PropertyMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_PropertyMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_PropertyMetadata_descriptor, - new java.lang.String[] { - "Inactive", "FieldExtractionMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_EntityTypeMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1beta3_EntityTypeMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_EntityTypeMetadata_descriptor, - new java.lang.String[] { - "Inactive", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_descriptor, - new java.lang.String[] { - "DisplayName", "Description", "EntityTypes", "Metadata", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_descriptor = - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_descriptor, - new java.lang.String[] { - "EnumValues", - "DisplayName", - "Name", - "BaseTypes", - "Properties", - "EntityTypeMetadata", - "ValueSource", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_EnumValues_descriptor = - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_EnumValues_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_EnumValues_descriptor, - new java.lang.String[] { - "Values", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_Property_descriptor = - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_Property_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_EntityType_Property_descriptor, - new java.lang.String[] { - "Name", "ValueType", "OccurrenceType", "PropertyMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_Metadata_descriptor = - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_Metadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_Metadata_descriptor, - new java.lang.String[] { - "DocumentSplitter", - "DocumentAllowMultipleLabels", - "PrefixedNamingOnProperties", - "SkipNamingValidation", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentService.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentService.java deleted file mode 100644 index ecfedf0592de..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentService.java +++ /dev/null @@ -1,504 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_service.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DocumentAiDocumentService { - private DocumentAiDocumentService() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_AutoSplitConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_AutoSplitConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_IndividualImportStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_IndividualImportStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_ImportConfigValidationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_ImportConfigValidationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GetDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GetDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GetDocumentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GetDocumentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_IndividualBatchDeleteStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_IndividualBatchDeleteStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GetDatasetSchemaRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GetDatasetSchemaRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetSchemaRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetSchemaRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentPageRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentPageRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/cloud/documentai/v1beta3/docume" - + "nt_service.proto\022\037google.cloud.documenta" - + "i.v1beta3\032\034google/api/annotations.proto\032" - + "\027google/api/client.proto\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\032-google/cloud/documentai/v1beta3/da" - + "taset.proto\032.google/cloud/documentai/v1b" - + "eta3/document.proto\0321google/cloud/docume" - + "ntai/v1beta3/document_io.proto\0328google/c" - + "loud/documentai/v1beta3/operation_metada" - + "ta.proto\032#google/longrunning/operations." - + "proto\032 google/protobuf/field_mask.proto\032" - + "\027google/rpc/status.proto\"\210\001\n\024UpdateDatas" - + "etRequest\022?\n\007dataset\030\001 \001(\0132(.google.clou" - + "d.documentai.v1beta3.DatasetB\004\342A\001\002\022/\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "ask\"s\n\036UpdateDatasetOperationMetadata\022Q\n" - + "\017common_metadata\030\001 \001(\01328.google.cloud.do" - + "cumentai.v1beta3.CommonOperationMetadata" - + "\"\342\004\n\026ImportDocumentsRequest\022;\n\007dataset\030\001" - + " \001(\tB*\342A\001\002\372A#\n!documentai.googleapis.com" - + "/Dataset\022\200\001\n\036batch_documents_import_conf" - + "igs\030\004 \003(\0132R.google.cloud.documentai.v1be" - + "ta3.ImportDocumentsRequest.BatchDocument" - + "sImportConfigB\004\342A\001\002\032\207\003\n\032BatchDocumentsIm" - + "portConfig\022J\n\rdataset_split\030\002 \001(\01621.goog" - + "le.cloud.documentai.v1beta3.DatasetSplit" - + "TypeH\000\022\177\n\021auto_split_config\030\003 \001(\0132b.goog" - + "le.cloud.documentai.v1beta3.ImportDocume" - + "ntsRequest.BatchDocumentsImportConfig.Au" - + "toSplitConfigH\000\022V\n\022batch_input_config\030\001 " - + "\001(\0132:.google.cloud.documentai.v1beta3.Ba" - + "tchDocumentsInputConfig\032/\n\017AutoSplitConf" - + "ig\022\034\n\024training_split_ratio\030\001 \001(\002B\023\n\021spli" - + "t_type_config\"\031\n\027ImportDocumentsResponse" - + "\"\200\005\n\027ImportDocumentsMetadata\022Q\n\017common_m" - + "etadata\030\001 \001(\01328.google.cloud.documentai." - + "v1beta3.CommonOperationMetadata\022s\n\032indiv" - + "idual_import_statuses\030\002 \003(\0132O.google.clo" - + "ud.documentai.v1beta3.ImportDocumentsMet" - + "adata.IndividualImportStatus\022\177\n import_c" - + "onfig_validation_results\030\004 \003(\0132U.google." - + "cloud.documentai.v1beta3.ImportDocuments" - + "Metadata.ImportConfigValidationResult\022\034\n" - + "\024total_document_count\030\003 \001(\005\032\237\001\n\026Individu" - + "alImportStatus\022\030\n\020input_gcs_source\030\001 \001(\t" - + "\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Status\022G\n\022" - + "output_document_id\030\004 \001(\0132+.google.cloud." - + "documentai.v1beta3.DocumentId\032\\\n\034ImportC" - + "onfigValidationResult\022\030\n\020input_gcs_sourc" - + "e\030\001 \001(\t\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" - + "tus\"\220\002\n\022GetDocumentRequest\022;\n\007dataset\030\001 " - + "\001(\tB*\342A\001\002\372A#\n!documentai.googleapis.com/" - + "Dataset\022F\n\013document_id\030\002 \001(\0132+.google.cl" - + "oud.documentai.v1beta3.DocumentIdB\004\342A\001\002\022" - + "-\n\tread_mask\030\003 \001(\0132\032.google.protobuf.Fie" - + "ldMask\022F\n\npage_range\030\004 \001(\01322.google.clou" - + "d.documentai.v1beta3.DocumentPageRange\"R" - + "\n\023GetDocumentResponse\022;\n\010document\030\001 \001(\0132" - + ").google.cloud.documentai.v1beta3.Docume" - + "nt\"\305\001\n\024ListDocumentsRequest\022;\n\007dataset\030\001" - + " \001(\tB*\342A\001\002\372A#\n!documentai.googleapis.com" - + "/Dataset\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - + "n\030\003 \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\037\n\021return_" - + "total_size\030\006 \001(\010B\004\342A\001\001\022\022\n\004skip\030\010 \001(\005B\004\342A" - + "\001\001\"\222\001\n\025ListDocumentsResponse\022L\n\021document" - + "_metadata\030\001 \003(\01321.google.cloud.documenta" - + "i.v1beta3.DocumentMetadata\022\027\n\017next_page_" - + "token\030\002 \001(\t\022\022\n\ntotal_size\030\003 \001(\005\"\215\001\n\033Batc" - + "hDeleteDocumentsRequest\022\025\n\007dataset\030\001 \001(\t" - + "B\004\342A\001\002\022W\n\021dataset_documents\030\003 \001(\01326.goog" - + "le.cloud.documentai.v1beta3.BatchDataset" - + "DocumentsB\004\342A\001\002\"\036\n\034BatchDeleteDocumentsR" - + "esponse\"\271\003\n\034BatchDeleteDocumentsMetadata" - + "\022Q\n\017common_metadata\030\001 \001(\01328.google.cloud" - + ".documentai.v1beta3.CommonOperationMetad" - + "ata\022\203\001\n individual_batch_delete_statuses" - + "\030\002 \003(\0132Y.google.cloud.documentai.v1beta3" - + ".BatchDeleteDocumentsMetadata.Individual" - + "BatchDeleteStatus\022\034\n\024total_document_coun" - + "t\030\003 \001(\005\022\034\n\024error_document_count\030\004 \001(\005\032\203\001" - + "\n\033IndividualBatchDeleteStatus\022@\n\013documen" - + "t_id\030\001 \001(\0132+.google.cloud.documentai.v1b" - + "eta3.DocumentId\022\"\n\006status\030\002 \001(\0132\022.google" - + ".rpc.Status\"v\n\027GetDatasetSchemaRequest\022>" - + "\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'documentai.google" - + "apis.com/DatasetSchema\022\033\n\023visible_fields" - + "_only\030\002 \001(\010\"\233\001\n\032UpdateDatasetSchemaReque" - + "st\022L\n\016dataset_schema\030\001 \001(\0132..google.clou" - + "d.documentai.v1beta3.DatasetSchemaB\004\342A\001\002" - + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMask\"/\n\021DocumentPageRange\022\r\n\005start\030" - + "\001 \001(\005\022\013\n\003end\030\002 \001(\005\"\227\002\n\020DocumentMetadata\022" - + "@\n\013document_id\030\001 \001(\0132+.google.cloud.docu" - + "mentai.v1beta3.DocumentId\022\022\n\npage_count\030" - + "\002 \001(\005\022G\n\014dataset_type\030\003 \001(\01621.google.clo" - + "ud.documentai.v1beta3.DatasetSplitType\022N" - + "\n\016labeling_state\030\005 \001(\01626.google.cloud.do" - + "cumentai.v1beta3.DocumentLabelingState\022\024" - + "\n\014display_name\030\006 \001(\t*\205\001\n\020DatasetSplitTyp" - + "e\022\"\n\036DATASET_SPLIT_TYPE_UNSPECIFIED\020\000\022\027\n" - + "\023DATASET_SPLIT_TRAIN\020\001\022\026\n\022DATASET_SPLIT_" - + "TEST\020\002\022\034\n\030DATASET_SPLIT_UNASSIGNED\020\003*\211\001\n" - + "\025DocumentLabelingState\022\'\n#DOCUMENT_LABEL" - + "ING_STATE_UNSPECIFIED\020\000\022\024\n\020DOCUMENT_LABE" - + "LED\020\001\022\026\n\022DOCUMENT_UNLABELED\020\002\022\031\n\025DOCUMEN" - + "T_AUTO_LABELED\020\0032\263\016\n\017DocumentService\022\376\001\n" - + "\rUpdateDataset\0225.google.cloud.documentai" - + ".v1beta3.UpdateDatasetRequest\032\035.google.l" - + "ongrunning.Operation\"\226\001\312A)\n\007Dataset\022\036Upd" - + "ateDatasetOperationMetadata\332A\023dataset,up" - + "date_mask\202\323\344\223\002N2C/v1beta3/{dataset.name=" - + "projects/*/locations/*/processors/*/data" - + "set}:\007dataset\022\204\002\n\017ImportDocuments\0227.goog" - + "le.cloud.documentai.v1beta3.ImportDocume" - + "ntsRequest\032\035.google.longrunning.Operatio" - + "n\"\230\001\312A2\n\027ImportDocumentsResponse\022\027Import" - + "DocumentsMetadata\332A\007dataset\202\323\344\223\002S\"N/v1be" - + "ta3/{dataset=projects/*/locations/*/proc" - + "essors/*/dataset}:importDocuments:\001*\022\326\001\n" - + "\013GetDocument\0223.google.cloud.documentai.v" - + "1beta3.GetDocumentRequest\0324.google.cloud" - + ".documentai.v1beta3.GetDocumentResponse\"" - + "\\\332A\007dataset\202\323\344\223\002L\022J/v1beta3/{dataset=pro" - + "jects/*/locations/*/processors/*/dataset" - + "}:getDocument\022\341\001\n\rListDocuments\0225.google" - + ".cloud.documentai.v1beta3.ListDocumentsR" - + "equest\0326.google.cloud.documentai.v1beta3" - + ".ListDocumentsResponse\"a\332A\007dataset\202\323\344\223\002Q" - + "\"L/v1beta3/{dataset=projects/*/locations" - + "/*/processors/*/dataset}:listDocuments:\001" - + "*\022\235\002\n\024BatchDeleteDocuments\022<.google.clou" - + "d.documentai.v1beta3.BatchDeleteDocument" - + "sRequest\032\035.google.longrunning.Operation\"" - + "\247\001\312A<\n\034BatchDeleteDocumentsResponse\022\034Bat" - + "chDeleteDocumentsMetadata\332A\007dataset\202\323\344\223\002" - + "X\"S/v1beta3/{dataset=projects/*/location" - + "s/*/processors/*/dataset}:batchDeleteDoc" - + "uments:\001*\022\326\001\n\020GetDatasetSchema\0228.google." - + "cloud.documentai.v1beta3.GetDatasetSchem" - + "aRequest\032..google.cloud.documentai.v1bet" - + "a3.DatasetSchema\"X\332A\004name\202\323\344\223\002K\022I/v1beta" - + "3/{name=projects/*/locations/*/processor" - + "s/*/dataset/datasetSchema}\022\222\002\n\023UpdateDat" - + "asetSchema\022;.google.cloud.documentai.v1b" - + "eta3.UpdateDatasetSchemaRequest\032..google" - + ".cloud.documentai.v1beta3.DatasetSchema\"" - + "\215\001\332A\032dataset_schema,update_mask\202\323\344\223\002j2X/" - + "v1beta3/{dataset_schema.name=projects/*/" - + "locations/*/processors/*/dataset/dataset" - + "Schema}:\016dataset_schema\032M\312A\031documentai.g" - + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\360\001\n#com.google.cl" - + "oud.documentai.v1beta3B\031DocumentAiDocume" - + "ntServiceP\001ZCcloud.google.com/go/documen" - + "tai/apiv1beta3/documentaipb;documentaipb" - + "\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037Goo" - + "gle\\Cloud\\DocumentAI\\V1beta3\352\002\"Google::C" - + "loud::DocumentAI::V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DatasetProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentIoProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.OperationMetadataProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetRequest_descriptor, - new java.lang.String[] { - "Dataset", "UpdateMask", - }); - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetOperationMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_descriptor, - new java.lang.String[] { - "Dataset", "BatchDocumentsImportConfigs", - }); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_descriptor, - new java.lang.String[] { - "DatasetSplit", "AutoSplitConfig", "BatchInputConfig", "SplitTypeConfig", - }); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_AutoSplitConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_AutoSplitConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsRequest_BatchDocumentsImportConfig_AutoSplitConfig_descriptor, - new java.lang.String[] { - "TrainingSplitRatio", - }); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - "IndividualImportStatuses", - "ImportConfigValidationResults", - "TotalDocumentCount", - }); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_IndividualImportStatus_descriptor = - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_IndividualImportStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_IndividualImportStatus_descriptor, - new java.lang.String[] { - "InputGcsSource", "Status", "OutputDocumentId", - }); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_ImportConfigValidationResult_descriptor = - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_ImportConfigValidationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportDocumentsMetadata_ImportConfigValidationResult_descriptor, - new java.lang.String[] { - "InputGcsSource", "Status", - }); - internal_static_google_cloud_documentai_v1beta3_GetDocumentRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_documentai_v1beta3_GetDocumentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GetDocumentRequest_descriptor, - new java.lang.String[] { - "Dataset", "DocumentId", "ReadMask", "PageRange", - }); - internal_static_google_cloud_documentai_v1beta3_GetDocumentResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_documentai_v1beta3_GetDocumentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GetDocumentResponse_descriptor, - new java.lang.String[] { - "Document", - }); - internal_static_google_cloud_documentai_v1beta3_ListDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_documentai_v1beta3_ListDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListDocumentsRequest_descriptor, - new java.lang.String[] { - "Dataset", "PageSize", "PageToken", "Filter", "ReturnTotalSize", "Skip", - }); - internal_static_google_cloud_documentai_v1beta3_ListDocumentsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_documentai_v1beta3_ListDocumentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListDocumentsResponse_descriptor, - new java.lang.String[] { - "DocumentMetadata", "NextPageToken", "TotalSize", - }); - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsRequest_descriptor, - new java.lang.String[] { - "Dataset", "DatasetDocuments", - }); - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - "IndividualBatchDeleteStatuses", - "TotalDocumentCount", - "ErrorDocumentCount", - }); - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_IndividualBatchDeleteStatus_descriptor = - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_IndividualBatchDeleteStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchDeleteDocumentsMetadata_IndividualBatchDeleteStatus_descriptor, - new java.lang.String[] { - "DocumentId", "Status", - }); - internal_static_google_cloud_documentai_v1beta3_GetDatasetSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_documentai_v1beta3_GetDatasetSchemaRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GetDatasetSchemaRequest_descriptor, - new java.lang.String[] { - "Name", "VisibleFieldsOnly", - }); - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetSchemaRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_UpdateDatasetSchemaRequest_descriptor, - new java.lang.String[] { - "DatasetSchema", "UpdateMask", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentPageRange_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_documentai_v1beta3_DocumentPageRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentPageRange_descriptor, - new java.lang.String[] { - "Start", "End", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentMetadata_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_documentai_v1beta3_DocumentMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentMetadata_descriptor, - new java.lang.String[] { - "DocumentId", "PageCount", "DatasetType", "LabelingState", "DisplayName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DatasetProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentIoProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.OperationMetadataProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java deleted file mode 100644 index e963b55cdecc..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java +++ /dev/null @@ -1,239 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/evaluation.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DocumentAiEvaluation { - private DocumentAiEvaluation() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_EvaluationReference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_EvaluationReference_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Evaluation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Evaluation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Evaluation_Counters_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Evaluation_Counters_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Evaluation_Metrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Evaluation_Metrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Evaluation_ConfidenceLevelMetrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Evaluation_ConfidenceLevelMetrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Evaluation_MultiConfidenceMetrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Evaluation_MultiConfidenceMetrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Evaluation_EntityMetricsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Evaluation_EntityMetricsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/documentai/v1beta3/evalua" - + "tion.proto\022\037google.cloud.documentai.v1be" - + "ta3\032\031google/api/resource.proto\032\037google/p" - + "rotobuf/timestamp.proto\"\215\002\n\023EvaluationRe" - + "ference\022\021\n\toperation\030\001 \001(\t\022=\n\nevaluation" - + "\030\002 \001(\tB)\372A&\n$documentai.googleapis.com/E" - + "valuation\022N\n\021aggregate_metrics\030\004 \001(\01323.g" - + "oogle.cloud.documentai.v1beta3.Evaluatio" - + "n.Metrics\022T\n\027aggregate_metrics_exact\030\005 \001" - + "(\01323.google.cloud.documentai.v1beta3.Eva" - + "luation.Metrics\"\215\016\n\nEvaluation\022\014\n\004name\030\001" - + " \001(\t\022/\n\013create_time\030\002 \001(\0132\032.google.proto" - + "buf.Timestamp\022O\n\021document_counters\030\005 \001(\013" - + "24.google.cloud.documentai.v1beta3.Evalu" - + "ation.Counters\022`\n\024all_entities_metrics\030\003" - + " \001(\0132B.google.cloud.documentai.v1beta3.E" - + "valuation.MultiConfidenceMetrics\022V\n\016enti" - + "ty_metrics\030\004 \003(\0132>.google.cloud.document" - + "ai.v1beta3.Evaluation.EntityMetricsEntry" - + "\022\024\n\014kms_key_name\030\006 \001(\t\022\034\n\024kms_key_versio" - + "n_name\030\007 \001(\t\032\215\001\n\010Counters\022\035\n\025input_docum" - + "ents_count\030\001 \001(\005\022\037\n\027invalid_documents_co" - + "unt\030\002 \001(\005\022\036\n\026failed_documents_count\030\003 \001(" - + "\005\022!\n\031evaluated_documents_count\030\004 \001(\005\032\315\002\n" - + "\007Metrics\022\021\n\tprecision\030\001 \001(\002\022\016\n\006recall\030\002 " - + "\001(\002\022\020\n\010f1_score\030\003 \001(\002\022#\n\033predicted_occur" - + "rences_count\030\004 \001(\005\022&\n\036ground_truth_occur" - + "rences_count\030\005 \001(\005\022 \n\030predicted_document" - + "_count\030\n \001(\005\022#\n\033ground_truth_document_co" - + "unt\030\013 \001(\005\022\034\n\024true_positives_count\030\006 \001(\005\022" - + "\035\n\025false_positives_count\030\007 \001(\005\022\035\n\025false_" - + "negatives_count\030\010 \001(\005\022\035\n\025total_documents" - + "_count\030\t \001(\005\032x\n\026ConfidenceLevelMetrics\022\030" - + "\n\020confidence_level\030\001 \001(\002\022D\n\007metrics\030\002 \001(" - + "\01323.google.cloud.documentai.v1beta3.Eval" - + "uation.Metrics\032\200\004\n\026MultiConfidenceMetric" - + "s\022d\n\030confidence_level_metrics\030\001 \003(\0132B.go" - + "ogle.cloud.documentai.v1beta3.Evaluation" - + ".ConfidenceLevelMetrics\022j\n\036confidence_le" - + "vel_metrics_exact\030\004 \003(\0132B.google.cloud.d" - + "ocumentai.v1beta3.Evaluation.ConfidenceL" - + "evelMetrics\022\r\n\005auprc\030\002 \001(\002\022#\n\033estimated_" - + "calibration_error\030\003 \001(\002\022\023\n\013auprc_exact\030\005" - + " \001(\002\022)\n!estimated_calibration_error_exac" - + "t\030\006 \001(\002\022d\n\014metrics_type\030\007 \001(\0162N.google.c" - + "loud.documentai.v1beta3.Evaluation.Multi" - + "ConfidenceMetrics.MetricsType\":\n\013Metrics" - + "Type\022\034\n\030METRICS_TYPE_UNSPECIFIED\020\000\022\r\n\tAG" - + "GREGATE\020\001\032x\n\022EntityMetricsEntry\022\013\n\003key\030\001" - + " \001(\t\022Q\n\005value\030\002 \001(\0132B.google.cloud.docum" - + "entai.v1beta3.Evaluation.MultiConfidence" - + "Metrics:\0028\001:\251\001\352A\245\001\n$documentai.googleapi" - + "s.com/Evaluation\022}projects/{project}/loc" - + "ations/{location}/processors/{processor}" - + "/processorVersions/{processor_version}/e" - + "valuations/{evaluation}B\353\001\n#com.google.c" - + "loud.documentai.v1beta3B\024DocumentAiEvalu" - + "ationP\001ZCcloud.google.com/go/documentai/" - + "apiv1beta3/documentaipb;documentaipb\252\002\037G" - + "oogle.Cloud.DocumentAI.V1Beta3\312\002\037Google\\" - + "Cloud\\DocumentAI\\V1beta3\352\002\"Google::Cloud" - + "::DocumentAI::V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_EvaluationReference_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_EvaluationReference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_EvaluationReference_descriptor, - new java.lang.String[] { - "Operation", "Evaluation", "AggregateMetrics", "AggregateMetricsExact", - }); - internal_static_google_cloud_documentai_v1beta3_Evaluation_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_Evaluation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Evaluation_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "DocumentCounters", - "AllEntitiesMetrics", - "EntityMetrics", - "KmsKeyName", - "KmsKeyVersionName", - }); - internal_static_google_cloud_documentai_v1beta3_Evaluation_Counters_descriptor = - internal_static_google_cloud_documentai_v1beta3_Evaluation_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Evaluation_Counters_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Evaluation_Counters_descriptor, - new java.lang.String[] { - "InputDocumentsCount", - "InvalidDocumentsCount", - "FailedDocumentsCount", - "EvaluatedDocumentsCount", - }); - internal_static_google_cloud_documentai_v1beta3_Evaluation_Metrics_descriptor = - internal_static_google_cloud_documentai_v1beta3_Evaluation_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_Evaluation_Metrics_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Evaluation_Metrics_descriptor, - new java.lang.String[] { - "Precision", - "Recall", - "F1Score", - "PredictedOccurrencesCount", - "GroundTruthOccurrencesCount", - "PredictedDocumentCount", - "GroundTruthDocumentCount", - "TruePositivesCount", - "FalsePositivesCount", - "FalseNegativesCount", - "TotalDocumentsCount", - }); - internal_static_google_cloud_documentai_v1beta3_Evaluation_ConfidenceLevelMetrics_descriptor = - internal_static_google_cloud_documentai_v1beta3_Evaluation_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_documentai_v1beta3_Evaluation_ConfidenceLevelMetrics_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Evaluation_ConfidenceLevelMetrics_descriptor, - new java.lang.String[] { - "ConfidenceLevel", "Metrics", - }); - internal_static_google_cloud_documentai_v1beta3_Evaluation_MultiConfidenceMetrics_descriptor = - internal_static_google_cloud_documentai_v1beta3_Evaluation_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_documentai_v1beta3_Evaluation_MultiConfidenceMetrics_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Evaluation_MultiConfidenceMetrics_descriptor, - new java.lang.String[] { - "ConfidenceLevelMetrics", - "ConfidenceLevelMetricsExact", - "Auprc", - "EstimatedCalibrationError", - "AuprcExact", - "EstimatedCalibrationErrorExact", - "MetricsType", - }); - internal_static_google_cloud_documentai_v1beta3_Evaluation_EntityMetricsEntry_descriptor = - internal_static_google_cloud_documentai_v1beta3_Evaluation_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_documentai_v1beta3_Evaluation_EntityMetricsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Evaluation_EntityMetricsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java deleted file mode 100644 index a121ed07f236..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/processor.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DocumentAiProcessor { - private DocumentAiProcessor() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_DeprecationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_DeprecationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessorVersionAlias_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessorVersionAlias_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Processor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Processor_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/documentai/v1beta3/proces" - + "sor.proto\022\037google.cloud.documentai.v1bet" - + "a3\032\037google/api/field_behavior.proto\032\031goo" - + "gle/api/resource.proto\0325google/cloud/doc" - + "umentai/v1beta3/document_schema.proto\0320g" - + "oogle/cloud/documentai/v1beta3/evaluatio" - + "n.proto\032\037google/protobuf/timestamp.proto" - + "\"\312\007\n\020ProcessorVersion\022\014\n\004name\030\001 \001(\t\022\024\n\014d" - + "isplay_name\030\002 \001(\t\022H\n\017document_schema\030\014 \001" - + "(\0132/.google.cloud.documentai.v1beta3.Doc" - + "umentSchema\022F\n\005state\030\006 \001(\01627.google.clou" - + "d.documentai.v1beta3.ProcessorVersion.St" - + "ate\022/\n\013create_time\030\007 \001(\0132\032.google.protob" - + "uf.Timestamp\022O\n\021latest_evaluation\030\010 \001(\0132" - + "4.google.cloud.documentai.v1beta3.Evalua" - + "tionReference\022\024\n\014kms_key_name\030\t \001(\t\022\034\n\024k" - + "ms_key_version_name\030\n \001(\t\022\034\n\016google_mana" - + "ged\030\013 \001(\010B\004\342A\001\003\022[\n\020deprecation_info\030\r \001(" - + "\0132A.google.cloud.documentai.v1beta3.Proc" - + "essorVersion.DeprecationInfo\032\237\001\n\017Depreca" - + "tionInfo\0224\n\020deprecation_time\030\001 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022V\n\035replacement_pr" - + "ocessor_version\030\002 \001(\tB/\372A,\n*documentai.g" - + "oogleapis.com/ProcessorVersion\"\223\001\n\005State" - + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010DEPLOYED\020\001\022\r\n" - + "\tDEPLOYING\020\002\022\016\n\nUNDEPLOYED\020\003\022\017\n\013UNDEPLOY" - + "ING\020\004\022\014\n\010CREATING\020\005\022\014\n\010DELETING\020\006\022\n\n\006FAI" - + "LED\020\007\022\r\n\tIMPORTING\020\010:\226\001\352A\222\001\n*documentai." - + "googleapis.com/ProcessorVersion\022dproject" - + "s/{project}/locations/{location}/process" - + "ors/{processor}/processorVersions/{proce" - + "ssor_version}\"r\n\025ProcessorVersionAlias\022\r" - + "\n\005alias\030\001 \001(\t\022J\n\021processor_version\030\002 \001(\t" - + "B/\372A,\n*documentai.googleapis.com/Process" - + "orVersion\"\222\005\n\tProcessor\022\023\n\004name\030\001 \001(\tB\005\342" - + "A\002\005\003\022\014\n\004type\030\002 \001(\t\022\024\n\014display_name\030\003 \001(\t" - + "\022E\n\005state\030\004 \001(\01620.google.cloud.documenta" - + "i.v1beta3.Processor.StateB\004\342A\001\003\022R\n\031defau" - + "lt_processor_version\030\t \001(\tB/\372A,\n*documen" - + "tai.googleapis.com/ProcessorVersion\022_\n\031p" - + "rocessor_version_aliases\030\n \003(\01326.google." - + "cloud.documentai.v1beta3.ProcessorVersio" - + "nAliasB\004\342A\001\003\022\037\n\020process_endpoint\030\006 \001(\tB\005" - + "\342A\002\003\005\022/\n\013create_time\030\007 \001(\0132\032.google.prot" - + "obuf.Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\"~\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020" - + "\001\022\014\n\010DISABLED\020\002\022\014\n\010ENABLING\020\003\022\r\n\tDISABLI" - + "NG\020\004\022\014\n\010CREATING\020\005\022\n\n\006FAILED\020\006\022\014\n\010DELETI" - + "NG\020\007:h\352Ae\n#documentai.googleapis.com/Pro" - + "cessor\022>projects/{project}/locations/{lo" - + "cation}/processors/{processor}B\352\001\n#com.g" - + "oogle.cloud.documentai.v1beta3B\023Document" - + "AiProcessorP\001ZCcloud.google.com/go/docum" - + "entai/apiv1beta3/documentaipb;documentai" - + "pb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037G" - + "oogle\\Cloud\\DocumentAI\\V1beta3\352\002\"Google:" - + ":Cloud::DocumentAI::V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiDocumentSchema.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiEvaluation.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "DocumentSchema", - "State", - "CreateTime", - "LatestEvaluation", - "KmsKeyName", - "KmsKeyVersionName", - "GoogleManaged", - "DeprecationInfo", - }); - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_DeprecationInfo_descriptor = - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_DeprecationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessorVersion_DeprecationInfo_descriptor, - new java.lang.String[] { - "DeprecationTime", "ReplacementProcessorVersion", - }); - internal_static_google_cloud_documentai_v1beta3_ProcessorVersionAlias_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_ProcessorVersionAlias_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessorVersionAlias_descriptor, - new java.lang.String[] { - "Alias", "ProcessorVersion", - }); - internal_static_google_cloud_documentai_v1beta3_Processor_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_Processor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Processor_descriptor, - new java.lang.String[] { - "Name", - "Type", - "DisplayName", - "State", - "DefaultProcessorVersion", - "ProcessorVersionAliases", - "ProcessEndpoint", - "CreateTime", - "KmsKeyName", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiDocumentSchema.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiEvaluation.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java deleted file mode 100644 index 1797b096b6a9..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java +++ /dev/null @@ -1,1291 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DocumentAiProcessorService { - private DocumentAiProcessorService() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_IndividualPageSelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_IndividualPageSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_HumanReviewStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_HumanReviewStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchInputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchInputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchProcessResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchProcessResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_IndividualProcessStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_IndividualProcessStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListProcessorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListProcessorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListProcessorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListProcessorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GetProcessorTypeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GetProcessorTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GetProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GetProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GetProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GetProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_CreateProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_CreateProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_EnableProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_EnableProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_EnableProcessorResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_EnableProcessorResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_EnableProcessorMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_EnableProcessorMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DisableProcessorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DisableProcessorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DisableProcessorResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DisableProcessorResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DisableProcessorMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DisableProcessorMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_InputData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_InputData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_DatasetValidation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_DatasetValidation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GetEvaluationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GetEvaluationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_ExternalProcessorVersionSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_ExternalProcessorVersionSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n@google/cloud/documentai/v1beta3/docume" - + "nt_processor_service.proto\022\037google.cloud" - + ".documentai.v1beta3\032\034google/api/annotati" - + "ons.proto\032\027google/api/client.proto\032\037goog" - + "le/api/field_behavior.proto\032\031google/api/" - + "resource.proto\032.google/cloud/documentai/" - + "v1beta3/document.proto\0321google/cloud/doc" - + "umentai/v1beta3/document_io.proto\0325googl" - + "e/cloud/documentai/v1beta3/document_sche" - + "ma.proto\0320google/cloud/documentai/v1beta" - + "3/evaluation.proto\0328google/cloud/documen" - + "tai/v1beta3/operation_metadata.proto\032/go" - + "ogle/cloud/documentai/v1beta3/processor." - + "proto\0324google/cloud/documentai/v1beta3/p" - + "rocessor_type.proto\032#google/longrunning/" - + "operations.proto\032\033google/protobuf/empty." - + "proto\032 google/protobuf/field_mask.proto\032" - + "\037google/protobuf/timestamp.proto\032\027google" - + "/rpc/status.proto\"\363\002\n\016ProcessOptions\022j\n\030" - + "individual_page_selector\030\005 \001(\0132F.google." - + "cloud.documentai.v1beta3.ProcessOptions." - + "IndividualPageSelectorH\000\022\024\n\nfrom_start\030\006" - + " \001(\005H\000\022\022\n\010from_end\030\007 \001(\005H\000\022>\n\nocr_config" - + "\030\001 \001(\0132*.google.cloud.documentai.v1beta3" - + ".OcrConfig\022N\n\017schema_override\030\010 \001(\0132/.go" - + "ogle.cloud.documentai.v1beta3.DocumentSc" - + "hemaB\004\342A\001\001\032-\n\026IndividualPageSelector\022\023\n\005" - + "pages\030\001 \003(\005B\004\342A\001\001B\014\n\npage_range\"\334\003\n\016Proc" - + "essRequest\022D\n\017inline_document\030\004 \001(\0132).go" - + "ogle.cloud.documentai.v1beta3.DocumentH\000" - + "\022D\n\014raw_document\030\005 \001(\0132,.google.cloud.do" - + "cumentai.v1beta3.RawDocumentH\000\022D\n\014gcs_do" - + "cument\030\010 \001(\0132,.google.cloud.documentai.v" - + "1beta3.GcsDocumentH\000\022\030\n\004name\030\001 \001(\tB\n\342A\001\002" - + "\372A\003\n\001*\022?\n\010document\030\002 \001(\0132).google.cloud." - + "documentai.v1beta3.DocumentB\002\030\001\022\031\n\021skip_" - + "human_review\030\003 \001(\010\022.\n\nfield_mask\030\006 \001(\0132\032" - + ".google.protobuf.FieldMask\022H\n\017process_op" - + "tions\030\007 \001(\0132/.google.cloud.documentai.v1" - + "beta3.ProcessOptionsB\010\n\006source\"\363\001\n\021Human" - + "ReviewStatus\022G\n\005state\030\001 \001(\01628.google.clo" - + "ud.documentai.v1beta3.HumanReviewStatus." - + "State\022\025\n\rstate_message\030\002 \001(\t\022\036\n\026human_re" - + "view_operation\030\003 \001(\t\"^\n\005State\022\025\n\021STATE_U" - + "NSPECIFIED\020\000\022\013\n\007SKIPPED\020\001\022\025\n\021VALIDATION_" - + "PASSED\020\002\022\017\n\013IN_PROGRESS\020\003\022\t\n\005ERROR\020\004\"\303\001\n" - + "\017ProcessResponse\022;\n\010document\030\001 \001(\0132).goo" - + "gle.cloud.documentai.v1beta3.Document\022\"\n" - + "\026human_review_operation\030\002 \001(\tB\002\030\001\022O\n\023hum" - + "an_review_status\030\003 \001(\01322.google.cloud.do" - + "cumentai.v1beta3.HumanReviewStatus\"\366\004\n\023B" - + "atchProcessRequest\022\030\n\004name\030\001 \001(\tB\n\342A\001\002\372A" - + "\003\n\001*\022`\n\rinput_configs\030\002 \003(\0132E.google.clo" - + "ud.documentai.v1beta3.BatchProcessReques" - + "t.BatchInputConfigB\002\030\001\022a\n\routput_config\030" - + "\003 \001(\0132F.google.cloud.documentai.v1beta3." - + "BatchProcessRequest.BatchOutputConfigB\002\030" - + "\001\022S\n\017input_documents\030\005 \001(\0132:.google.clou" - + "d.documentai.v1beta3.BatchDocumentsInput" - + "Config\022U\n\026document_output_config\030\006 \001(\01325" - + ".google.cloud.documentai.v1beta3.Documen" - + "tOutputConfig\022\031\n\021skip_human_review\030\004 \001(\010" - + "\022H\n\017process_options\030\007 \001(\0132/.google.cloud" - + ".documentai.v1beta3.ProcessOptions\032=\n\020Ba" - + "tchInputConfig\022\022\n\ngcs_source\030\001 \001(\t\022\021\n\tmi" - + "me_type\030\002 \001(\t:\002\030\001\0320\n\021BatchOutputConfig\022\027" - + "\n\017gcs_destination\030\001 \001(\t:\002\030\001\"\026\n\024BatchProc" - + "essResponse\"\262\005\n\024BatchProcessMetadata\022J\n\005" - + "state\030\001 \001(\0162;.google.cloud.documentai.v1" - + "beta3.BatchProcessMetadata.State\022\025\n\rstat" - + "e_message\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022/\n\013update_time\030" - + "\004 \001(\0132\032.google.protobuf.Timestamp\022r\n\033ind" - + "ividual_process_statuses\030\005 \003(\0132M.google." - + "cloud.documentai.v1beta3.BatchProcessMet" - + "adata.IndividualProcessStatus\032\354\001\n\027Indivi" - + "dualProcessStatus\022\030\n\020input_gcs_source\030\001 " - + "\001(\t\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Status\022" - + "\036\n\026output_gcs_destination\030\003 \001(\t\022\"\n\026human" - + "_review_operation\030\004 \001(\tB\002\030\001\022O\n\023human_rev" - + "iew_status\030\005 \001(\01322.google.cloud.document" - + "ai.v1beta3.HumanReviewStatus\"r\n\005State\022\025\n" - + "\021STATE_UNSPECIFIED\020\000\022\013\n\007WAITING\020\001\022\013\n\007RUN" - + "NING\020\002\022\r\n\tSUCCEEDED\020\003\022\016\n\nCANCELLING\020\004\022\r\n" - + "\tCANCELLED\020\005\022\n\n\006FAILED\020\006\"^\n\032FetchProcess" - + "orTypesRequest\022@\n\006parent\030\001 \001(\tB0\342A\001\002\372A)\022" - + "\'documentai.googleapis.com/ProcessorType" - + "\"f\n\033FetchProcessorTypesResponse\022G\n\017proce" - + "ssor_types\030\001 \003(\0132..google.cloud.document" - + "ai.v1beta3.ProcessorType\"\204\001\n\031ListProcess" - + "orTypesRequest\022@\n\006parent\030\001 \001(\tB0\342A\001\002\372A)\022" - + "\'documentai.googleapis.com/ProcessorType" - + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" - + "~\n\032ListProcessorTypesResponse\022G\n\017process" - + "or_types\030\001 \003(\0132..google.cloud.documentai" - + ".v1beta3.ProcessorType\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"|\n\025ListProcessorsRequest\022<\n\006pare" - + "nt\030\001 \001(\tB,\342A\001\002\372A%\022#documentai.googleapis" - + ".com/Processor\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" - + "e_token\030\003 \001(\t\"q\n\026ListProcessorsResponse\022" - + ">\n\nprocessors\030\001 \003(\0132*.google.cloud.docum" - + "entai.v1beta3.Processor\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"Y\n\027GetProcessorTypeRequest\022>\n\004n" - + "ame\030\001 \001(\tB0\342A\001\002\372A)\n\'documentai.googleapi" - + "s.com/ProcessorType\"Q\n\023GetProcessorReque" - + "st\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#documentai.go" - + "ogleapis.com/Processor\"_\n\032GetProcessorVe" - + "rsionRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*doc" - + "umentai.googleapis.com/ProcessorVersion\"" - + "\212\001\n\034ListProcessorVersionsRequest\022C\n\006pare" - + "nt\030\001 \001(\tB3\342A\001\002\372A,\022*documentai.googleapis" - + ".com/ProcessorVersion\022\021\n\tpage_size\030\002 \001(\005" - + "\022\022\n\npage_token\030\003 \001(\t\"\207\001\n\035ListProcessorVe" - + "rsionsResponse\022M\n\022processor_versions\030\001 \003" - + "(\01321.google.cloud.documentai.v1beta3.Pro" - + "cessorVersion\022\027\n\017next_page_token\030\002 \001(\t\"b" - + "\n\035DeleteProcessorVersionRequest\022A\n\004name\030" - + "\001 \001(\tB3\342A\001\002\372A,\n*documentai.googleapis.co" - + "m/ProcessorVersion\"s\n\036DeleteProcessorVer" - + "sionMetadata\022Q\n\017common_metadata\030\001 \001(\01328." - + "google.cloud.documentai.v1beta3.CommonOp" - + "erationMetadata\"b\n\035DeployProcessorVersio" - + "nRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*documen" - + "tai.googleapis.com/ProcessorVersion\" \n\036D" - + "eployProcessorVersionResponse\"s\n\036DeployP" - + "rocessorVersionMetadata\022Q\n\017common_metada" - + "ta\030\001 \001(\01328.google.cloud.documentai.v1bet" - + "a3.CommonOperationMetadata\"d\n\037UndeployPr" - + "ocessorVersionRequest\022A\n\004name\030\001 \001(\tB3\342A\001" - + "\002\372A,\n*documentai.googleapis.com/Processo" - + "rVersion\"\"\n UndeployProcessorVersionResp" - + "onse\"u\n UndeployProcessorVersionMetadata" - + "\022Q\n\017common_metadata\030\001 \001(\01328.google.cloud" - + ".documentai.v1beta3.CommonOperationMetad" - + "ata\"\233\001\n\026CreateProcessorRequest\022<\n\006parent" - + "\030\001 \001(\tB,\342A\001\002\372A%\022#documentai.googleapis.c" - + "om/Processor\022C\n\tprocessor\030\002 \001(\0132*.google" - + ".cloud.documentai.v1beta3.ProcessorB\004\342A\001" - + "\002\"T\n\026DeleteProcessorRequest\022:\n\004name\030\001 \001(" - + "\tB,\342A\001\002\372A%\n#documentai.googleapis.com/Pr" - + "ocessor\"l\n\027DeleteProcessorMetadata\022Q\n\017co" - + "mmon_metadata\030\005 \001(\01328.google.cloud.docum" - + "entai.v1beta3.CommonOperationMetadata\"T\n" - + "\026EnableProcessorRequest\022:\n\004name\030\001 \001(\tB,\342" - + "A\001\002\372A%\n#documentai.googleapis.com/Proces" - + "sor\"\031\n\027EnableProcessorResponse\"l\n\027Enable" - + "ProcessorMetadata\022Q\n\017common_metadata\030\005 \001" - + "(\01328.google.cloud.documentai.v1beta3.Com" - + "monOperationMetadata\"U\n\027DisableProcessor" - + "Request\022:\n\004name\030\001 \001(\tB,\342A\001\002\372A%\n#document" - + "ai.googleapis.com/Processor\"\032\n\030DisablePr" - + "ocessorResponse\"m\n\030DisableProcessorMetad" - + "ata\022Q\n\017common_metadata\030\005 \001(\01328.google.cl" - + "oud.documentai.v1beta3.CommonOperationMe" - + "tadata\"\274\001\n!SetDefaultProcessorVersionReq" - + "uest\022?\n\tprocessor\030\001 \001(\tB,\342A\001\002\372A%\n#docume" - + "ntai.googleapis.com/Processor\022V\n\031default" - + "_processor_version\030\002 \001(\tB3\342A\001\002\372A,\n*docum" - + "entai.googleapis.com/ProcessorVersion\"$\n" - + "\"SetDefaultProcessorVersionResponse\"w\n\"S" - + "etDefaultProcessorVersionMetadata\022Q\n\017com" - + "mon_metadata\030\001 \001(\01328.google.cloud.docume" - + "ntai.v1beta3.CommonOperationMetadata\"\350\007\n" - + "\034TrainProcessorVersionRequest\022\213\001\n\"custom" - + "_document_extraction_options\030\005 \001(\0132].goo" - + "gle.cloud.documentai.v1beta3.TrainProces" - + "sorVersionRequest.CustomDocumentExtracti" - + "onOptionsH\000\022<\n\006parent\030\001 \001(\tB,\342A\001\002\372A%\n#do" - + "cumentai.googleapis.com/Processor\022R\n\021pro" - + "cessor_version\030\002 \001(\01321.google.cloud.docu" - + "mentai.v1beta3.ProcessorVersionB\004\342A\001\002\022N\n" - + "\017document_schema\030\n \001(\0132/.google.cloud.do" - + "cumentai.v1beta3.DocumentSchemaB\004\342A\001\001\022a\n" - + "\ninput_data\030\004 \001(\0132G.google.cloud.documen" - + "tai.v1beta3.TrainProcessorVersionRequest" - + ".InputDataB\004\342A\001\001\022$\n\026base_processor_versi" - + "on\030\010 \001(\tB\004\342A\001\001\032\267\001\n\tInputData\022V\n\022training" - + "_documents\030\003 \001(\0132:.google.cloud.document" - + "ai.v1beta3.BatchDocumentsInputConfig\022R\n\016" - + "test_documents\030\004 \001(\0132:.google.cloud.docu" - + "mentai.v1beta3.BatchDocumentsInputConfig" - + "\032\201\002\n\037CustomDocumentExtractionOptions\022\205\001\n" - + "\017training_method\030\003 \001(\0162l.google.cloud.do" - + "cumentai.v1beta3.TrainProcessorVersionRe" - + "quest.CustomDocumentExtractionOptions.Tr" - + "ainingMethod\"V\n\016TrainingMethod\022\037\n\033TRAINI" - + "NG_METHOD_UNSPECIFIED\020\000\022\017\n\013MODEL_BASED\020\001" - + "\022\022\n\016TEMPLATE_BASED\020\002B\021\n\017processor_flags\"" - + ":\n\035TrainProcessorVersionResponse\022\031\n\021proc" - + "essor_version\030\001 \001(\t\"\206\004\n\035TrainProcessorVe" - + "rsionMetadata\022Q\n\017common_metadata\030\001 \001(\01328" - + ".google.cloud.documentai.v1beta3.CommonO" - + "perationMetadata\022u\n\033training_dataset_val" - + "idation\030\002 \001(\0132P.google.cloud.documentai." - + "v1beta3.TrainProcessorVersionMetadata.Da" - + "tasetValidation\022q\n\027test_dataset_validati" - + "on\030\003 \001(\0132P.google.cloud.documentai.v1bet" - + "a3.TrainProcessorVersionMetadata.Dataset" - + "Validation\032\247\001\n\021DatasetValidation\022\034\n\024docu" - + "ment_error_count\030\003 \001(\005\022\033\n\023dataset_error_" - + "count\030\004 \001(\005\022+\n\017document_errors\030\001 \003(\0132\022.g" - + "oogle.rpc.Status\022*\n\016dataset_errors\030\002 \003(\013" - + "2\022.google.rpc.Status\"\337\003\n\025ReviewDocumentR" - + "equest\022D\n\017inline_document\030\004 \001(\0132).google" - + ".cloud.documentai.v1beta3.DocumentH\000\022Q\n\023" - + "human_review_config\030\001 \001(\tB4\342A\001\002\372A-\n+docu" - + "mentai.googleapis.com/HumanReviewConfig\022" - + "?\n\010document\030\002 \001(\0132).google.cloud.documen" - + "tai.v1beta3.DocumentB\002\030\001\022 \n\030enable_schem" - + "a_validation\030\003 \001(\010\022Q\n\010priority\030\005 \001(\0162?.g" - + "oogle.cloud.documentai.v1beta3.ReviewDoc" - + "umentRequest.Priority\022H\n\017document_schema" - + "\030\006 \001(\0132/.google.cloud.documentai.v1beta3" - + ".DocumentSchema\"#\n\010Priority\022\013\n\007DEFAULT\020\000" - + "\022\n\n\006URGENT\020\001B\010\n\006source\"\326\001\n\026ReviewDocumen" - + "tResponse\022\027\n\017gcs_destination\030\001 \001(\t\022L\n\005st" - + "ate\030\002 \001(\0162=.google.cloud.documentai.v1be" - + "ta3.ReviewDocumentResponse.State\022\030\n\020reje" - + "ction_reason\030\003 \001(\t\";\n\005State\022\025\n\021STATE_UNS" - + "PECIFIED\020\000\022\014\n\010REJECTED\020\001\022\r\n\tSUCCEEDED\020\002\"" - + "\300\003\n\037ReviewDocumentOperationMetadata\022U\n\005s" - + "tate\030\001 \001(\0162F.google.cloud.documentai.v1b" - + "eta3.ReviewDocumentOperationMetadata.Sta" - + "te\022\025\n\rstate_message\030\002 \001(\t\022/\n\013create_time" - + "\030\003 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" - + "date_time\030\004 \001(\0132\032.google.protobuf.Timest" - + "amp\022Q\n\017common_metadata\030\005 \001(\01328.google.cl" - + "oud.documentai.v1beta3.CommonOperationMe" - + "tadata\022\023\n\013question_id\030\006 \001(\t\"e\n\005State\022\025\n\021" - + "STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\016\n\nCANC" - + "ELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\r\n\tC" - + "ANCELLED\020\005\"\321\001\n\037EvaluateProcessorVersionR" - + "equest\022N\n\021processor_version\030\001 \001(\tB3\342A\001\002\372" - + "A,\n*documentai.googleapis.com/ProcessorV" - + "ersion\022^\n\024evaluation_documents\030\003 \001(\0132:.g" - + "oogle.cloud.documentai.v1beta3.BatchDocu" - + "mentsInputConfigB\004\342A\001\001\"u\n EvaluateProces" - + "sorVersionMetadata\022Q\n\017common_metadata\030\001 " - + "\001(\01328.google.cloud.documentai.v1beta3.Co" - + "mmonOperationMetadata\"6\n EvaluateProcess" - + "orVersionResponse\022\022\n\nevaluation\030\002 \001(\t\"S\n" - + "\024GetEvaluationRequest\022;\n\004name\030\001 \001(\tB-\342A\001" - + "\002\372A&\n$documentai.googleapis.com/Evaluati" - + "on\"\204\001\n\026ListEvaluationsRequest\022C\n\006parent\030" - + "\001 \001(\tB3\342A\001\002\372A,\n*documentai.googleapis.co" - + "m/ProcessorVersion\022\021\n\tpage_size\030\002 \001(\005\022\022\n" - + "\npage_token\030\003 \001(\t\"t\n\027ListEvaluationsResp" - + "onse\022@\n\013evaluations\030\001 \003(\0132+.google.cloud" - + ".documentai.v1beta3.Evaluation\022\027\n\017next_p" - + "age_token\030\002 \001(\t\"\263\003\n\035ImportProcessorVersi" - + "onRequest\022S\n\030processor_version_source\030\002 " - + "\001(\tB/\372A,\n*documentai.googleapis.com/Proc" - + "essorVersionH\000\022\212\001\n!external_processor_ve" - + "rsion_source\030\003 \001(\0132].google.cloud.docume" - + "ntai.v1beta3.ImportProcessorVersionReque" - + "st.ExternalProcessorVersionSourceH\000\022C\n\006p" - + "arent\030\001 \001(\tB3\342A\001\002\372A,\022*documentai.googlea" - + "pis.com/ProcessorVersion\032a\n\036ExternalProc" - + "essorVersionSource\022\037\n\021processor_version\030" - + "\001 \001(\tB\004\342A\001\002\022\036\n\020service_endpoint\030\002 \001(\tB\004\342" - + "A\001\001B\010\n\006source\"l\n\036ImportProcessorVersionR" - + "esponse\022J\n\021processor_version\030\001 \001(\tB/\372A,\n" - + "*documentai.googleapis.com/ProcessorVers" - + "ion\"s\n\036ImportProcessorVersionMetadata\022Q\n" - + "\017common_metadata\030\001 \001(\01328.google.cloud.do" - + "cumentai.v1beta3.CommonOperationMetadata" - + "2\353.\n\030DocumentProcessorService\022\233\002\n\017Proces" - + "sDocument\022/.google.cloud.documentai.v1be" - + "ta3.ProcessRequest\0320.google.cloud.docume" - + "ntai.v1beta3.ProcessResponse\"\244\001\332A\004name\202\323" - + "\344\223\002\226\001\";/v1beta3/{name=projects/*/locatio" - + "ns/*/processors/*}:process:\001*ZT\"O/v1beta" - + "3/{name=projects/*/locations/*/processor" - + "s/*/processorVersions/*}:process:\001*\022\314\002\n\025" - + "BatchProcessDocuments\0224.google.cloud.doc" - + "umentai.v1beta3.BatchProcessRequest\032\035.go" - + "ogle.longrunning.Operation\"\335\001\312A,\n\024BatchP" - + "rocessResponse\022\024BatchProcessMetadata\332A\004n" - + "ame\202\323\344\223\002\240\001\"@/v1beta3/{name=projects/*/lo" - + "cations/*/processors/*}:batchProcess:\001*Z" - + "Y\"T/v1beta3/{name=projects/*/locations/*" - + "/processors/*/processorVersions/*}:batch" - + "Process:\001*\022\337\001\n\023FetchProcessorTypes\022;.goo" - + "gle.cloud.documentai.v1beta3.FetchProces" - + "sorTypesRequest\032<.google.cloud.documenta" - + "i.v1beta3.FetchProcessorTypesResponse\"M\332" - + "A\006parent\202\323\344\223\002>\022\n\035TrainProcessorVersionResponse\022\035Tra" - + "inProcessorVersionMetadata\332A\030parent,proc" - + "essor_version\202\323\344\223\002R\"M/v1beta3/{parent=pr" - + "ojects/*/locations/*/processors/*}/proce" - + "ssorVersions:train:\001*\022\335\001\n\023GetProcessorVe" - + "rsion\022;.google.cloud.documentai.v1beta3." - + "GetProcessorVersionRequest\0321.google.clou" - + "d.documentai.v1beta3.ProcessorVersion\"V\332" - + "A\004name\202\323\344\223\002I\022G/v1beta3/{name=projects/*/" - + "locations/*/processors/*/processorVersio" - + "ns/*}\022\360\001\n\025ListProcessorVersions\022=.google" - + ".cloud.documentai.v1beta3.ListProcessorV" - + "ersionsRequest\032>.google.cloud.documentai" - + ".v1beta3.ListProcessorVersionsResponse\"X" - + "\332A\006parent\202\323\344\223\002I\022G/v1beta3/{parent=projec" - + "ts/*/locations/*/processors/*}/processor" - + "Versions\022\212\002\n\026DeleteProcessorVersion\022>.go" - + "ogle.cloud.documentai.v1beta3.DeleteProc" - + "essorVersionRequest\032\035.google.longrunning" - + ".Operation\"\220\001\312A7\n\025google.protobuf.Empty\022" - + "\036DeleteProcessorVersionMetadata\332A\004name\202\323" - + "\344\223\002I*G/v1beta3/{name=projects/*/location" - + "s/*/processors/*/processorVersions/*}\022\235\002" - + "\n\026DeployProcessorVersion\022>.google.cloud." - + "documentai.v1beta3.DeployProcessorVersio" - + "nRequest\032\035.google.longrunning.Operation\"" - + "\243\001\312A@\n\036DeployProcessorVersionResponse\022\036D" - + "eployProcessorVersionMetadata\332A\004name\202\323\344\223" - + "\002S\"N/v1beta3/{name=projects/*/locations/" - + "*/processors/*/processorVersions/*}:depl" - + "oy:\001*\022\247\002\n\030UndeployProcessorVersion\022@.goo" - + "gle.cloud.documentai.v1beta3.UndeployPro" - + "cessorVersionRequest\032\035.google.longrunnin" - + "g.Operation\"\251\001\312AD\n UndeployProcessorVers" - + "ionResponse\022 UndeployProcessorVersionMet" - + "adata\332A\004name\202\323\344\223\002U\"P/v1beta3/{name=proje" - + "cts/*/locations/*/processors/*/processor" - + "Versions/*}:undeploy:\001*\022\321\001\n\017CreateProces" - + "sor\0227.google.cloud.documentai.v1beta3.Cr" - + "eateProcessorRequest\032*.google.cloud.docu" - + "mentai.v1beta3.Processor\"Y\332A\020parent,proc" - + "essor\202\323\344\223\002@\"3/v1beta3/{parent=projects/*" - + "/locations/*}/processors:\tprocessor\022\340\001\n\017" - + "DeleteProcessor\0227.google.cloud.documenta" - + "i.v1beta3.DeleteProcessorRequest\032\035.googl" - + "e.longrunning.Operation\"u\312A0\n\025google.pro" - + "tobuf.Empty\022\027DeleteProcessorMetadata\332A\004n" - + "ame\202\323\344\223\0025*3/v1beta3/{name=projects/*/loc" - + "ations/*/processors/*}\022\345\001\n\017EnableProcess" - + "or\0227.google.cloud.documentai.v1beta3.Ena" - + "bleProcessorRequest\032\035.google.longrunning" - + ".Operation\"z\312A2\n\027EnableProcessorResponse" - + "\022\027EnableProcessorMetadata\202\323\344\223\002?\":/v1beta" - + "3/{name=projects/*/locations/*/processor" - + "s/*}:enable:\001*\022\352\001\n\020DisableProcessor\0228.go" - + "ogle.cloud.documentai.v1beta3.DisablePro" - + "cessorRequest\032\035.google.longrunning.Opera" - + "tion\"}\312A4\n\030DisableProcessorResponse\022\030Dis" - + "ableProcessorMetadata\202\323\344\223\002@\";/v1beta3/{n" - + "ame=projects/*/locations/*/processors/*}" - + ":disable:\001*\022\253\002\n\032SetDefaultProcessorVersi" - + "on\022B.google.cloud.documentai.v1beta3.Set" - + "DefaultProcessorVersionRequest\032\035.google." - + "longrunning.Operation\"\251\001\312AH\n\"SetDefaultP" - + "rocessorVersionResponse\022\"SetDefaultProce" - + "ssorVersionMetadata\202\323\344\223\002X\"S/v1beta3/{pro" - + "cessor=projects/*/locations/*/processors" - + "/*}:setDefaultProcessorVersion:\001*\022\252\002\n\016Re" - + "viewDocument\0226.google.cloud.documentai.v" - + "1beta3.ReviewDocumentRequest\032\035.google.lo" - + "ngrunning.Operation\"\300\001\312A9\n\026ReviewDocumen" - + "tResponse\022\037ReviewDocumentOperationMetada" - + "ta\332A\023human_review_config\202\323\344\223\002h\"c/v1beta3" - + "/{human_review_config=projects/*/locatio" - + "ns/*/processors/*/humanReviewConfig}:rev" - + "iewDocument:\001*\022\321\002\n\030EvaluateProcessorVers" - + "ion\022@.google.cloud.documentai.v1beta3.Ev" - + "aluateProcessorVersionRequest\032\035.google.l" - + "ongrunning.Operation\"\323\001\312AD\n EvaluateProc" - + "essorVersionResponse\022 EvaluateProcessorV" - + "ersionMetadata\332A\021processor_version\202\323\344\223\002r" - + "\"m/v1beta3/{processor_version=projects/*" - + "/locations/*/processors/*/processorVersi" - + "ons/*}:evaluateProcessorVersion:\001*\022\331\001\n\rG" - + "etEvaluation\0225.google.cloud.documentai.v" - + "1beta3.GetEvaluationRequest\032+.google.clo" - + "ud.documentai.v1beta3.Evaluation\"d\332A\004nam" - + "e\202\323\344\223\002W\022U/v1beta3/{name=projects/*/locat" - + "ions/*/processors/*/processorVersions/*/", - "evaluations/*}\022\354\001\n\017ListEvaluations\0227.goo" - + "gle.cloud.documentai.v1beta3.ListEvaluat" - + "ionsRequest\0328.google.cloud.documentai.v1" - + "beta3.ListEvaluationsResponse\"f\332A\006parent" - + "\202\323\344\223\002W\022U/v1beta3/{parent=projects/*/loca" - + "tions/*/processors/*/processorVersions/*" - + "}/evaluations\022\257\002\n\026ImportProcessorVersion" - + "\022>.google.cloud.documentai.v1beta3.Impor" - + "tProcessorVersionRequest\032\035.google.longru" - + "nning.Operation\"\265\001\312A@\n\036ImportProcessorVe" - + "rsionResponse\022\036ImportProcessorVersionMet" - + "adata\332A\006parent\202\323\344\223\002c\"^/v1beta3/{parent=p" - + "rojects/*/locations/*/processors/*}/proc" - + "essorVersions:importProcessorVersion:\001*\032" - + "M\312A\031documentai.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\303" - + "\003\n#com.google.cloud.documentai.v1beta3B\032" - + "DocumentAiProcessorServiceP\001ZCcloud.goog" - + "le.com/go/documentai/apiv1beta3/document" - + "aipb;documentaipb\252\002\037Google.Cloud.Documen" - + "tAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1" - + "beta3\352\002\"Google::Cloud::DocumentAI::V1bet" - + "a3\352A\177\n+documentai.googleapis.com/HumanRe" - + "viewConfig\022Pprojects/{project}/locations" - + "/{location}/processors/{processor}/human" - + "ReviewConfig\352AM\n\"documentai.googleapis.c" - + "om/Location\022\'projects/{project}/location" - + "s/{location}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentIoProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiDocumentSchema.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiEvaluation.getDescriptor(), - com.google.cloud.documentai.v1beta3.OperationMetadataProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiProcessor.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiProcessorType.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_descriptor, - new java.lang.String[] { - "IndividualPageSelector", - "FromStart", - "FromEnd", - "OcrConfig", - "SchemaOverride", - "PageRange", - }); - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_IndividualPageSelector_descriptor = - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_IndividualPageSelector_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessOptions_IndividualPageSelector_descriptor, - new java.lang.String[] { - "Pages", - }); - internal_static_google_cloud_documentai_v1beta3_ProcessRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_ProcessRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessRequest_descriptor, - new java.lang.String[] { - "InlineDocument", - "RawDocument", - "GcsDocument", - "Name", - "Document", - "SkipHumanReview", - "FieldMask", - "ProcessOptions", - "Source", - }); - internal_static_google_cloud_documentai_v1beta3_HumanReviewStatus_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_HumanReviewStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_HumanReviewStatus_descriptor, - new java.lang.String[] { - "State", "StateMessage", "HumanReviewOperation", - }); - internal_static_google_cloud_documentai_v1beta3_ProcessResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1beta3_ProcessResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessResponse_descriptor, - new java.lang.String[] { - "Document", "HumanReviewOperation", "HumanReviewStatus", - }); - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_descriptor, - new java.lang.String[] { - "Name", - "InputConfigs", - "OutputConfig", - "InputDocuments", - "DocumentOutputConfig", - "SkipHumanReview", - "ProcessOptions", - }); - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchInputConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchInputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchInputConfig_descriptor, - new java.lang.String[] { - "GcsSource", "MimeType", - }); - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchOutputConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchProcessRequest_BatchOutputConfig_descriptor, - new java.lang.String[] { - "GcsDestination", - }); - internal_static_google_cloud_documentai_v1beta3_BatchProcessResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_documentai_v1beta3_BatchProcessResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchProcessResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_descriptor, - new java.lang.String[] { - "State", "StateMessage", "CreateTime", "UpdateTime", "IndividualProcessStatuses", - }); - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_IndividualProcessStatus_descriptor = - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_IndividualProcessStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchProcessMetadata_IndividualProcessStatus_descriptor, - new java.lang.String[] { - "InputGcsSource", - "Status", - "OutputGcsDestination", - "HumanReviewOperation", - "HumanReviewStatus", - }); - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_FetchProcessorTypesResponse_descriptor, - new java.lang.String[] { - "ProcessorTypes", - }); - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListProcessorTypesResponse_descriptor, - new java.lang.String[] { - "ProcessorTypes", "NextPageToken", - }); - internal_static_google_cloud_documentai_v1beta3_ListProcessorsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_documentai_v1beta3_ListProcessorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListProcessorsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_documentai_v1beta3_ListProcessorsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_documentai_v1beta3_ListProcessorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListProcessorsResponse_descriptor, - new java.lang.String[] { - "Processors", "NextPageToken", - }); - internal_static_google_cloud_documentai_v1beta3_GetProcessorTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_documentai_v1beta3_GetProcessorTypeRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GetProcessorTypeRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_GetProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_documentai_v1beta3_GetProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GetProcessorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_GetProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_documentai_v1beta3_GetProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GetProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListProcessorVersionsResponse_descriptor, - new java.lang.String[] { - "ProcessorVersions", "NextPageToken", - }); - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DeployProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_UndeployProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_CreateProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_documentai_v1beta3_CreateProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_CreateProcessorRequest_descriptor, - new java.lang.String[] { - "Parent", "Processor", - }); - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorMetadata_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DeleteProcessorMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_EnableProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_documentai_v1beta3_EnableProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_EnableProcessorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_EnableProcessorResponse_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_documentai_v1beta3_EnableProcessorResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_EnableProcessorResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_EnableProcessorMetadata_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_documentai_v1beta3_EnableProcessorMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_EnableProcessorMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_DisableProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_documentai_v1beta3_DisableProcessorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DisableProcessorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_DisableProcessorResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_documentai_v1beta3_DisableProcessorResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DisableProcessorResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_DisableProcessorMetadata_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_documentai_v1beta3_DisableProcessorMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DisableProcessorMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionRequest_descriptor, - new java.lang.String[] { - "Processor", "DefaultProcessorVersion", - }); - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_SetDefaultProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_descriptor, - new java.lang.String[] { - "CustomDocumentExtractionOptions", - "Parent", - "ProcessorVersion", - "DocumentSchema", - "InputData", - "BaseProcessorVersion", - "ProcessorFlags", - }); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_InputData_descriptor = - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_InputData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_InputData_descriptor, - new java.lang.String[] { - "TrainingDocuments", "TestDocuments", - }); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_descriptor = - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionRequest_CustomDocumentExtractionOptions_descriptor, - new java.lang.String[] { - "TrainingMethod", - }); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionResponse_descriptor, - new java.lang.String[] { - "ProcessorVersion", - }); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", "TrainingDatasetValidation", "TestDatasetValidation", - }); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_DatasetValidation_descriptor = - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_DatasetValidation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_TrainProcessorVersionMetadata_DatasetValidation_descriptor, - new java.lang.String[] { - "DocumentErrorCount", "DatasetErrorCount", "DocumentErrors", "DatasetErrors", - }); - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentRequest_descriptor, - new java.lang.String[] { - "InlineDocument", - "HumanReviewConfig", - "Document", - "EnableSchemaValidation", - "Priority", - "DocumentSchema", - "Source", - }); - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentResponse_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentResponse_descriptor, - new java.lang.String[] { - "GcsDestination", "State", "RejectionReason", - }); - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ReviewDocumentOperationMetadata_descriptor, - new java.lang.String[] { - "State", "StateMessage", "CreateTime", "UpdateTime", "CommonMetadata", "QuestionId", - }); - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionRequest_descriptor, - new java.lang.String[] { - "ProcessorVersion", "EvaluationDocuments", - }); - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_EvaluateProcessorVersionResponse_descriptor, - new java.lang.String[] { - "Evaluation", - }); - internal_static_google_cloud_documentai_v1beta3_GetEvaluationRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_documentai_v1beta3_GetEvaluationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GetEvaluationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsResponse_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ListEvaluationsResponse_descriptor, - new java.lang.String[] { - "Evaluations", "NextPageToken", - }); - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_descriptor, - new java.lang.String[] { - "ProcessorVersionSource", "ExternalProcessorVersionSource", "Parent", "Source", - }); - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_ExternalProcessorVersionSource_descriptor = - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_ExternalProcessorVersionSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionRequest_ExternalProcessorVersionSource_descriptor, - new java.lang.String[] { - "ProcessorVersion", "ServiceEndpoint", - }); - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionResponse_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionResponse_descriptor, - new java.lang.String[] { - "ProcessorVersion", - }); - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionMetadata_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ImportProcessorVersionMetadata_descriptor, - new java.lang.String[] { - "CommonMetadata", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentIoProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiDocumentSchema.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiEvaluation.getDescriptor(); - com.google.cloud.documentai.v1beta3.OperationMetadataProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiProcessor.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiProcessorType.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java deleted file mode 100644 index 3357fd11760a..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/processor_type.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DocumentAiProcessorType { - private DocumentAiProcessorType() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessorType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessorType_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_ProcessorType_LocationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_ProcessorType_LocationInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/documentai/v1beta3/proces" - + "sor_type.proto\022\037google.cloud.documentai." - + "v1beta3\032\035google/api/launch_stage.proto\032\031" - + "google/api/resource.proto\"\230\003\n\rProcessorT" - + "ype\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022\020\n\010categ" - + "ory\030\003 \001(\t\022X\n\023available_locations\030\004 \003(\0132;" - + ".google.cloud.documentai.v1beta3.Process" - + "orType.LocationInfo\022\026\n\016allow_creation\030\006 " - + "\001(\010\022-\n\014launch_stage\030\010 \001(\0162\027.google.api.L" - + "aunchStage\022\034\n\024sample_document_uris\030\t \003(\t" - + "\032#\n\014LocationInfo\022\023\n\013location_id\030\001 \001(\t:u\352" - + "Ar\n\'documentai.googleapis.com/ProcessorT" - + "ype\022Gprojects/{project}/locations/{locat" - + "ion}/processorTypes/{processor_type}B\356\001\n" - + "#com.google.cloud.documentai.v1beta3B\027Do" - + "cumentAiProcessorTypeP\001ZCcloud.google.co" - + "m/go/documentai/apiv1beta3/documentaipb;" - + "documentaipb\252\002\037Google.Cloud.DocumentAI.V" - + "1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3" - + "\352\002\"Google::Cloud::DocumentAI::V1beta3b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.LaunchStageProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_ProcessorType_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_ProcessorType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessorType_descriptor, - new java.lang.String[] { - "Name", - "Type", - "Category", - "AvailableLocations", - "AllowCreation", - "LaunchStage", - "SampleDocumentUris", - }); - internal_static_google_cloud_documentai_v1beta3_ProcessorType_LocationInfo_descriptor = - internal_static_google_cloud_documentai_v1beta3_ProcessorType_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_ProcessorType_LocationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_ProcessorType_LocationInfo_descriptor, - new java.lang.String[] { - "LocationId", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.LaunchStageProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java deleted file mode 100644 index d021660e8979..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_io.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DocumentIoProto { - private DocumentIoProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_RawDocument_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_RawDocument_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GcsDocument_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GcsDocument_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GcsDocuments_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GcsDocuments_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_GcsPrefix_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_GcsPrefix_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BatchDocumentsInputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BatchDocumentsInputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_OcrConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_OcrConfig_PremiumFeatures_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_OcrConfig_PremiumFeatures_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/documentai/v1beta3/docume" - + "nt_io.proto\022\037google.cloud.documentai.v1b" - + "eta3\032 google/protobuf/field_mask.proto\"G" - + "\n\013RawDocument\022\017\n\007content\030\001 \001(\014\022\021\n\tmime_t" - + "ype\030\002 \001(\t\022\024\n\014display_name\030\003 \001(\t\"1\n\013GcsDo" - + "cument\022\017\n\007gcs_uri\030\001 \001(\t\022\021\n\tmime_type\030\002 \001" - + "(\t\"O\n\014GcsDocuments\022?\n\tdocuments\030\001 \003(\0132,." - + "google.cloud.documentai.v1beta3.GcsDocum" - + "ent\"#\n\tGcsPrefix\022\026\n\016gcs_uri_prefix\030\001 \001(\t" - + "\"\257\001\n\031BatchDocumentsInputConfig\022@\n\ngcs_pr" - + "efix\030\001 \001(\0132*.google.cloud.documentai.v1b" - + "eta3.GcsPrefixH\000\022F\n\rgcs_documents\030\002 \001(\0132" - + "-.google.cloud.documentai.v1beta3.GcsDoc" - + "umentsH\000B\010\n\006source\"\217\003\n\024DocumentOutputCon" - + "fig\022b\n\021gcs_output_config\030\001 \001(\0132E.google." - + "cloud.documentai.v1beta3.DocumentOutputC" - + "onfig.GcsOutputConfigH\000\032\203\002\n\017GcsOutputCon" - + "fig\022\017\n\007gcs_uri\030\001 \001(\t\022.\n\nfield_mask\030\002 \001(\013" - + "2\032.google.protobuf.FieldMask\022m\n\017sharding" - + "_config\030\003 \001(\0132T.google.cloud.documentai." - + "v1beta3.DocumentOutputConfig.GcsOutputCo" - + "nfig.ShardingConfig\032@\n\016ShardingConfig\022\027\n" - + "\017pages_per_shard\030\001 \001(\005\022\025\n\rpages_overlap\030" - + "\002 \001(\005B\r\n\013destination\"\374\003\n\tOcrConfig\022?\n\005hi" - + "nts\030\002 \001(\01320.google.cloud.documentai.v1be" - + "ta3.OcrConfig.Hints\022!\n\031enable_native_pdf" - + "_parsing\030\003 \001(\010\022#\n\033enable_image_quality_s" - + "cores\030\004 \001(\010\022\034\n\024advanced_ocr_options\030\005 \003(" - + "\t\022\025\n\renable_symbol\030\006 \001(\010\022\036\n\022compute_styl" - + "e_info\030\010 \001(\010B\002\030\001\022)\n!disable_character_bo" - + "xes_detection\030\n \001(\010\022T\n\020premium_features\030" - + "\013 \001(\0132:.google.cloud.documentai.v1beta3." - + "OcrConfig.PremiumFeatures\032\037\n\005Hints\022\026\n\016la" - + "nguage_hints\030\001 \003(\t\032o\n\017PremiumFeatures\022\'\n" - + "\037enable_selection_mark_detection\030\003 \001(\010\022\032" - + "\n\022compute_style_info\030\004 \001(\010\022\027\n\017enable_mat" - + "h_ocr\030\005 \001(\010B\346\001\n#com.google.cloud.documen" - + "tai.v1beta3B\017DocumentIoProtoP\001ZCcloud.go" - + "ogle.com/go/documentai/apiv1beta3/docume" - + "ntaipb;documentaipb\252\002\037Google.Cloud.Docum" - + "entAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\" - + "V1beta3\352\002\"Google::Cloud::DocumentAI::V1b" - + "eta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_RawDocument_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_RawDocument_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_RawDocument_descriptor, - new java.lang.String[] { - "Content", "MimeType", "DisplayName", - }); - internal_static_google_cloud_documentai_v1beta3_GcsDocument_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_GcsDocument_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GcsDocument_descriptor, - new java.lang.String[] { - "GcsUri", "MimeType", - }); - internal_static_google_cloud_documentai_v1beta3_GcsDocuments_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_GcsDocuments_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GcsDocuments_descriptor, - new java.lang.String[] { - "Documents", - }); - internal_static_google_cloud_documentai_v1beta3_GcsPrefix_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_documentai_v1beta3_GcsPrefix_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_GcsPrefix_descriptor, - new java.lang.String[] { - "GcsUriPrefix", - }); - internal_static_google_cloud_documentai_v1beta3_BatchDocumentsInputConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_documentai_v1beta3_BatchDocumentsInputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BatchDocumentsInputConfig_descriptor, - new java.lang.String[] { - "GcsPrefix", "GcsDocuments", "Source", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_descriptor, - new java.lang.String[] { - "GcsOutputConfig", "Destination", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_descriptor, - new java.lang.String[] { - "GcsUri", "FieldMask", "ShardingConfig", - }); - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor = - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_DocumentOutputConfig_GcsOutputConfig_ShardingConfig_descriptor, - new java.lang.String[] { - "PagesPerShard", "PagesOverlap", - }); - internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_documentai_v1beta3_OcrConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor, - new java.lang.String[] { - "Hints", - "EnableNativePdfParsing", - "EnableImageQualityScores", - "AdvancedOcrOptions", - "EnableSymbol", - "ComputeStyleInfo", - "DisableCharacterBoxesDetection", - "PremiumFeatures", - }); - internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor = - internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor, - new java.lang.String[] { - "LanguageHints", - }); - internal_static_google_cloud_documentai_v1beta3_OcrConfig_PremiumFeatures_descriptor = - internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_OcrConfig_PremiumFeatures_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_OcrConfig_PremiumFeatures_descriptor, - new java.lang.String[] { - "EnableSelectionMarkDetection", "ComputeStyleInfo", "EnableMathOcr", - }); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOutputConfigOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOutputConfigOrBuilder.java deleted file mode 100644 index 4e6c06eea47d..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOutputConfigOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_io.proto - -package com.google.cloud.documentai.v1beta3; - -public interface DocumentOutputConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.DocumentOutputConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output config to write the results to Cloud Storage.
-   * 
- * - * - * .google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1; - * - * - * @return Whether the gcsOutputConfig field is set. - */ - boolean hasGcsOutputConfig(); - /** - * - * - *
-   * Output config to write the results to Cloud Storage.
-   * 
- * - * - * .google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1; - * - * - * @return The gcsOutputConfig. - */ - com.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig getGcsOutputConfig(); - /** - * - * - *
-   * Output config to write the results to Cloud Storage.
-   * 
- * - * - * .google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig gcs_output_config = 1; - * - */ - com.google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfigOrBuilder - getGcsOutputConfigOrBuilder(); - - com.google.cloud.documentai.v1beta3.DocumentOutputConfig.DestinationCase getDestinationCase(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentPageRangeOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentPageRangeOrBuilder.java deleted file mode 100644 index af56344f31ca..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentPageRangeOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface DocumentPageRangeOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.DocumentPageRange) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * First page number (one-based index) to be returned.
-   * 
- * - * int32 start = 1; - * - * @return The start. - */ - int getStart(); - - /** - * - * - *
-   * Last page number (one-based index) to be returned.
-   * 
- * - * int32 end = 2; - * - * @return The end. - */ - int getEnd(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java deleted file mode 100644 index 3547304e10fa..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java +++ /dev/null @@ -1,917 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document.proto - -package com.google.cloud.documentai.v1beta3; - -public final class DocumentProto { - private DocumentProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_ShardInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_ShardInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Style_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Style_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Style_FontSize_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Style_FontSize_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Dimension_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Dimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Image_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Image_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Matrix_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Matrix_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Layout_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Layout_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Block_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Block_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Paragraph_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Paragraph_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Line_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Line_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_DetectedBreak_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_DetectedBreak_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_StyleInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_StyleInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Symbol_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Symbol_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_VisualElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_VisualElement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableRow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableCell_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableCell_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_FormField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_FormField_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedBarcode_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedBarcode_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedLanguage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedLanguage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_DetectedDefect_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_DetectedDefect_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Entity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Entity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Entity_NormalizedValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Entity_NormalizedValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_EntityRelation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_EntityRelation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_TextSegment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_TextSegment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_PageRef_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_PageRef_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_Parent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_Parent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Revision_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Revision_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_Revision_HumanReview_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_Revision_HumanReview_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Document_TextChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Document_TextChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_RevisionRef_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_RevisionRef_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/documentai/v1beta3/docume" - + "nt.proto\022\037google.cloud.documentai.v1beta" - + "3\032\037google/api/field_behavior.proto\032-goog" - + "le/cloud/documentai/v1beta3/barcode.prot" - + "o\032.google/cloud/documentai/v1beta3/geome" - + "try.proto\032\037google/protobuf/timestamp.pro" - + "to\032\027google/rpc/status.proto\032\027google/type" - + "/color.proto\032\026google/type/date.proto\032\032go" - + "ogle/type/datetime.proto\032\027google/type/mo" - + "ney.proto\032 google/type/postal_address.pr" - + "oto\"\234H\n\010Document\022\023\n\003uri\030\001 \001(\tB\004\342A\001\001H\000\022\027\n" - + "\007content\030\002 \001(\014B\004\342A\001\001H\000\022\021\n\tmime_type\030\003 \001(" - + "\t\022\022\n\004text\030\004 \001(\tB\004\342A\001\001\022H\n\013text_styles\030\005 \003" - + "(\0132/.google.cloud.documentai.v1beta3.Doc" - + "ument.StyleB\002\030\001\022=\n\005pages\030\006 \003(\0132..google." - + "cloud.documentai.v1beta3.Document.Page\022B" - + "\n\010entities\030\007 \003(\01320.google.cloud.document" - + "ai.v1beta3.Document.Entity\022R\n\020entity_rel" - + "ations\030\010 \003(\01328.google.cloud.documentai.v" - + "1beta3.Document.EntityRelation\022J\n\014text_c" - + "hanges\030\016 \003(\01324.google.cloud.documentai.v" - + "1beta3.Document.TextChange\022G\n\nshard_info" - + "\030\t \001(\01323.google.cloud.documentai.v1beta3" - + ".Document.ShardInfo\022!\n\005error\030\n \001(\0132\022.goo" - + "gle.rpc.Status\022E\n\trevisions\030\r \003(\01322.goog" - + "le.cloud.documentai.v1beta3.Document.Rev" - + "ision\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_offset\030\003 \001(" - + "\003\032\357\002\n\005Style\022I\n\013text_anchor\030\001 \001(\01324.googl" - + "e.cloud.documentai.v1beta3.Document.Text" - + "Anchor\022!\n\005color\030\002 \001(\0132\022.google.type.Colo" - + "r\022,\n\020background_color\030\003 \001(\0132\022.google.typ" - + "e.Color\022\023\n\013font_weight\030\004 \001(\t\022\022\n\ntext_sty" - + "le\030\005 \001(\t\022\027\n\017text_decoration\030\006 \001(\t\022K\n\tfon" - + "t_size\030\007 \001(\01328.google.cloud.documentai.v" - + "1beta3.Document.Style.FontSize\022\023\n\013font_f" - + "amily\030\010 \001(\t\032&\n\010FontSize\022\014\n\004size\030\001 \001(\002\022\014\n" - + "\004unit\030\002 \001(\t\032\320+\n\004Page\022\023\n\013page_number\030\001 \001(" - + "\005\022C\n\005image\030\r \001(\01324.google.cloud.document" - + "ai.v1beta3.Document.Page.Image\022I\n\ntransf" - + "orms\030\016 \003(\01325.google.cloud.documentai.v1b" - + "eta3.Document.Page.Matrix\022K\n\tdimension\030\002" - + " \001(\01328.google.cloud.documentai.v1beta3.D" - + "ocument.Page.Dimension\022E\n\006layout\030\003 \001(\01325" - + ".google.cloud.documentai.v1beta3.Documen" - + "t.Page.Layout\022[\n\022detected_languages\030\004 \003(" - + "\0132?.google.cloud.documentai.v1beta3.Docu" - + "ment.Page.DetectedLanguage\022D\n\006blocks\030\005 \003" - + "(\01324.google.cloud.documentai.v1beta3.Doc" - + "ument.Page.Block\022L\n\nparagraphs\030\006 \003(\01328.g" - + "oogle.cloud.documentai.v1beta3.Document." - + "Page.Paragraph\022B\n\005lines\030\007 \003(\01323.google.c" - + "loud.documentai.v1beta3.Document.Page.Li" - + "ne\022D\n\006tokens\030\010 \003(\01324.google.cloud.docume" - + "ntai.v1beta3.Document.Page.Token\022U\n\017visu" - + "al_elements\030\t \003(\0132<.google.cloud.documen" - + "tai.v1beta3.Document.Page.VisualElement\022" - + "D\n\006tables\030\n \003(\01324.google.cloud.documenta" - + "i.v1beta3.Document.Page.Table\022M\n\013form_fi" - + "elds\030\013 \003(\01328.google.cloud.documentai.v1b" - + "eta3.Document.Page.FormField\022F\n\007symbols\030" - + "\014 \003(\01325.google.cloud.documentai.v1beta3." - + "Document.Page.Symbol\022Y\n\021detected_barcode" - + "s\030\017 \003(\0132>.google.cloud.documentai.v1beta" - + "3.Document.Page.DetectedBarcode\022_\n\024image" - + "_quality_scores\030\021 \001(\0132A.google.cloud.doc" - + "umentai.v1beta3.Document.Page.ImageQuali" - + "tyScores\022L\n\nprovenance\030\020 \001(\01324.google.cl" - + "oud.documentai.v1beta3.Document.Provenan" - + "ceB\002\030\001\0328\n\tDimension\022\r\n\005width\030\001 \001(\002\022\016\n\006he" - + "ight\030\002 \001(\002\022\014\n\004unit\030\003 \001(\t\032J\n\005Image\022\017\n\007con" - + "tent\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\354\002\n\006Layout\022I\n\013text_anchor\030\001 \001(\01324" - + ".google.cloud.documentai.v1beta3.Documen" - + "t.TextAnchor\022\022\n\nconfidence\030\002 \001(\002\022D\n\rboun" - + "ding_poly\030\003 \001(\0132-.google.cloud.documenta" - + "i.v1beta3.BoundingPoly\022V\n\013orientation\030\004 " - + "\001(\0162A.google.cloud.documentai.v1beta3.Do" - + "cument.Page.Layout.Orientation\"e\n\013Orient" - + "ation\022\033\n\027ORIENTATION_UNSPECIFIED\020\000\022\013\n\007PA" - + "GE_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\371\001\n\005Block\022E\n\006layout\030\001 \001(\0132" - + "5.google.cloud.documentai.v1beta3.Docume" - + "nt.Page.Layout\022[\n\022detected_languages\030\002 \003" - + "(\0132?.google.cloud.documentai.v1beta3.Doc" - + "ument.Page.DetectedLanguage\022L\n\nprovenanc" - + "e\030\003 \001(\01324.google.cloud.documentai.v1beta" - + "3.Document.ProvenanceB\002\030\001\032\375\001\n\tParagraph\022" - + "E\n\006layout\030\001 \001(\01325.google.cloud.documenta" - + "i.v1beta3.Document.Page.Layout\022[\n\022detect" - + "ed_languages\030\002 \003(\0132?.google.cloud.docume" - + "ntai.v1beta3.Document.Page.DetectedLangu" - + "age\022L\n\nprovenance\030\003 \001(\01324.google.cloud.d" - + "ocumentai.v1beta3.Document.ProvenanceB\002\030" - + "\001\032\370\001\n\004Line\022E\n\006layout\030\001 \001(\01325.google.clou" - + "d.documentai.v1beta3.Document.Page.Layou" - + "t\022[\n\022detected_languages\030\002 \003(\0132?.google.c" - + "loud.documentai.v1beta3.Document.Page.De" - + "tectedLanguage\022L\n\nprovenance\030\003 \001(\01324.goo" - + "gle.cloud.documentai.v1beta3.Document.Pr" - + "ovenanceB\002\030\001\032\274\007\n\005Token\022E\n\006layout\030\001 \001(\01325" - + ".google.cloud.documentai.v1beta3.Documen" - + "t.Page.Layout\022Z\n\016detected_break\030\002 \001(\0132B." - + "google.cloud.documentai.v1beta3.Document" - + ".Page.Token.DetectedBreak\022[\n\022detected_la" - + "nguages\030\003 \003(\0132?.google.cloud.documentai." - + "v1beta3.Document.Page.DetectedLanguage\022L" - + "\n\nprovenance\030\004 \001(\01324.google.cloud.docume" - + "ntai.v1beta3.Document.ProvenanceB\002\030\001\022R\n\n" - + "style_info\030\005 \001(\0132>.google.cloud.document" - + "ai.v1beta3.Document.Page.Token.StyleInfo" - + "\032\253\001\n\rDetectedBreak\022U\n\004type\030\001 \001(\0162G.googl" - + "e.cloud.documentai.v1beta3.Document.Page" - + ".Token.DetectedBreak.Type\"C\n\004Type\022\024\n\020TYP" - + "E_UNSPECIFIED\020\000\022\t\n\005SPACE\020\001\022\016\n\nWIDE_SPACE" - + "\020\002\022\n\n\006HYPHEN\020\003\032\342\002\n\tStyleInfo\022\021\n\tfont_siz" - + "e\030\001 \001(\005\022\027\n\017pixel_font_size\030\002 \001(\001\022\026\n\016lett" - + "er_spacing\030\003 \001(\001\022\021\n\tfont_type\030\004 \001(\t\022\014\n\004b" - + "old\030\005 \001(\010\022\016\n\006italic\030\006 \001(\010\022\022\n\nunderlined\030" - + "\007 \001(\010\022\021\n\tstrikeout\030\010 \001(\010\022\021\n\tsubscript\030\t " - + "\001(\010\022\023\n\013superscript\030\n \001(\010\022\021\n\tsmallcaps\030\013 " - + "\001(\010\022\023\n\013font_weight\030\014 \001(\005\022\023\n\013handwritten\030" - + "\r \001(\010\022&\n\ntext_color\030\016 \001(\0132\022.google.type." - + "Color\022,\n\020background_color\030\017 \001(\0132\022.google" - + ".type.Color\032\254\001\n\006Symbol\022E\n\006layout\030\001 \001(\01325" - + ".google.cloud.documentai.v1beta3.Documen" - + "t.Page.Layout\022[\n\022detected_languages\030\002 \003(" - + "\0132?.google.cloud.documentai.v1beta3.Docu" - + "ment.Page.DetectedLanguage\032\301\001\n\rVisualEle" - + "ment\022E\n\006layout\030\001 \001(\01325.google.cloud.docu" - + "mentai.v1beta3.Document.Page.Layout\022\014\n\004t" - + "ype\030\002 \001(\t\022[\n\022detected_languages\030\003 \003(\0132?." - + "google.cloud.documentai.v1beta3.Document" - + ".Page.DetectedLanguage\032\320\005\n\005Table\022E\n\006layo" - + "ut\030\001 \001(\01325.google.cloud.documentai.v1bet" - + "a3.Document.Page.Layout\022R\n\013header_rows\030\002" - + " \003(\0132=.google.cloud.documentai.v1beta3.D" - + "ocument.Page.Table.TableRow\022P\n\tbody_rows" - + "\030\003 \003(\0132=.google.cloud.documentai.v1beta3" - + ".Document.Page.Table.TableRow\022[\n\022detecte" - + "d_languages\030\004 \003(\0132?.google.cloud.documen" - + "tai.v1beta3.Document.Page.DetectedLangua" - + "ge\022L\n\nprovenance\030\005 \001(\01324.google.cloud.do" - + "cumentai.v1beta3.Document.ProvenanceB\002\030\001" - + "\032Y\n\010TableRow\022M\n\005cells\030\001 \003(\0132>.google.clo" - + "ud.documentai.v1beta3.Document.Page.Tabl" - + "e.TableCell\032\323\001\n\tTableCell\022E\n\006layout\030\001 \001(" - + "\01325.google.cloud.documentai.v1beta3.Docu" - + "ment.Page.Layout\022\020\n\010row_span\030\002 \001(\005\022\020\n\010co" - + "l_span\030\003 \001(\005\022[\n\022detected_languages\030\004 \003(\013" - + "2?.google.cloud.documentai.v1beta3.Docum" - + "ent.Page.DetectedLanguage\032\377\003\n\tFormField\022" - + "I\n\nfield_name\030\001 \001(\01325.google.cloud.docum" - + "entai.v1beta3.Document.Page.Layout\022J\n\013fi" - + "eld_value\030\002 \001(\01325.google.cloud.documenta" - + "i.v1beta3.Document.Page.Layout\022`\n\027name_d" - + "etected_languages\030\003 \003(\0132?.google.cloud.d" - + "ocumentai.v1beta3.Document.Page.Detected" - + "Language\022a\n\030value_detected_languages\030\004 \003" - + "(\0132?.google.cloud.documentai.v1beta3.Doc" - + "ument.Page.DetectedLanguage\022\022\n\nvalue_typ" - + "e\030\005 \001(\t\022\032\n\022corrected_key_text\030\006 \001(\t\022\034\n\024c" - + "orrected_value_text\030\007 \001(\t\022H\n\nprovenance\030" - + "\010 \001(\01324.google.cloud.documentai.v1beta3." - + "Document.Provenance\032\223\001\n\017DetectedBarcode\022" - + "E\n\006layout\030\001 \001(\01325.google.cloud.documenta" - + "i.v1beta3.Document.Page.Layout\0229\n\007barcod" - + "e\030\002 \001(\0132(.google.cloud.documentai.v1beta" - + "3.Barcode\032=\n\020DetectedLanguage\022\025\n\rlanguag" - + "e_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\313\001\n\022Ima" - + "geQualityScores\022\025\n\rquality_score\030\001 \001(\002\022j" - + "\n\020detected_defects\030\002 \003(\0132P.google.cloud." - + "documentai.v1beta3.Document.Page.ImageQu" - + "alityScores.DetectedDefect\0322\n\016DetectedDe" - + "fect\022\014\n\004type\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\365" - + "\006\n\006Entity\022O\n\013text_anchor\030\001 \001(\01324.google." - + "cloud.documentai.v1beta3.Document.TextAn" - + "chorB\004\342A\001\001\022\022\n\004type\030\002 \001(\tB\004\342A\001\002\022\032\n\014mentio" - + "n_text\030\003 \001(\tB\004\342A\001\001\022\030\n\nmention_id\030\004 \001(\tB\004" - + "\342A\001\001\022\030\n\nconfidence\030\005 \001(\002B\004\342A\001\001\022O\n\013page_a" - + "nchor\030\006 \001(\01324.google.cloud.documentai.v1" - + "beta3.Document.PageAnchorB\004\342A\001\001\022\020\n\002id\030\007 " - + "\001(\tB\004\342A\001\001\022`\n\020normalized_value\030\t \001(\0132@.go" - + "ogle.cloud.documentai.v1beta3.Document.E" - + "ntity.NormalizedValueB\004\342A\001\001\022J\n\npropertie" - + "s\030\n \003(\01320.google.cloud.documentai.v1beta" - + "3.Document.EntityB\004\342A\001\001\022N\n\nprovenance\030\013 " - + "\001(\01324.google.cloud.documentai.v1beta3.Do" - + "cument.ProvenanceB\004\342A\001\001\022\026\n\010redacted\030\014 \001(" - + "\010B\004\342A\001\001\032\274\002\n\017NormalizedValue\022)\n\013money_val" - + "ue\030\002 \001(\0132\022.google.type.MoneyH\000\022\'\n\ndate_v" - + "alue\030\003 \001(\0132\021.google.type.DateH\000\022/\n\016datet" - + "ime_value\030\004 \001(\0132\025.google.type.DateTimeH\000" - + "\0223\n\raddress_value\030\005 \001(\0132\032.google.type.Po" - + "stalAddressH\000\022\027\n\rboolean_value\030\006 \001(\010H\000\022\027" - + "\n\rinteger_value\030\007 \001(\005H\000\022\025\n\013float_value\030\010" - + " \001(\002H\000\022\022\n\004text\030\001 \001(\tB\004\342A\001\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\255\001\n\nTextAnchor\022W\n\rtext_segments\030\001 \003(\0132" - + "@.google.cloud.documentai.v1beta3.Docume" - + "nt.TextAnchor.TextSegment\022\017\n\007content\030\002 \001" - + "(\t\0325\n\013TextSegment\022\023\n\013start_index\030\001 \001(\003\022\021" - + "\n\tend_index\030\002 \001(\003\032\354\003\n\nPageAnchor\022O\n\tpage" - + "_refs\030\001 \003(\0132<.google.cloud.documentai.v1" - + "beta3.Document.PageAnchor.PageRef\032\214\003\n\007Pa" - + "geRef\022\022\n\004page\030\001 \001(\003B\004\342A\001\002\022b\n\013layout_type" - + "\030\002 \001(\0162G.google.cloud.documentai.v1beta3" - + ".Document.PageAnchor.PageRef.LayoutTypeB" - + "\004\342A\001\001\022\031\n\tlayout_id\030\003 \001(\tB\006\030\001\342A\001\001\022J\n\rboun" - + "ding_poly\030\004 \001(\0132-.google.cloud.documenta" - + "i.v1beta3.BoundingPolyB\004\342A\001\001\022\030\n\nconfiden" - + "ce\030\005 \001(\002B\004\342A\001\001\"\207\001\n\nLayoutType\022\033\n\027LAYOUT_" - + "TYPE_UNSPECIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPARAGRA" - + "PH\020\002\022\010\n\004LINE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_ELEM" - + "ENT\020\005\022\t\n\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007\032\262\003\n\nPro" - + "venance\022\024\n\010revision\030\001 \001(\005B\002\030\001\022\016\n\002id\030\002 \001(" - + "\005B\002\030\001\022L\n\007parents\030\003 \003(\0132;.google.cloud.do" - + "cumentai.v1beta3.Document.Provenance.Par" - + "ent\022P\n\004type\030\004 \001(\0162B.google.cloud.documen" - + "tai.v1beta3.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\"\242\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\n\n\006UPDATE\020\007\022\013\n\007REPLACE\020\003" - + "\022\026\n\016EVAL_REQUESTED\020\004\032\002\010\001\022\025\n\rEVAL_APPROVE" - + "D\020\005\032\002\010\001\022\024\n\014EVAL_SKIPPED\020\006\032\002\010\001\032\252\002\n\010Revisi" - + "on\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\022\n\006parent\030\002 \003(\005B\002\030\001\022\022\n\npare" - + "nt_ids\030\007 \003(\t\022/\n\013create_time\030\003 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022T\n\014human_review\030\006 " - + "\001(\0132>.google.cloud.documentai.v1beta3.Do" - + "cument.Revision.HumanReview\0323\n\013HumanRevi" - + "ew\022\r\n\005state\030\001 \001(\t\022\025\n\rstate_message\030\002 \001(\t" - + "B\010\n\006source\032\273\001\n\nTextChange\022I\n\013text_anchor" - + "\030\001 \001(\01324.google.cloud.documentai.v1beta3" - + ".Document.TextAnchor\022\024\n\014changed_text\030\002 \001" - + "(\t\022L\n\nprovenance\030\003 \003(\01324.google.cloud.do" - + "cumentai.v1beta3.Document.ProvenanceB\002\030\001" - + "B\010\n\006source\"\233\002\n\013RevisionRef\022R\n\rrevision_c" - + "ase\030\001 \001(\01629.google.cloud.documentai.v1be" - + "ta3.RevisionRef.RevisionCaseH\000\022\025\n\013revisi" - + "on_id\030\002 \001(\tH\000\022\"\n\030latest_processor_versio" - + "n\030\003 \001(\tH\000\"s\n\014RevisionCase\022\035\n\031REVISION_CA" - + "SE_UNSPECIFIED\020\000\022\027\n\023LATEST_HUMAN_REVIEW\020" - + "\001\022\024\n\020LATEST_TIMESTAMP\020\002\022\025\n\021BASE_OCR_REVI" - + "SION\020\003B\010\n\006sourceB\344\001\n#com.google.cloud.do" - + "cumentai.v1beta3B\rDocumentProtoP\001ZCcloud" - + ".google.com/go/documentai/apiv1beta3/doc" - + "umentaipb;documentaipb\252\002\037Google.Cloud.Do" - + "cumentAI.V1Beta3\312\002\037Google\\Cloud\\Document" - + "AI\\V1beta3\352\002\"Google::Cloud::DocumentAI::" - + "V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.BarcodeProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.GeometryProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.ColorProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - com.google.type.DateTimeProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_Document_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_Document_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_descriptor, - new java.lang.String[] { - "Uri", - "Content", - "MimeType", - "Text", - "TextStyles", - "Pages", - "Entities", - "EntityRelations", - "TextChanges", - "ShardInfo", - "Error", - "Revisions", - "Source", - }); - internal_static_google_cloud_documentai_v1beta3_Document_ShardInfo_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_Document_ShardInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_ShardInfo_descriptor, - new java.lang.String[] { - "ShardIndex", "ShardCount", "TextOffset", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Style_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_Document_Style_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Style_descriptor, - new java.lang.String[] { - "TextAnchor", - "Color", - "BackgroundColor", - "FontWeight", - "TextStyle", - "TextDecoration", - "FontSize", - "FontFamily", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Style_FontSize_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Style_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_Style_FontSize_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Style_FontSize_descriptor, - new java.lang.String[] { - "Size", "Unit", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_Document_Page_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor, - new java.lang.String[] { - "PageNumber", - "Image", - "Transforms", - "Dimension", - "Layout", - "DetectedLanguages", - "Blocks", - "Paragraphs", - "Lines", - "Tokens", - "VisualElements", - "Tables", - "FormFields", - "Symbols", - "DetectedBarcodes", - "ImageQualityScores", - "Provenance", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Dimension_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Dimension_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Dimension_descriptor, - new java.lang.String[] { - "Width", "Height", "Unit", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Image_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Image_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Image_descriptor, - new java.lang.String[] { - "Content", "MimeType", "Width", "Height", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Matrix_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Matrix_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Matrix_descriptor, - new java.lang.String[] { - "Rows", "Cols", "Type", "Data", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Layout_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Layout_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Layout_descriptor, - new java.lang.String[] { - "TextAnchor", "Confidence", "BoundingPoly", "Orientation", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Block_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Block_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Block_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Paragraph_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Paragraph_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Paragraph_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Line_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(6); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Line_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Line_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(7); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_descriptor, - new java.lang.String[] { - "Layout", "DetectedBreak", "DetectedLanguages", "Provenance", "StyleInfo", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_DetectedBreak_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_DetectedBreak_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_DetectedBreak_descriptor, - new java.lang.String[] { - "Type", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_StyleInfo_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_StyleInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Token_StyleInfo_descriptor, - new java.lang.String[] { - "FontSize", - "PixelFontSize", - "LetterSpacing", - "FontType", - "Bold", - "Italic", - "Underlined", - "Strikeout", - "Subscript", - "Superscript", - "Smallcaps", - "FontWeight", - "Handwritten", - "TextColor", - "BackgroundColor", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Symbol_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(8); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Symbol_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Symbol_descriptor, - new java.lang.String[] { - "Layout", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_VisualElement_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(9); - internal_static_google_cloud_documentai_v1beta3_Document_Page_VisualElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_VisualElement_descriptor, - new java.lang.String[] { - "Layout", "Type", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(10); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_descriptor, - new java.lang.String[] { - "Layout", "HeaderRows", "BodyRows", "DetectedLanguages", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableRow_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableRow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableRow_descriptor, - new java.lang.String[] { - "Cells", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableCell_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableCell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_Table_TableCell_descriptor, - new java.lang.String[] { - "Layout", "RowSpan", "ColSpan", "DetectedLanguages", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_FormField_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(11); - internal_static_google_cloud_documentai_v1beta3_Document_Page_FormField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_FormField_descriptor, - new java.lang.String[] { - "FieldName", - "FieldValue", - "NameDetectedLanguages", - "ValueDetectedLanguages", - "ValueType", - "CorrectedKeyText", - "CorrectedValueText", - "Provenance", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedBarcode_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(12); - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedBarcode_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedBarcode_descriptor, - new java.lang.String[] { - "Layout", "Barcode", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedLanguage_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(13); - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedLanguage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_DetectedLanguage_descriptor, - new java.lang.String[] { - "LanguageCode", "Confidence", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_descriptor - .getNestedTypes() - .get(14); - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_descriptor, - new java.lang.String[] { - "QualityScore", "DetectedDefects", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_DetectedDefect_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_DetectedDefect_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Page_ImageQualityScores_DetectedDefect_descriptor, - new java.lang.String[] { - "Type", "Confidence", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Entity_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_documentai_v1beta3_Document_Entity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Entity_descriptor, - new java.lang.String[] { - "TextAnchor", - "Type", - "MentionText", - "MentionId", - "Confidence", - "PageAnchor", - "Id", - "NormalizedValue", - "Properties", - "Provenance", - "Redacted", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Entity_NormalizedValue_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Entity_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_Entity_NormalizedValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Entity_NormalizedValue_descriptor, - new java.lang.String[] { - "MoneyValue", - "DateValue", - "DatetimeValue", - "AddressValue", - "BooleanValue", - "IntegerValue", - "FloatValue", - "Text", - "StructuredValue", - }); - internal_static_google_cloud_documentai_v1beta3_Document_EntityRelation_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_documentai_v1beta3_Document_EntityRelation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_EntityRelation_descriptor, - new java.lang.String[] { - "SubjectId", "ObjectId", "Relation", - }); - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_descriptor, - new java.lang.String[] { - "TextSegments", "Content", - }); - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_TextSegment_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_TextSegment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_TextAnchor_TextSegment_descriptor, - new java.lang.String[] { - "StartIndex", "EndIndex", - }); - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_descriptor, - new java.lang.String[] { - "PageRefs", - }); - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_PageRef_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_PageRef_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_PageAnchor_PageRef_descriptor, - new java.lang.String[] { - "Page", "LayoutType", "LayoutId", "BoundingPoly", "Confidence", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_descriptor, - new java.lang.String[] { - "Revision", "Id", "Parents", "Type", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_Parent_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_Parent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Provenance_Parent_descriptor, - new java.lang.String[] { - "Revision", "Index", "Id", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Revision_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_documentai_v1beta3_Document_Revision_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Revision_descriptor, - new java.lang.String[] { - "Agent", - "Processor", - "Id", - "Parent", - "ParentIds", - "CreateTime", - "HumanReview", - "Source", - }); - internal_static_google_cloud_documentai_v1beta3_Document_Revision_HumanReview_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_Revision_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_documentai_v1beta3_Document_Revision_HumanReview_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_Revision_HumanReview_descriptor, - new java.lang.String[] { - "State", "StateMessage", - }); - internal_static_google_cloud_documentai_v1beta3_Document_TextChange_descriptor = - internal_static_google_cloud_documentai_v1beta3_Document_descriptor.getNestedTypes().get(9); - internal_static_google_cloud_documentai_v1beta3_Document_TextChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Document_TextChange_descriptor, - new java.lang.String[] { - "TextAnchor", "ChangedText", "Provenance", - }); - internal_static_google_cloud_documentai_v1beta3_RevisionRef_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_RevisionRef_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_RevisionRef_descriptor, - new java.lang.String[] { - "RevisionCase", "RevisionId", "LatestProcessorVersion", "Source", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.BarcodeProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.GeometryProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.ColorProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - com.google.type.DateTimeProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorRequestOrBuilder.java deleted file mode 100644 index d6570f1fcfe0..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface EnableProcessorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.EnableProcessorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name to be enabled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name to be enabled.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorResponseOrBuilder.java deleted file mode 100644 index a859221d44f7..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EnableProcessorResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface EnableProcessorResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.EnableProcessorResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EntityTypeMetadataOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EntityTypeMetadataOrBuilder.java deleted file mode 100644 index e66b535ee278..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EntityTypeMetadataOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_schema.proto - -package com.google.cloud.documentai.v1beta3; - -public interface EntityTypeMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.EntityTypeMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the entity type should be considered inactive.
-   * 
- * - * bool inactive = 5; - * - * @return The inactive. - */ - boolean getInactive(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionResponseOrBuilder.java deleted file mode 100644 index a458bd8dbd36..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/EvaluateProcessorVersionResponseOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface EvaluateProcessorVersionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.EvaluateProcessorVersionResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The resource name of the created evaluation.
-   * 
- * - * string evaluation = 2; - * - * @return The evaluation. - */ - java.lang.String getEvaluation(); - /** - * - * - *
-   * The resource name of the created evaluation.
-   * 
- * - * string evaluation = 2; - * - * @return The bytes for evaluation. - */ - com.google.protobuf.ByteString getEvaluationBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesRequestOrBuilder.java deleted file mode 100644 index 2da7d7ff5b13..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface FetchProcessorTypesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.FetchProcessorTypesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The location of processor types to list.
-   * Format: `projects/{project}/locations/{location}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The location of processor types to list.
-   * Format: `projects/{project}/locations/{location}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsPrefixOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsPrefixOrBuilder.java deleted file mode 100644 index 1209c09fb6fc..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GcsPrefixOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_io.proto - -package com.google.cloud.documentai.v1beta3; - -public interface GcsPrefixOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.GcsPrefix) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The URI prefix.
-   * 
- * - * string gcs_uri_prefix = 1; - * - * @return The gcsUriPrefix. - */ - java.lang.String getGcsUriPrefix(); - /** - * - * - *
-   * The URI prefix.
-   * 
- * - * string gcs_uri_prefix = 1; - * - * @return The bytes for gcsUriPrefix. - */ - com.google.protobuf.ByteString getGcsUriPrefixBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java deleted file mode 100644 index daa1f35ef464..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/geometry.proto - -package com.google.cloud.documentai.v1beta3; - -public final class GeometryProto { - private GeometryProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_Vertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_Vertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_NormalizedVertex_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_NormalizedVertex_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_BoundingPoly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_BoundingPoly_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/documentai/v1beta3/geomet" - + "ry.proto\022\037google.cloud.documentai.v1beta" - + "3\"\036\n\006Vertex\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\"(\n\020Nor" - + "malizedVertex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"\231\001\n\014" - + "BoundingPoly\0229\n\010vertices\030\001 \003(\0132\'.google." - + "cloud.documentai.v1beta3.Vertex\022N\n\023norma" - + "lized_vertices\030\002 \003(\01321.google.cloud.docu" - + "mentai.v1beta3.NormalizedVertexB\344\001\n#com." - + "google.cloud.documentai.v1beta3B\rGeometr" - + "yProtoP\001ZCcloud.google.com/go/documentai" - + "/apiv1beta3/documentaipb;documentaipb\252\002\037" - + "Google.Cloud.DocumentAI.V1Beta3\312\002\037Google" - + "\\Cloud\\DocumentAI\\V1beta3\352\002\"Google::Clou" - + "d::DocumentAI::V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_documentai_v1beta3_Vertex_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_Vertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_Vertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_documentai_v1beta3_NormalizedVertex_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_documentai_v1beta3_NormalizedVertex_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_NormalizedVertex_descriptor, - new java.lang.String[] { - "X", "Y", - }); - internal_static_google_cloud_documentai_v1beta3_BoundingPoly_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_documentai_v1beta3_BoundingPoly_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_BoundingPoly_descriptor, - new java.lang.String[] { - "Vertices", "NormalizedVertices", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDocumentResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDocumentResponseOrBuilder.java deleted file mode 100644 index f23d8ace0c06..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetDocumentResponseOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface GetDocumentResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.GetDocumentResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * .google.cloud.documentai.v1beta3.Document document = 1; - * - * @return Whether the document field is set. - */ - boolean hasDocument(); - /** - * .google.cloud.documentai.v1beta3.Document document = 1; - * - * @return The document. - */ - com.google.cloud.documentai.v1beta3.Document getDocument(); - /** .google.cloud.documentai.v1beta3.Document document = 1; */ - com.google.cloud.documentai.v1beta3.DocumentOrBuilder getDocumentOrBuilder(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetEvaluationRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetEvaluationRequestOrBuilder.java deleted file mode 100644 index cd4f2a3f848a..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetEvaluationRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface GetEvaluationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.GetEvaluationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the
-   * [Evaluation][google.cloud.documentai.v1beta3.Evaluation] to get.
-   * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the
-   * [Evaluation][google.cloud.documentai.v1beta3.Evaluation] to get.
-   * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}/evaluations/{evaluation}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorRequestOrBuilder.java deleted file mode 100644 index 56f1afbda9b6..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface GetProcessorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.GetProcessorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorTypeRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorTypeRequestOrBuilder.java deleted file mode 100644 index 957c85f323f9..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorTypeRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface GetProcessorTypeRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.GetProcessorTypeRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor type resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor type resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorVersionRequestOrBuilder.java deleted file mode 100644 index d57113abef2c..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GetProcessorVersionRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface GetProcessorVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.GetProcessorVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor resource name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsMetadataOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsMetadataOrBuilder.java deleted file mode 100644 index 7774f05d7468..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsMetadataOrBuilder.java +++ /dev/null @@ -1,210 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface ImportDocumentsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.ImportDocumentsMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The basic metadata of the long-running operation.
-   * 
- * - * .google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1; - * - * @return Whether the commonMetadata field is set. - */ - boolean hasCommonMetadata(); - /** - * - * - *
-   * The basic metadata of the long-running operation.
-   * 
- * - * .google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1; - * - * @return The commonMetadata. - */ - com.google.cloud.documentai.v1beta3.CommonOperationMetadata getCommonMetadata(); - /** - * - * - *
-   * The basic metadata of the long-running operation.
-   * 
- * - * .google.cloud.documentai.v1beta3.CommonOperationMetadata common_metadata = 1; - */ - com.google.cloud.documentai.v1beta3.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder(); - - /** - * - * - *
-   * The list of response details of each document.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2; - * - */ - java.util.List - getIndividualImportStatusesList(); - /** - * - * - *
-   * The list of response details of each document.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2; - * - */ - com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus - getIndividualImportStatuses(int index); - /** - * - * - *
-   * The list of response details of each document.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2; - * - */ - int getIndividualImportStatusesCount(); - /** - * - * - *
-   * The list of response details of each document.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2; - * - */ - java.util.List< - ? extends - com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata - .IndividualImportStatusOrBuilder> - getIndividualImportStatusesOrBuilderList(); - /** - * - * - *
-   * The list of response details of each document.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus individual_import_statuses = 2; - * - */ - com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatusOrBuilder - getIndividualImportStatusesOrBuilder(int index); - - /** - * - * - *
-   * Validation statuses of the batch documents import config.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4; - * - */ - java.util.List< - com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult> - getImportConfigValidationResultsList(); - /** - * - * - *
-   * Validation statuses of the batch documents import config.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4; - * - */ - com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult - getImportConfigValidationResults(int index); - /** - * - * - *
-   * Validation statuses of the batch documents import config.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4; - * - */ - int getImportConfigValidationResultsCount(); - /** - * - * - *
-   * Validation statuses of the batch documents import config.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4; - * - */ - java.util.List< - ? extends - com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata - .ImportConfigValidationResultOrBuilder> - getImportConfigValidationResultsOrBuilderList(); - /** - * - * - *
-   * Validation statuses of the batch documents import config.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult import_config_validation_results = 4; - * - */ - com.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResultOrBuilder - getImportConfigValidationResultsOrBuilder(int index); - - /** - * - * - *
-   * Total number of the documents that are qualified for importing.
-   * 
- * - * int32 total_document_count = 3; - * - * @return The totalDocumentCount. - */ - int getTotalDocumentCount(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsRequestOrBuilder.java deleted file mode 100644 index 70bfb36df756..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsRequestOrBuilder.java +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface ImportDocumentsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.ImportDocumentsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The dataset resource name.
-   * Format:
-   * projects/{project}/locations/{location}/processors/{processor}/dataset
-   * 
- * - * - * string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The dataset. - */ - java.lang.String getDataset(); - /** - * - * - *
-   * Required. The dataset resource name.
-   * Format:
-   * projects/{project}/locations/{location}/processors/{processor}/dataset
-   * 
- * - * - * string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for dataset. - */ - com.google.protobuf.ByteString getDatasetBytes(); - - /** - * - * - *
-   * Required. The Cloud Storage uri containing raw documents that must be
-   * imported.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List< - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig> - getBatchDocumentsImportConfigsList(); - /** - * - * - *
-   * Required. The Cloud Storage uri containing raw documents that must be
-   * imported.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig - getBatchDocumentsImportConfigs(int index); - /** - * - * - *
-   * Required. The Cloud Storage uri containing raw documents that must be
-   * imported.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getBatchDocumentsImportConfigsCount(); - /** - * - * - *
-   * Required. The Cloud Storage uri containing raw documents that must be
-   * imported.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List< - ? extends - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest - .BatchDocumentsImportConfigOrBuilder> - getBatchDocumentsImportConfigsOrBuilderList(); - /** - * - * - *
-   * Required. The Cloud Storage uri containing raw documents that must be
-   * imported.
-   * 
- * - * - * repeated .google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig batch_documents_import_configs = 4 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfigOrBuilder - getBatchDocumentsImportConfigsOrBuilder(int index); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsResponseOrBuilder.java deleted file mode 100644 index 7b3f4bd391b5..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/ImportDocumentsResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface ImportDocumentsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.ImportDocumentsResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/NormalizedVertexOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/NormalizedVertexOrBuilder.java deleted file mode 100644 index f0a6afdc7d83..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/NormalizedVertexOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/geometry.proto - -package com.google.cloud.documentai.v1beta3; - -public interface NormalizedVertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.NormalizedVertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * float x = 1; - * - * @return The x. - */ - float getX(); - - /** - * - * - *
-   * Y coordinate (starts from the top of the image).
-   * 
- * - * float y = 2; - * - * @return The y. - */ - float getY(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java deleted file mode 100644 index 5dc0826e71c3..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/operation_metadata.proto - -package com.google.cloud.documentai.v1beta3; - -public final class OperationMetadataProto { - private OperationMetadataProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_documentai_v1beta3_CommonOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_documentai_v1beta3_CommonOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/documentai/v1beta3/operat" - + "ion_metadata.proto\022\037google.cloud.documen" - + "tai.v1beta3\032\037google/protobuf/timestamp.p" - + "roto\"\332\002\n\027CommonOperationMetadata\022M\n\005stat" - + "e\030\001 \001(\0162>.google.cloud.documentai.v1beta" - + "3.CommonOperationMetadata.State\022\025\n\rstate" - + "_message\030\002 \001(\t\022\020\n\010resource\030\005 \001(\t\022/\n\013crea" - + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" - + ".Timestamp\"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\tSUCCE" - + "EDED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\005B\355\001\n#co" - + "m.google.cloud.documentai.v1beta3B\026Opera" - + "tionMetadataProtoP\001ZCcloud.google.com/go" - + "/documentai/apiv1beta3/documentaipb;docu" - + "mentaipb\252\002\037Google.Cloud.DocumentAI.V1Bet" - + "a3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"G" - + "oogle::Cloud::DocumentAI::V1beta3b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_CommonOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_documentai_v1beta3_CommonOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_documentai_v1beta3_CommonOperationMetadata_descriptor, - new java.lang.String[] { - "State", "StateMessage", "Resource", "CreateTime", "UpdateTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionResponseOrBuilder.java deleted file mode 100644 index d7eedf102764..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/SetDefaultProcessorVersionResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface SetDefaultProcessorVersionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.SetDefaultProcessorVersionResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionRequestOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionRequestOrBuilder.java deleted file mode 100644 index 36b37ba5b388..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface UndeployProcessorVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The processor version resource name to be undeployed.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The processor version resource name to be undeployed.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionResponseOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionResponseOrBuilder.java deleted file mode 100644 index 851a1a57b35f..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/UndeployProcessorVersionResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/document_processor_service.proto - -package com.google.cloud.documentai.v1beta3; - -public interface UndeployProcessorVersionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.UndeployProcessorVersionResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/VertexOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/VertexOrBuilder.java deleted file mode 100644 index 920e14c64df0..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/VertexOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/documentai/v1beta3/geometry.proto - -package com.google.cloud.documentai.v1beta3; - -public interface VertexOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1beta3.Vertex) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * X coordinate.
-   * 
- * - * int32 x = 1; - * - * @return The x. - */ - int getX(); - - /** - * - * - *
-   * Y coordinate (starts from the top of the image).
-   * 
- * - * int32 y = 2; - * - * @return The y. - */ - int getY(); -} diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClient.java diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java similarity index 99% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java index a2caa1284b3d..8986ed086a43 100644 --- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java +++ b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java @@ -33,6 +33,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.documentai.v1.stub.DocumentProcessorServiceStubSettings; diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/gapic_metadata.json b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/gapic_metadata.json similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/gapic_metadata.json rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/gapic_metadata.json diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/package-info.java diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStub.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStub.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStub.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStub.java diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceCallableFactory.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceCallableFactory.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceCallableFactory.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceCallableFactory.java diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceStub.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceStub.java similarity index 99% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceStub.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceStub.java index 434df720028a..3d13d5689ea2 100644 --- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceStub.java +++ b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/GrpcDocumentProcessorServiceStub.java @@ -92,6 +92,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceCallableFactory.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceCallableFactory.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceCallableFactory.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceCallableFactory.java diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java similarity index 99% rename from java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java index 4e26a06b5b71..47d7a7d2b497 100644 --- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java +++ b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/HttpJsonDocumentProcessorServiceStub.java @@ -35,6 +35,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/java-document-ai/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1/reflect-config.json b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1/reflect-config.json similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1/reflect-config.json rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1/reflect-config.json diff --git a/java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientHttpJsonTest.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientHttpJsonTest.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientHttpJsonTest.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientHttpJsonTest.java diff --git a/java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientTest.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientTest.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientTest.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientTest.java diff --git a/java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorService.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorService.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorService.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorService.java diff --git a/java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorServiceImpl.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorServiceImpl.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorServiceImpl.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockDocumentProcessorServiceImpl.java diff --git a/java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocations.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocations.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocations.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocations.java diff --git a/java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocationsImpl.java b/owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocationsImpl.java similarity index 100% rename from java-document-ai/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocationsImpl.java rename to owl-bot-staging/java-document-ai/v1/google-cloud-document-ai/src/test/java/com/google/cloud/documentai/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/java-document-ai/v1/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java b/owl-bot-staging/java-document-ai/v1/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java new file mode 100644 index 000000000000..b1cf6fcd8956 --- /dev/null +++ b/owl-bot-staging/java-document-ai/v1/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java @@ -0,0 +1,2207 @@ +package com.google.cloud.documentai.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service to call Document AI to process documents according to the
+ * processor's definition. Processors are built using state-of-the-art Google
+ * AI such as natural language, computer vision, and translation to extract
+ * structured information from unstructured or semi-structured documents.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/documentai/v1/document_processor_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DocumentProcessorServiceGrpc { + + private DocumentProcessorServiceGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.documentai.v1.DocumentProcessorService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getProcessDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ProcessDocument", + requestType = com.google.cloud.documentai.v1.ProcessRequest.class, + responseType = com.google.cloud.documentai.v1.ProcessResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getProcessDocumentMethod() { + io.grpc.MethodDescriptor getProcessDocumentMethod; + if ((getProcessDocumentMethod = DocumentProcessorServiceGrpc.getProcessDocumentMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getProcessDocumentMethod = DocumentProcessorServiceGrpc.getProcessDocumentMethod) == null) { + DocumentProcessorServiceGrpc.getProcessDocumentMethod = getProcessDocumentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ProcessDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ProcessRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ProcessResponse.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("ProcessDocument")) + .build(); + } + } + } + return getProcessDocumentMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchProcessDocumentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchProcessDocuments", + requestType = com.google.cloud.documentai.v1.BatchProcessRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchProcessDocumentsMethod() { + io.grpc.MethodDescriptor getBatchProcessDocumentsMethod; + if ((getBatchProcessDocumentsMethod = DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getBatchProcessDocumentsMethod = DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod) == null) { + DocumentProcessorServiceGrpc.getBatchProcessDocumentsMethod = getBatchProcessDocumentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchProcessDocuments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.BatchProcessRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("BatchProcessDocuments")) + .build(); + } + } + } + return getBatchProcessDocumentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchProcessorTypesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchProcessorTypes", + requestType = com.google.cloud.documentai.v1.FetchProcessorTypesRequest.class, + responseType = com.google.cloud.documentai.v1.FetchProcessorTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchProcessorTypesMethod() { + io.grpc.MethodDescriptor getFetchProcessorTypesMethod; + if ((getFetchProcessorTypesMethod = DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getFetchProcessorTypesMethod = DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod) == null) { + DocumentProcessorServiceGrpc.getFetchProcessorTypesMethod = getFetchProcessorTypesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchProcessorTypes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.FetchProcessorTypesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.FetchProcessorTypesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("FetchProcessorTypes")) + .build(); + } + } + } + return getFetchProcessorTypesMethod; + } + + private static volatile io.grpc.MethodDescriptor getListProcessorTypesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProcessorTypes", + requestType = com.google.cloud.documentai.v1.ListProcessorTypesRequest.class, + responseType = com.google.cloud.documentai.v1.ListProcessorTypesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListProcessorTypesMethod() { + io.grpc.MethodDescriptor getListProcessorTypesMethod; + if ((getListProcessorTypesMethod = DocumentProcessorServiceGrpc.getListProcessorTypesMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getListProcessorTypesMethod = DocumentProcessorServiceGrpc.getListProcessorTypesMethod) == null) { + DocumentProcessorServiceGrpc.getListProcessorTypesMethod = getListProcessorTypesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProcessorTypes")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ListProcessorTypesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ListProcessorTypesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("ListProcessorTypes")) + .build(); + } + } + } + return getListProcessorTypesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProcessorTypeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProcessorType", + requestType = com.google.cloud.documentai.v1.GetProcessorTypeRequest.class, + responseType = com.google.cloud.documentai.v1.ProcessorType.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProcessorTypeMethod() { + io.grpc.MethodDescriptor getGetProcessorTypeMethod; + if ((getGetProcessorTypeMethod = DocumentProcessorServiceGrpc.getGetProcessorTypeMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getGetProcessorTypeMethod = DocumentProcessorServiceGrpc.getGetProcessorTypeMethod) == null) { + DocumentProcessorServiceGrpc.getGetProcessorTypeMethod = getGetProcessorTypeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProcessorType")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.GetProcessorTypeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ProcessorType.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("GetProcessorType")) + .build(); + } + } + } + return getGetProcessorTypeMethod; + } + + private static volatile io.grpc.MethodDescriptor getListProcessorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProcessors", + requestType = com.google.cloud.documentai.v1.ListProcessorsRequest.class, + responseType = com.google.cloud.documentai.v1.ListProcessorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListProcessorsMethod() { + io.grpc.MethodDescriptor getListProcessorsMethod; + if ((getListProcessorsMethod = DocumentProcessorServiceGrpc.getListProcessorsMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getListProcessorsMethod = DocumentProcessorServiceGrpc.getListProcessorsMethod) == null) { + DocumentProcessorServiceGrpc.getListProcessorsMethod = getListProcessorsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProcessors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ListProcessorsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ListProcessorsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("ListProcessors")) + .build(); + } + } + } + return getListProcessorsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProcessorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProcessor", + requestType = com.google.cloud.documentai.v1.GetProcessorRequest.class, + responseType = com.google.cloud.documentai.v1.Processor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProcessorMethod() { + io.grpc.MethodDescriptor getGetProcessorMethod; + if ((getGetProcessorMethod = DocumentProcessorServiceGrpc.getGetProcessorMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getGetProcessorMethod = DocumentProcessorServiceGrpc.getGetProcessorMethod) == null) { + DocumentProcessorServiceGrpc.getGetProcessorMethod = getGetProcessorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProcessor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.GetProcessorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.Processor.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("GetProcessor")) + .build(); + } + } + } + return getGetProcessorMethod; + } + + private static volatile io.grpc.MethodDescriptor getTrainProcessorVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TrainProcessorVersion", + requestType = com.google.cloud.documentai.v1.TrainProcessorVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTrainProcessorVersionMethod() { + io.grpc.MethodDescriptor getTrainProcessorVersionMethod; + if ((getTrainProcessorVersionMethod = DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getTrainProcessorVersionMethod = DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod) == null) { + DocumentProcessorServiceGrpc.getTrainProcessorVersionMethod = getTrainProcessorVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TrainProcessorVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.TrainProcessorVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("TrainProcessorVersion")) + .build(); + } + } + } + return getTrainProcessorVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProcessorVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProcessorVersion", + requestType = com.google.cloud.documentai.v1.GetProcessorVersionRequest.class, + responseType = com.google.cloud.documentai.v1.ProcessorVersion.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProcessorVersionMethod() { + io.grpc.MethodDescriptor getGetProcessorVersionMethod; + if ((getGetProcessorVersionMethod = DocumentProcessorServiceGrpc.getGetProcessorVersionMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getGetProcessorVersionMethod = DocumentProcessorServiceGrpc.getGetProcessorVersionMethod) == null) { + DocumentProcessorServiceGrpc.getGetProcessorVersionMethod = getGetProcessorVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProcessorVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.GetProcessorVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ProcessorVersion.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("GetProcessorVersion")) + .build(); + } + } + } + return getGetProcessorVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListProcessorVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListProcessorVersions", + requestType = com.google.cloud.documentai.v1.ListProcessorVersionsRequest.class, + responseType = com.google.cloud.documentai.v1.ListProcessorVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListProcessorVersionsMethod() { + io.grpc.MethodDescriptor getListProcessorVersionsMethod; + if ((getListProcessorVersionsMethod = DocumentProcessorServiceGrpc.getListProcessorVersionsMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getListProcessorVersionsMethod = DocumentProcessorServiceGrpc.getListProcessorVersionsMethod) == null) { + DocumentProcessorServiceGrpc.getListProcessorVersionsMethod = getListProcessorVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListProcessorVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ListProcessorVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ListProcessorVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("ListProcessorVersions")) + .build(); + } + } + } + return getListProcessorVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteProcessorVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteProcessorVersion", + requestType = com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteProcessorVersionMethod() { + io.grpc.MethodDescriptor getDeleteProcessorVersionMethod; + if ((getDeleteProcessorVersionMethod = DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getDeleteProcessorVersionMethod = DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod) == null) { + DocumentProcessorServiceGrpc.getDeleteProcessorVersionMethod = getDeleteProcessorVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProcessorVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("DeleteProcessorVersion")) + .build(); + } + } + } + return getDeleteProcessorVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeployProcessorVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeployProcessorVersion", + requestType = com.google.cloud.documentai.v1.DeployProcessorVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeployProcessorVersionMethod() { + io.grpc.MethodDescriptor getDeployProcessorVersionMethod; + if ((getDeployProcessorVersionMethod = DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getDeployProcessorVersionMethod = DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod) == null) { + DocumentProcessorServiceGrpc.getDeployProcessorVersionMethod = getDeployProcessorVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeployProcessorVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.DeployProcessorVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("DeployProcessorVersion")) + .build(); + } + } + } + return getDeployProcessorVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getUndeployProcessorVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UndeployProcessorVersion", + requestType = com.google.cloud.documentai.v1.UndeployProcessorVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUndeployProcessorVersionMethod() { + io.grpc.MethodDescriptor getUndeployProcessorVersionMethod; + if ((getUndeployProcessorVersionMethod = DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getUndeployProcessorVersionMethod = DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod) == null) { + DocumentProcessorServiceGrpc.getUndeployProcessorVersionMethod = getUndeployProcessorVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeployProcessorVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.UndeployProcessorVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("UndeployProcessorVersion")) + .build(); + } + } + } + return getUndeployProcessorVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateProcessorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateProcessor", + requestType = com.google.cloud.documentai.v1.CreateProcessorRequest.class, + responseType = com.google.cloud.documentai.v1.Processor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateProcessorMethod() { + io.grpc.MethodDescriptor getCreateProcessorMethod; + if ((getCreateProcessorMethod = DocumentProcessorServiceGrpc.getCreateProcessorMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getCreateProcessorMethod = DocumentProcessorServiceGrpc.getCreateProcessorMethod) == null) { + DocumentProcessorServiceGrpc.getCreateProcessorMethod = getCreateProcessorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateProcessor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.CreateProcessorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.Processor.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("CreateProcessor")) + .build(); + } + } + } + return getCreateProcessorMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteProcessorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteProcessor", + requestType = com.google.cloud.documentai.v1.DeleteProcessorRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteProcessorMethod() { + io.grpc.MethodDescriptor getDeleteProcessorMethod; + if ((getDeleteProcessorMethod = DocumentProcessorServiceGrpc.getDeleteProcessorMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getDeleteProcessorMethod = DocumentProcessorServiceGrpc.getDeleteProcessorMethod) == null) { + DocumentProcessorServiceGrpc.getDeleteProcessorMethod = getDeleteProcessorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteProcessor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.DeleteProcessorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("DeleteProcessor")) + .build(); + } + } + } + return getDeleteProcessorMethod; + } + + private static volatile io.grpc.MethodDescriptor getEnableProcessorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "EnableProcessor", + requestType = com.google.cloud.documentai.v1.EnableProcessorRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getEnableProcessorMethod() { + io.grpc.MethodDescriptor getEnableProcessorMethod; + if ((getEnableProcessorMethod = DocumentProcessorServiceGrpc.getEnableProcessorMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getEnableProcessorMethod = DocumentProcessorServiceGrpc.getEnableProcessorMethod) == null) { + DocumentProcessorServiceGrpc.getEnableProcessorMethod = getEnableProcessorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EnableProcessor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.EnableProcessorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("EnableProcessor")) + .build(); + } + } + } + return getEnableProcessorMethod; + } + + private static volatile io.grpc.MethodDescriptor getDisableProcessorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DisableProcessor", + requestType = com.google.cloud.documentai.v1.DisableProcessorRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDisableProcessorMethod() { + io.grpc.MethodDescriptor getDisableProcessorMethod; + if ((getDisableProcessorMethod = DocumentProcessorServiceGrpc.getDisableProcessorMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getDisableProcessorMethod = DocumentProcessorServiceGrpc.getDisableProcessorMethod) == null) { + DocumentProcessorServiceGrpc.getDisableProcessorMethod = getDisableProcessorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DisableProcessor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.DisableProcessorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("DisableProcessor")) + .build(); + } + } + } + return getDisableProcessorMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetDefaultProcessorVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetDefaultProcessorVersion", + requestType = com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetDefaultProcessorVersionMethod() { + io.grpc.MethodDescriptor getSetDefaultProcessorVersionMethod; + if ((getSetDefaultProcessorVersionMethod = DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getSetDefaultProcessorVersionMethod = DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod) == null) { + DocumentProcessorServiceGrpc.getSetDefaultProcessorVersionMethod = getSetDefaultProcessorVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetDefaultProcessorVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("SetDefaultProcessorVersion")) + .build(); + } + } + } + return getSetDefaultProcessorVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getReviewDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReviewDocument", + requestType = com.google.cloud.documentai.v1.ReviewDocumentRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getReviewDocumentMethod() { + io.grpc.MethodDescriptor getReviewDocumentMethod; + if ((getReviewDocumentMethod = DocumentProcessorServiceGrpc.getReviewDocumentMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getReviewDocumentMethod = DocumentProcessorServiceGrpc.getReviewDocumentMethod) == null) { + DocumentProcessorServiceGrpc.getReviewDocumentMethod = getReviewDocumentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReviewDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ReviewDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("ReviewDocument")) + .build(); + } + } + } + return getReviewDocumentMethod; + } + + private static volatile io.grpc.MethodDescriptor getEvaluateProcessorVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "EvaluateProcessorVersion", + requestType = com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getEvaluateProcessorVersionMethod() { + io.grpc.MethodDescriptor getEvaluateProcessorVersionMethod; + if ((getEvaluateProcessorVersionMethod = DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getEvaluateProcessorVersionMethod = DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod) == null) { + DocumentProcessorServiceGrpc.getEvaluateProcessorVersionMethod = getEvaluateProcessorVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EvaluateProcessorVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("EvaluateProcessorVersion")) + .build(); + } + } + } + return getEvaluateProcessorVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetEvaluationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEvaluation", + requestType = com.google.cloud.documentai.v1.GetEvaluationRequest.class, + responseType = com.google.cloud.documentai.v1.Evaluation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetEvaluationMethod() { + io.grpc.MethodDescriptor getGetEvaluationMethod; + if ((getGetEvaluationMethod = DocumentProcessorServiceGrpc.getGetEvaluationMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getGetEvaluationMethod = DocumentProcessorServiceGrpc.getGetEvaluationMethod) == null) { + DocumentProcessorServiceGrpc.getGetEvaluationMethod = getGetEvaluationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEvaluation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.GetEvaluationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.Evaluation.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("GetEvaluation")) + .build(); + } + } + } + return getGetEvaluationMethod; + } + + private static volatile io.grpc.MethodDescriptor getListEvaluationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEvaluations", + requestType = com.google.cloud.documentai.v1.ListEvaluationsRequest.class, + responseType = com.google.cloud.documentai.v1.ListEvaluationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListEvaluationsMethod() { + io.grpc.MethodDescriptor getListEvaluationsMethod; + if ((getListEvaluationsMethod = DocumentProcessorServiceGrpc.getListEvaluationsMethod) == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + if ((getListEvaluationsMethod = DocumentProcessorServiceGrpc.getListEvaluationsMethod) == null) { + DocumentProcessorServiceGrpc.getListEvaluationsMethod = getListEvaluationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEvaluations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ListEvaluationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.documentai.v1.ListEvaluationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DocumentProcessorServiceMethodDescriptorSupplier("ListEvaluations")) + .build(); + } + } + } + return getListEvaluationsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DocumentProcessorServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DocumentProcessorServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentProcessorServiceStub(channel, callOptions); + } + }; + return DocumentProcessorServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DocumentProcessorServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DocumentProcessorServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentProcessorServiceBlockingStub(channel, callOptions); + } + }; + return DocumentProcessorServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DocumentProcessorServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DocumentProcessorServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentProcessorServiceFutureStub(channel, callOptions); + } + }; + return DocumentProcessorServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service to call Document AI to process documents according to the
+   * processor's definition. Processors are built using state-of-the-art Google
+   * AI such as natural language, computer vision, and translation to extract
+   * structured information from unstructured or semi-structured documents.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Processes a single document.
+     * 
+ */ + default void processDocument(com.google.cloud.documentai.v1.ProcessRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getProcessDocumentMethod(), responseObserver); + } + + /** + *
+     * LRO endpoint to batch process many documents. The output is written
+     * to Cloud Storage as JSON in the [Document] format.
+     * 
+ */ + default void batchProcessDocuments(com.google.cloud.documentai.v1.BatchProcessRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchProcessDocumentsMethod(), responseObserver); + } + + /** + *
+     * Fetches processor types. Note that we don't use
+     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+     * here, because it isn't paginated.
+     * 
+ */ + default void fetchProcessorTypes(com.google.cloud.documentai.v1.FetchProcessorTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchProcessorTypesMethod(), responseObserver); + } + + /** + *
+     * Lists the processor types that exist.
+     * 
+ */ + default void listProcessorTypes(com.google.cloud.documentai.v1.ListProcessorTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListProcessorTypesMethod(), responseObserver); + } + + /** + *
+     * Gets a processor type detail.
+     * 
+ */ + default void getProcessorType(com.google.cloud.documentai.v1.GetProcessorTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProcessorTypeMethod(), responseObserver); + } + + /** + *
+     * Lists all processors which belong to this project.
+     * 
+ */ + default void listProcessors(com.google.cloud.documentai.v1.ListProcessorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListProcessorsMethod(), responseObserver); + } + + /** + *
+     * Gets a processor detail.
+     * 
+ */ + default void getProcessor(com.google.cloud.documentai.v1.GetProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProcessorMethod(), responseObserver); + } + + /** + *
+     * Trains a new processor version.
+     * Operation metadata is returned as
+     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].
+     * 
+ */ + default void trainProcessorVersion(com.google.cloud.documentai.v1.TrainProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTrainProcessorVersionMethod(), responseObserver); + } + + /** + *
+     * Gets a processor version detail.
+     * 
+ */ + default void getProcessorVersion(com.google.cloud.documentai.v1.GetProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProcessorVersionMethod(), responseObserver); + } + + /** + *
+     * Lists all versions of a processor.
+     * 
+ */ + default void listProcessorVersions(com.google.cloud.documentai.v1.ListProcessorVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListProcessorVersionsMethod(), responseObserver); + } + + /** + *
+     * Deletes the processor version, all artifacts under the processor version
+     * will be deleted.
+     * 
+ */ + default void deleteProcessorVersion(com.google.cloud.documentai.v1.DeleteProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteProcessorVersionMethod(), responseObserver); + } + + /** + *
+     * Deploys the processor version.
+     * 
+ */ + default void deployProcessorVersion(com.google.cloud.documentai.v1.DeployProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeployProcessorVersionMethod(), responseObserver); + } + + /** + *
+     * Undeploys the processor version.
+     * 
+ */ + default void undeployProcessorVersion(com.google.cloud.documentai.v1.UndeployProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeployProcessorVersionMethod(), responseObserver); + } + + /** + *
+     * Creates a processor from the
+     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
+     * processor will be at `ENABLED` state by default after its creation.
+     * 
+ */ + default void createProcessor(com.google.cloud.documentai.v1.CreateProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateProcessorMethod(), responseObserver); + } + + /** + *
+     * Deletes the processor, unloads all deployed model artifacts if it was
+     * enabled and then deletes all artifacts associated with this processor.
+     * 
+ */ + default void deleteProcessor(com.google.cloud.documentai.v1.DeleteProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteProcessorMethod(), responseObserver); + } + + /** + *
+     * Enables a processor
+     * 
+ */ + default void enableProcessor(com.google.cloud.documentai.v1.EnableProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnableProcessorMethod(), responseObserver); + } + + /** + *
+     * Disables a processor
+     * 
+ */ + default void disableProcessor(com.google.cloud.documentai.v1.DisableProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDisableProcessorMethod(), responseObserver); + } + + /** + *
+     * Set the default (active) version of a
+     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
+     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+     * and
+     * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
+     * 
+ */ + default void setDefaultProcessorVersion(com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetDefaultProcessorVersionMethod(), responseObserver); + } + + /** + *
+     * Send a document for Human Review. The input document should be processed by
+     * the specified processor.
+     * 
+ */ + default void reviewDocument(com.google.cloud.documentai.v1.ReviewDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReviewDocumentMethod(), responseObserver); + } + + /** + *
+     * Evaluates a ProcessorVersion against annotated documents, producing an
+     * Evaluation.
+     * 
+ */ + default void evaluateProcessorVersion(com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEvaluateProcessorVersionMethod(), responseObserver); + } + + /** + *
+     * Retrieves a specific evaluation.
+     * 
+ */ + default void getEvaluation(com.google.cloud.documentai.v1.GetEvaluationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEvaluationMethod(), responseObserver); + } + + /** + *
+     * Retrieves a set of evaluations for a given processor version.
+     * 
+ */ + default void listEvaluations(com.google.cloud.documentai.v1.ListEvaluationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEvaluationsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DocumentProcessorService. + *
+   * Service to call Document AI to process documents according to the
+   * processor's definition. Processors are built using state-of-the-art Google
+   * AI such as natural language, computer vision, and translation to extract
+   * structured information from unstructured or semi-structured documents.
+   * 
+ */ + public static abstract class DocumentProcessorServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DocumentProcessorServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DocumentProcessorService. + *
+   * Service to call Document AI to process documents according to the
+   * processor's definition. Processors are built using state-of-the-art Google
+   * AI such as natural language, computer vision, and translation to extract
+   * structured information from unstructured or semi-structured documents.
+   * 
+ */ + public static final class DocumentProcessorServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private DocumentProcessorServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DocumentProcessorServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentProcessorServiceStub(channel, callOptions); + } + + /** + *
+     * Processes a single document.
+     * 
+ */ + public void processDocument(com.google.cloud.documentai.v1.ProcessRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProcessDocumentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * LRO endpoint to batch process many documents. The output is written
+     * to Cloud Storage as JSON in the [Document] format.
+     * 
+ */ + public void batchProcessDocuments(com.google.cloud.documentai.v1.BatchProcessRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches processor types. Note that we don't use
+     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+     * here, because it isn't paginated.
+     * 
+ */ + public void fetchProcessorTypes(com.google.cloud.documentai.v1.FetchProcessorTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchProcessorTypesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists the processor types that exist.
+     * 
+ */ + public void listProcessorTypes(com.google.cloud.documentai.v1.ListProcessorTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListProcessorTypesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a processor type detail.
+     * 
+ */ + public void getProcessorType(com.google.cloud.documentai.v1.GetProcessorTypeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProcessorTypeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all processors which belong to this project.
+     * 
+ */ + public void listProcessors(com.google.cloud.documentai.v1.ListProcessorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListProcessorsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a processor detail.
+     * 
+ */ + public void getProcessor(com.google.cloud.documentai.v1.GetProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProcessorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Trains a new processor version.
+     * Operation metadata is returned as
+     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].
+     * 
+ */ + public void trainProcessorVersion(com.google.cloud.documentai.v1.TrainProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTrainProcessorVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a processor version detail.
+     * 
+ */ + public void getProcessorVersion(com.google.cloud.documentai.v1.GetProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProcessorVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all versions of a processor.
+     * 
+ */ + public void listProcessorVersions(com.google.cloud.documentai.v1.ListProcessorVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListProcessorVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the processor version, all artifacts under the processor version
+     * will be deleted.
+     * 
+ */ + public void deleteProcessorVersion(com.google.cloud.documentai.v1.DeleteProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteProcessorVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deploys the processor version.
+     * 
+ */ + public void deployProcessorVersion(com.google.cloud.documentai.v1.DeployProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeployProcessorVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Undeploys the processor version.
+     * 
+ */ + public void undeployProcessorVersion(com.google.cloud.documentai.v1.UndeployProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUndeployProcessorVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a processor from the
+     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
+     * processor will be at `ENABLED` state by default after its creation.
+     * 
+ */ + public void createProcessor(com.google.cloud.documentai.v1.CreateProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateProcessorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the processor, unloads all deployed model artifacts if it was
+     * enabled and then deletes all artifacts associated with this processor.
+     * 
+ */ + public void deleteProcessor(com.google.cloud.documentai.v1.DeleteProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteProcessorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Enables a processor
+     * 
+ */ + public void enableProcessor(com.google.cloud.documentai.v1.EnableProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getEnableProcessorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Disables a processor
+     * 
+ */ + public void disableProcessor(com.google.cloud.documentai.v1.DisableProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDisableProcessorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Set the default (active) version of a
+     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
+     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+     * and
+     * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
+     * 
+ */ + public void setDefaultProcessorVersion(com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetDefaultProcessorVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Send a document for Human Review. The input document should be processed by
+     * the specified processor.
+     * 
+ */ + public void reviewDocument(com.google.cloud.documentai.v1.ReviewDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReviewDocumentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Evaluates a ProcessorVersion against annotated documents, producing an
+     * Evaluation.
+     * 
+ */ + public void evaluateProcessorVersion(com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getEvaluateProcessorVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves a specific evaluation.
+     * 
+ */ + public void getEvaluation(com.google.cloud.documentai.v1.GetEvaluationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEvaluationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves a set of evaluations for a given processor version.
+     * 
+ */ + public void listEvaluations(com.google.cloud.documentai.v1.ListEvaluationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEvaluationsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DocumentProcessorService. + *
+   * Service to call Document AI to process documents according to the
+   * processor's definition. Processors are built using state-of-the-art Google
+   * AI such as natural language, computer vision, and translation to extract
+   * structured information from unstructured or semi-structured documents.
+   * 
+ */ + public static final class DocumentProcessorServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DocumentProcessorServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DocumentProcessorServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentProcessorServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Processes a single document.
+     * 
+ */ + public com.google.cloud.documentai.v1.ProcessResponse processDocument(com.google.cloud.documentai.v1.ProcessRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProcessDocumentMethod(), getCallOptions(), request); + } + + /** + *
+     * LRO endpoint to batch process many documents. The output is written
+     * to Cloud Storage as JSON in the [Document] format.
+     * 
+ */ + public com.google.longrunning.Operation batchProcessDocuments(com.google.cloud.documentai.v1.BatchProcessRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchProcessDocumentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches processor types. Note that we don't use
+     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+     * here, because it isn't paginated.
+     * 
+ */ + public com.google.cloud.documentai.v1.FetchProcessorTypesResponse fetchProcessorTypes(com.google.cloud.documentai.v1.FetchProcessorTypesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchProcessorTypesMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists the processor types that exist.
+     * 
+ */ + public com.google.cloud.documentai.v1.ListProcessorTypesResponse listProcessorTypes(com.google.cloud.documentai.v1.ListProcessorTypesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListProcessorTypesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a processor type detail.
+     * 
+ */ + public com.google.cloud.documentai.v1.ProcessorType getProcessorType(com.google.cloud.documentai.v1.GetProcessorTypeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProcessorTypeMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all processors which belong to this project.
+     * 
+ */ + public com.google.cloud.documentai.v1.ListProcessorsResponse listProcessors(com.google.cloud.documentai.v1.ListProcessorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListProcessorsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a processor detail.
+     * 
+ */ + public com.google.cloud.documentai.v1.Processor getProcessor(com.google.cloud.documentai.v1.GetProcessorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProcessorMethod(), getCallOptions(), request); + } + + /** + *
+     * Trains a new processor version.
+     * Operation metadata is returned as
+     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].
+     * 
+ */ + public com.google.longrunning.Operation trainProcessorVersion(com.google.cloud.documentai.v1.TrainProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTrainProcessorVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a processor version detail.
+     * 
+ */ + public com.google.cloud.documentai.v1.ProcessorVersion getProcessorVersion(com.google.cloud.documentai.v1.GetProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProcessorVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all versions of a processor.
+     * 
+ */ + public com.google.cloud.documentai.v1.ListProcessorVersionsResponse listProcessorVersions(com.google.cloud.documentai.v1.ListProcessorVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListProcessorVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the processor version, all artifacts under the processor version
+     * will be deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteProcessorVersion(com.google.cloud.documentai.v1.DeleteProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteProcessorVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deploys the processor version.
+     * 
+ */ + public com.google.longrunning.Operation deployProcessorVersion(com.google.cloud.documentai.v1.DeployProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeployProcessorVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Undeploys the processor version.
+     * 
+ */ + public com.google.longrunning.Operation undeployProcessorVersion(com.google.cloud.documentai.v1.UndeployProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUndeployProcessorVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a processor from the
+     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
+     * processor will be at `ENABLED` state by default after its creation.
+     * 
+ */ + public com.google.cloud.documentai.v1.Processor createProcessor(com.google.cloud.documentai.v1.CreateProcessorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateProcessorMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the processor, unloads all deployed model artifacts if it was
+     * enabled and then deletes all artifacts associated with this processor.
+     * 
+ */ + public com.google.longrunning.Operation deleteProcessor(com.google.cloud.documentai.v1.DeleteProcessorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteProcessorMethod(), getCallOptions(), request); + } + + /** + *
+     * Enables a processor
+     * 
+ */ + public com.google.longrunning.Operation enableProcessor(com.google.cloud.documentai.v1.EnableProcessorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getEnableProcessorMethod(), getCallOptions(), request); + } + + /** + *
+     * Disables a processor
+     * 
+ */ + public com.google.longrunning.Operation disableProcessor(com.google.cloud.documentai.v1.DisableProcessorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDisableProcessorMethod(), getCallOptions(), request); + } + + /** + *
+     * Set the default (active) version of a
+     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
+     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+     * and
+     * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
+     * 
+ */ + public com.google.longrunning.Operation setDefaultProcessorVersion(com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetDefaultProcessorVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Send a document for Human Review. The input document should be processed by
+     * the specified processor.
+     * 
+ */ + public com.google.longrunning.Operation reviewDocument(com.google.cloud.documentai.v1.ReviewDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReviewDocumentMethod(), getCallOptions(), request); + } + + /** + *
+     * Evaluates a ProcessorVersion against annotated documents, producing an
+     * Evaluation.
+     * 
+ */ + public com.google.longrunning.Operation evaluateProcessorVersion(com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getEvaluateProcessorVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves a specific evaluation.
+     * 
+ */ + public com.google.cloud.documentai.v1.Evaluation getEvaluation(com.google.cloud.documentai.v1.GetEvaluationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEvaluationMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves a set of evaluations for a given processor version.
+     * 
+ */ + public com.google.cloud.documentai.v1.ListEvaluationsResponse listEvaluations(com.google.cloud.documentai.v1.ListEvaluationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEvaluationsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DocumentProcessorService. + *
+   * Service to call Document AI to process documents according to the
+   * processor's definition. Processors are built using state-of-the-art Google
+   * AI such as natural language, computer vision, and translation to extract
+   * structured information from unstructured or semi-structured documents.
+   * 
+ */ + public static final class DocumentProcessorServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DocumentProcessorServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DocumentProcessorServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DocumentProcessorServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Processes a single document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture processDocument( + com.google.cloud.documentai.v1.ProcessRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProcessDocumentMethod(), getCallOptions()), request); + } + + /** + *
+     * LRO endpoint to batch process many documents. The output is written
+     * to Cloud Storage as JSON in the [Document] format.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchProcessDocuments( + com.google.cloud.documentai.v1.BatchProcessRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchProcessDocumentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches processor types. Note that we don't use
+     * [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes]
+     * here, because it isn't paginated.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchProcessorTypes( + com.google.cloud.documentai.v1.FetchProcessorTypesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchProcessorTypesMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists the processor types that exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listProcessorTypes( + com.google.cloud.documentai.v1.ListProcessorTypesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListProcessorTypesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a processor type detail.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProcessorType( + com.google.cloud.documentai.v1.GetProcessorTypeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProcessorTypeMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all processors which belong to this project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listProcessors( + com.google.cloud.documentai.v1.ListProcessorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListProcessorsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a processor detail.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProcessor( + com.google.cloud.documentai.v1.GetProcessorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProcessorMethod(), getCallOptions()), request); + } + + /** + *
+     * Trains a new processor version.
+     * Operation metadata is returned as
+     * [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture trainProcessorVersion( + com.google.cloud.documentai.v1.TrainProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTrainProcessorVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a processor version detail.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProcessorVersion( + com.google.cloud.documentai.v1.GetProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProcessorVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all versions of a processor.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listProcessorVersions( + com.google.cloud.documentai.v1.ListProcessorVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListProcessorVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the processor version, all artifacts under the processor version
+     * will be deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteProcessorVersion( + com.google.cloud.documentai.v1.DeleteProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteProcessorVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deploys the processor version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deployProcessorVersion( + com.google.cloud.documentai.v1.DeployProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeployProcessorVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Undeploys the processor version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture undeployProcessorVersion( + com.google.cloud.documentai.v1.UndeployProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUndeployProcessorVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a processor from the
+     * [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The
+     * processor will be at `ENABLED` state by default after its creation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createProcessor( + com.google.cloud.documentai.v1.CreateProcessorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateProcessorMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the processor, unloads all deployed model artifacts if it was
+     * enabled and then deletes all artifacts associated with this processor.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteProcessor( + com.google.cloud.documentai.v1.DeleteProcessorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteProcessorMethod(), getCallOptions()), request); + } + + /** + *
+     * Enables a processor
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture enableProcessor( + com.google.cloud.documentai.v1.EnableProcessorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getEnableProcessorMethod(), getCallOptions()), request); + } + + /** + *
+     * Disables a processor
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture disableProcessor( + com.google.cloud.documentai.v1.DisableProcessorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDisableProcessorMethod(), getCallOptions()), request); + } + + /** + *
+     * Set the default (active) version of a
+     * [Processor][google.cloud.documentai.v1.Processor] that will be used in
+     * [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument]
+     * and
+     * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setDefaultProcessorVersion( + com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetDefaultProcessorVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Send a document for Human Review. The input document should be processed by
+     * the specified processor.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture reviewDocument( + com.google.cloud.documentai.v1.ReviewDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReviewDocumentMethod(), getCallOptions()), request); + } + + /** + *
+     * Evaluates a ProcessorVersion against annotated documents, producing an
+     * Evaluation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture evaluateProcessorVersion( + com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getEvaluateProcessorVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves a specific evaluation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getEvaluation( + com.google.cloud.documentai.v1.GetEvaluationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEvaluationMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves a set of evaluations for a given processor version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listEvaluations( + com.google.cloud.documentai.v1.ListEvaluationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEvaluationsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_PROCESS_DOCUMENT = 0; + private static final int METHODID_BATCH_PROCESS_DOCUMENTS = 1; + private static final int METHODID_FETCH_PROCESSOR_TYPES = 2; + private static final int METHODID_LIST_PROCESSOR_TYPES = 3; + private static final int METHODID_GET_PROCESSOR_TYPE = 4; + private static final int METHODID_LIST_PROCESSORS = 5; + private static final int METHODID_GET_PROCESSOR = 6; + private static final int METHODID_TRAIN_PROCESSOR_VERSION = 7; + private static final int METHODID_GET_PROCESSOR_VERSION = 8; + private static final int METHODID_LIST_PROCESSOR_VERSIONS = 9; + private static final int METHODID_DELETE_PROCESSOR_VERSION = 10; + private static final int METHODID_DEPLOY_PROCESSOR_VERSION = 11; + private static final int METHODID_UNDEPLOY_PROCESSOR_VERSION = 12; + private static final int METHODID_CREATE_PROCESSOR = 13; + private static final int METHODID_DELETE_PROCESSOR = 14; + private static final int METHODID_ENABLE_PROCESSOR = 15; + private static final int METHODID_DISABLE_PROCESSOR = 16; + private static final int METHODID_SET_DEFAULT_PROCESSOR_VERSION = 17; + private static final int METHODID_REVIEW_DOCUMENT = 18; + private static final int METHODID_EVALUATE_PROCESSOR_VERSION = 19; + private static final int METHODID_GET_EVALUATION = 20; + private static final int METHODID_LIST_EVALUATIONS = 21; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_PROCESS_DOCUMENT: + serviceImpl.processDocument((com.google.cloud.documentai.v1.ProcessRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_PROCESS_DOCUMENTS: + serviceImpl.batchProcessDocuments((com.google.cloud.documentai.v1.BatchProcessRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_PROCESSOR_TYPES: + serviceImpl.fetchProcessorTypes((com.google.cloud.documentai.v1.FetchProcessorTypesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PROCESSOR_TYPES: + serviceImpl.listProcessorTypes((com.google.cloud.documentai.v1.ListProcessorTypesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROCESSOR_TYPE: + serviceImpl.getProcessorType((com.google.cloud.documentai.v1.GetProcessorTypeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PROCESSORS: + serviceImpl.listProcessors((com.google.cloud.documentai.v1.ListProcessorsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROCESSOR: + serviceImpl.getProcessor((com.google.cloud.documentai.v1.GetProcessorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TRAIN_PROCESSOR_VERSION: + serviceImpl.trainProcessorVersion((com.google.cloud.documentai.v1.TrainProcessorVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROCESSOR_VERSION: + serviceImpl.getProcessorVersion((com.google.cloud.documentai.v1.GetProcessorVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PROCESSOR_VERSIONS: + serviceImpl.listProcessorVersions((com.google.cloud.documentai.v1.ListProcessorVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PROCESSOR_VERSION: + serviceImpl.deleteProcessorVersion((com.google.cloud.documentai.v1.DeleteProcessorVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DEPLOY_PROCESSOR_VERSION: + serviceImpl.deployProcessorVersion((com.google.cloud.documentai.v1.DeployProcessorVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNDEPLOY_PROCESSOR_VERSION: + serviceImpl.undeployProcessorVersion((com.google.cloud.documentai.v1.UndeployProcessorVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_PROCESSOR: + serviceImpl.createProcessor((com.google.cloud.documentai.v1.CreateProcessorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PROCESSOR: + serviceImpl.deleteProcessor((com.google.cloud.documentai.v1.DeleteProcessorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ENABLE_PROCESSOR: + serviceImpl.enableProcessor((com.google.cloud.documentai.v1.EnableProcessorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DISABLE_PROCESSOR: + serviceImpl.disableProcessor((com.google.cloud.documentai.v1.DisableProcessorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_DEFAULT_PROCESSOR_VERSION: + serviceImpl.setDefaultProcessorVersion((com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REVIEW_DOCUMENT: + serviceImpl.reviewDocument((com.google.cloud.documentai.v1.ReviewDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EVALUATE_PROCESSOR_VERSION: + serviceImpl.evaluateProcessorVersion((com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_EVALUATION: + serviceImpl.getEvaluation((com.google.cloud.documentai.v1.GetEvaluationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_EVALUATIONS: + serviceImpl.listEvaluations((com.google.cloud.documentai.v1.ListEvaluationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getProcessDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.ProcessRequest, + com.google.cloud.documentai.v1.ProcessResponse>( + service, METHODID_PROCESS_DOCUMENT))) + .addMethod( + getBatchProcessDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.BatchProcessRequest, + com.google.longrunning.Operation>( + service, METHODID_BATCH_PROCESS_DOCUMENTS))) + .addMethod( + getFetchProcessorTypesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.FetchProcessorTypesRequest, + com.google.cloud.documentai.v1.FetchProcessorTypesResponse>( + service, METHODID_FETCH_PROCESSOR_TYPES))) + .addMethod( + getListProcessorTypesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.ListProcessorTypesRequest, + com.google.cloud.documentai.v1.ListProcessorTypesResponse>( + service, METHODID_LIST_PROCESSOR_TYPES))) + .addMethod( + getGetProcessorTypeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.GetProcessorTypeRequest, + com.google.cloud.documentai.v1.ProcessorType>( + service, METHODID_GET_PROCESSOR_TYPE))) + .addMethod( + getListProcessorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.ListProcessorsRequest, + com.google.cloud.documentai.v1.ListProcessorsResponse>( + service, METHODID_LIST_PROCESSORS))) + .addMethod( + getGetProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.GetProcessorRequest, + com.google.cloud.documentai.v1.Processor>( + service, METHODID_GET_PROCESSOR))) + .addMethod( + getTrainProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.TrainProcessorVersionRequest, + com.google.longrunning.Operation>( + service, METHODID_TRAIN_PROCESSOR_VERSION))) + .addMethod( + getGetProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.GetProcessorVersionRequest, + com.google.cloud.documentai.v1.ProcessorVersion>( + service, METHODID_GET_PROCESSOR_VERSION))) + .addMethod( + getListProcessorVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.ListProcessorVersionsRequest, + com.google.cloud.documentai.v1.ListProcessorVersionsResponse>( + service, METHODID_LIST_PROCESSOR_VERSIONS))) + .addMethod( + getDeleteProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.DeleteProcessorVersionRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_PROCESSOR_VERSION))) + .addMethod( + getDeployProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.DeployProcessorVersionRequest, + com.google.longrunning.Operation>( + service, METHODID_DEPLOY_PROCESSOR_VERSION))) + .addMethod( + getUndeployProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.UndeployProcessorVersionRequest, + com.google.longrunning.Operation>( + service, METHODID_UNDEPLOY_PROCESSOR_VERSION))) + .addMethod( + getCreateProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.CreateProcessorRequest, + com.google.cloud.documentai.v1.Processor>( + service, METHODID_CREATE_PROCESSOR))) + .addMethod( + getDeleteProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.DeleteProcessorRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_PROCESSOR))) + .addMethod( + getEnableProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.EnableProcessorRequest, + com.google.longrunning.Operation>( + service, METHODID_ENABLE_PROCESSOR))) + .addMethod( + getDisableProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.DisableProcessorRequest, + com.google.longrunning.Operation>( + service, METHODID_DISABLE_PROCESSOR))) + .addMethod( + getSetDefaultProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest, + com.google.longrunning.Operation>( + service, METHODID_SET_DEFAULT_PROCESSOR_VERSION))) + .addMethod( + getReviewDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.ReviewDocumentRequest, + com.google.longrunning.Operation>( + service, METHODID_REVIEW_DOCUMENT))) + .addMethod( + getEvaluateProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.EvaluateProcessorVersionRequest, + com.google.longrunning.Operation>( + service, METHODID_EVALUATE_PROCESSOR_VERSION))) + .addMethod( + getGetEvaluationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.GetEvaluationRequest, + com.google.cloud.documentai.v1.Evaluation>( + service, METHODID_GET_EVALUATION))) + .addMethod( + getListEvaluationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.ListEvaluationsRequest, + com.google.cloud.documentai.v1.ListEvaluationsResponse>( + service, METHODID_LIST_EVALUATIONS))) + .build(); + } + + private static abstract class DocumentProcessorServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DocumentProcessorServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.documentai.v1.DocumentAiProcessorService.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DocumentProcessorService"); + } + } + + private static final class DocumentProcessorServiceFileDescriptorSupplier + extends DocumentProcessorServiceBaseDescriptorSupplier { + DocumentProcessorServiceFileDescriptorSupplier() {} + } + + private static final class DocumentProcessorServiceMethodDescriptorSupplier + extends DocumentProcessorServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DocumentProcessorServiceMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DocumentProcessorServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DocumentProcessorServiceFileDescriptorSupplier()) + .addMethod(getProcessDocumentMethod()) + .addMethod(getBatchProcessDocumentsMethod()) + .addMethod(getFetchProcessorTypesMethod()) + .addMethod(getListProcessorTypesMethod()) + .addMethod(getGetProcessorTypeMethod()) + .addMethod(getListProcessorsMethod()) + .addMethod(getGetProcessorMethod()) + .addMethod(getTrainProcessorVersionMethod()) + .addMethod(getGetProcessorVersionMethod()) + .addMethod(getListProcessorVersionsMethod()) + .addMethod(getDeleteProcessorVersionMethod()) + .addMethod(getDeployProcessorVersionMethod()) + .addMethod(getUndeployProcessorVersionMethod()) + .addMethod(getCreateProcessorMethod()) + .addMethod(getDeleteProcessorMethod()) + .addMethod(getEnableProcessorMethod()) + .addMethod(getDisableProcessorMethod()) + .addMethod(getSetDefaultProcessorVersionMethod()) + .addMethod(getReviewDocumentMethod()) + .addMethod(getEvaluateProcessorVersionMethod()) + .addMethod(getGetEvaluationMethod()) + .addMethod(getListEvaluationsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Barcode.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Barcode.java similarity index 74% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Barcode.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Barcode.java index e2faafcd1b61..1673c4d786b7 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Barcode.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Barcode.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/barcode.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Encodes the detailed information of a barcode.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.Barcode} */ -public final class Barcode extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Barcode extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.Barcode) BarcodeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Barcode.newBuilder() to construct. private Barcode(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Barcode() { format_ = ""; valueFormat_ = ""; @@ -45,32 +27,28 @@ private Barcode() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Barcode(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.BarcodeProto - .internal_static_google_cloud_documentai_v1_Barcode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.BarcodeProto.internal_static_google_cloud_documentai_v1_Barcode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.BarcodeProto - .internal_static_google_cloud_documentai_v1_Barcode_fieldAccessorTable + return com.google.cloud.documentai.v1.BarcodeProto.internal_static_google_cloud_documentai_v1_Barcode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.Barcode.class, - com.google.cloud.documentai.v1.Barcode.Builder.class); + com.google.cloud.documentai.v1.Barcode.class, com.google.cloud.documentai.v1.Barcode.Builder.class); } public static final int FORMAT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object format_ = ""; /** - * - * *
    * Format of a barcode.
    * The supported formats are:
@@ -92,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string format = 1; - * * @return The format. */ @java.lang.Override @@ -101,15 +78,14 @@ public java.lang.String getFormat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } } /** - * - * *
    * Format of a barcode.
    * The supported formats are:
@@ -131,15 +107,16 @@ public java.lang.String getFormat() {
    * 
* * string format = 1; - * * @return The bytes for format. */ @java.lang.Override - public com.google.protobuf.ByteString getFormatBytes() { + public com.google.protobuf.ByteString + getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); format_ = b; return b; } else { @@ -148,12 +125,9 @@ public com.google.protobuf.ByteString getFormatBytes() { } public static final int VALUE_FORMAT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object valueFormat_ = ""; /** - * - * *
    * Value format describes the format of the value that a barcode
    * encodes.
@@ -174,7 +148,6 @@ public com.google.protobuf.ByteString getFormatBytes() {
    * 
* * string value_format = 2; - * * @return The valueFormat. */ @java.lang.Override @@ -183,15 +156,14 @@ public java.lang.String getValueFormat() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); valueFormat_ = s; return s; } } /** - * - * *
    * Value format describes the format of the value that a barcode
    * encodes.
@@ -212,15 +184,16 @@ public java.lang.String getValueFormat() {
    * 
* * string value_format = 2; - * * @return The bytes for valueFormat. */ @java.lang.Override - public com.google.protobuf.ByteString getValueFormatBytes() { + public com.google.protobuf.ByteString + getValueFormatBytes() { java.lang.Object ref = valueFormat_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); valueFormat_ = b; return b; } else { @@ -229,19 +202,15 @@ public com.google.protobuf.ByteString getValueFormatBytes() { } public static final int RAW_VALUE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object rawValue_ = ""; /** - * - * *
    * Raw value encoded in the barcode.
    * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
    * 
* * string raw_value = 3; - * * @return The rawValue. */ @java.lang.Override @@ -250,30 +219,30 @@ public java.lang.String getRawValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rawValue_ = s; return s; } } /** - * - * *
    * Raw value encoded in the barcode.
    * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
    * 
* * string raw_value = 3; - * * @return The bytes for rawValue. */ @java.lang.Override - public com.google.protobuf.ByteString getRawValueBytes() { + public com.google.protobuf.ByteString + getRawValueBytes() { java.lang.Object ref = rawValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rawValue_ = b; return b; } else { @@ -282,7 +251,6 @@ public com.google.protobuf.ByteString getRawValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, format_); } @@ -330,16 +299,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.Barcode)) { return super.equals(obj); } com.google.cloud.documentai.v1.Barcode other = (com.google.cloud.documentai.v1.Barcode) obj; - if (!getFormat().equals(other.getFormat())) return false; - if (!getValueFormat().equals(other.getValueFormat())) return false; - if (!getRawValue().equals(other.getRawValue())) return false; + if (!getFormat() + .equals(other.getFormat())) return false; + if (!getValueFormat() + .equals(other.getValueFormat())) return false; + if (!getRawValue() + .equals(other.getRawValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,136 +334,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.documentai.v1.Barcode parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.documentai.v1.Barcode parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Barcode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Barcode parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Barcode parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Barcode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Barcode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Barcode parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.Barcode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.documentai.v1.Barcode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.Barcode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.Barcode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.Barcode parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.documentai.v1.Barcode prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encodes the detailed information of a barcode.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.Barcode} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.Barcode) com.google.cloud.documentai.v1.BarcodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.BarcodeProto - .internal_static_google_cloud_documentai_v1_Barcode_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.BarcodeProto.internal_static_google_cloud_documentai_v1_Barcode_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.BarcodeProto - .internal_static_google_cloud_documentai_v1_Barcode_fieldAccessorTable + return com.google.cloud.documentai.v1.BarcodeProto.internal_static_google_cloud_documentai_v1_Barcode_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.Barcode.class, - com.google.cloud.documentai.v1.Barcode.Builder.class); + com.google.cloud.documentai.v1.Barcode.class, com.google.cloud.documentai.v1.Barcode.Builder.class); } // Construct using com.google.cloud.documentai.v1.Barcode.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.documentai.v1.BarcodeProto - .internal_static_google_cloud_documentai_v1_Barcode_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.documentai.v1.BarcodeProto.internal_static_google_cloud_documentai_v1_Barcode_descriptor; } @java.lang.Override @@ -524,11 +492,8 @@ public com.google.cloud.documentai.v1.Barcode build() { @java.lang.Override public com.google.cloud.documentai.v1.Barcode buildPartial() { - com.google.cloud.documentai.v1.Barcode result = - new com.google.cloud.documentai.v1.Barcode(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.documentai.v1.Barcode result = new com.google.cloud.documentai.v1.Barcode(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -550,39 +515,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.Barcode result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.documentai.v1.Barcode) { - return mergeFrom((com.google.cloud.documentai.v1.Barcode) other); + return mergeFrom((com.google.cloud.documentai.v1.Barcode)other); } else { super.mergeFrom(other); return this; @@ -632,31 +596,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - format_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - valueFormat_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - rawValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + format_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + valueFormat_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + rawValue_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -666,13 +626,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object format_ = ""; /** - * - * *
      * Format of a barcode.
      * The supported formats are:
@@ -694,13 +651,13 @@ public Builder mergeFrom(
      * 
* * string format = 1; - * * @return The format. */ public java.lang.String getFormat() { java.lang.Object ref = format_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; @@ -709,8 +666,6 @@ public java.lang.String getFormat() { } } /** - * - * *
      * Format of a barcode.
      * The supported formats are:
@@ -732,14 +687,15 @@ public java.lang.String getFormat() {
      * 
* * string format = 1; - * * @return The bytes for format. */ - public com.google.protobuf.ByteString getFormatBytes() { + public com.google.protobuf.ByteString + getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); format_ = b; return b; } else { @@ -747,8 +703,6 @@ public com.google.protobuf.ByteString getFormatBytes() { } } /** - * - * *
      * Format of a barcode.
      * The supported formats are:
@@ -770,22 +724,18 @@ public com.google.protobuf.ByteString getFormatBytes() {
      * 
* * string format = 1; - * * @param value The format to set. * @return This builder for chaining. */ - public Builder setFormat(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFormat( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } format_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Format of a barcode.
      * The supported formats are:
@@ -807,7 +757,6 @@ public Builder setFormat(java.lang.String value) {
      * 
* * string format = 1; - * * @return This builder for chaining. */ public Builder clearFormat() { @@ -817,8 +766,6 @@ public Builder clearFormat() { return this; } /** - * - * *
      * Format of a barcode.
      * The supported formats are:
@@ -840,14 +787,12 @@ public Builder clearFormat() {
      * 
* * string format = 1; - * * @param value The bytes for format to set. * @return This builder for chaining. */ - public Builder setFormatBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFormatBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); format_ = value; bitField0_ |= 0x00000001; @@ -857,8 +802,6 @@ public Builder setFormatBytes(com.google.protobuf.ByteString value) { private java.lang.Object valueFormat_ = ""; /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
@@ -879,13 +822,13 @@ public Builder setFormatBytes(com.google.protobuf.ByteString value) {
      * 
* * string value_format = 2; - * * @return The valueFormat. */ public java.lang.String getValueFormat() { java.lang.Object ref = valueFormat_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); valueFormat_ = s; return s; @@ -894,8 +837,6 @@ public java.lang.String getValueFormat() { } } /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
@@ -916,14 +857,15 @@ public java.lang.String getValueFormat() {
      * 
* * string value_format = 2; - * * @return The bytes for valueFormat. */ - public com.google.protobuf.ByteString getValueFormatBytes() { + public com.google.protobuf.ByteString + getValueFormatBytes() { java.lang.Object ref = valueFormat_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); valueFormat_ = b; return b; } else { @@ -931,8 +873,6 @@ public com.google.protobuf.ByteString getValueFormatBytes() { } } /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
@@ -953,22 +893,18 @@ public com.google.protobuf.ByteString getValueFormatBytes() {
      * 
* * string value_format = 2; - * * @param value The valueFormat to set. * @return This builder for chaining. */ - public Builder setValueFormat(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueFormat( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } valueFormat_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
@@ -989,7 +925,6 @@ public Builder setValueFormat(java.lang.String value) {
      * 
* * string value_format = 2; - * * @return This builder for chaining. */ public Builder clearValueFormat() { @@ -999,8 +934,6 @@ public Builder clearValueFormat() { return this; } /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
@@ -1021,14 +954,12 @@ public Builder clearValueFormat() {
      * 
* * string value_format = 2; - * * @param value The bytes for valueFormat to set. * @return This builder for chaining. */ - public Builder setValueFormatBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueFormatBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueFormat_ = value; bitField0_ |= 0x00000002; @@ -1038,21 +969,19 @@ public Builder setValueFormatBytes(com.google.protobuf.ByteString value) { private java.lang.Object rawValue_ = ""; /** - * - * *
      * Raw value encoded in the barcode.
      * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
      * 
* * string raw_value = 3; - * * @return The rawValue. */ public java.lang.String getRawValue() { java.lang.Object ref = rawValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rawValue_ = s; return s; @@ -1061,22 +990,21 @@ public java.lang.String getRawValue() { } } /** - * - * *
      * Raw value encoded in the barcode.
      * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
      * 
* * string raw_value = 3; - * * @return The bytes for rawValue. */ - public com.google.protobuf.ByteString getRawValueBytes() { + public com.google.protobuf.ByteString + getRawValueBytes() { java.lang.Object ref = rawValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rawValue_ = b; return b; } else { @@ -1084,37 +1012,30 @@ public com.google.protobuf.ByteString getRawValueBytes() { } } /** - * - * *
      * Raw value encoded in the barcode.
      * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
      * 
* * string raw_value = 3; - * * @param value The rawValue to set. * @return This builder for chaining. */ - public Builder setRawValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRawValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } rawValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Raw value encoded in the barcode.
      * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
      * 
* * string raw_value = 3; - * * @return This builder for chaining. */ public Builder clearRawValue() { @@ -1124,31 +1045,27 @@ public Builder clearRawValue() { return this; } /** - * - * *
      * Raw value encoded in the barcode.
      * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
      * 
* * string raw_value = 3; - * * @param value The bytes for rawValue to set. * @return This builder for chaining. */ - public Builder setRawValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRawValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rawValue_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1158,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.Barcode) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.Barcode) private static final com.google.cloud.documentai.v1.Barcode DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.Barcode(); } @@ -1172,27 +1089,27 @@ public static com.google.cloud.documentai.v1.Barcode getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Barcode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Barcode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,4 +1124,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.Barcode getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java similarity index 78% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java index af8b62ce7be0..eb0c8d7a7508 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/barcode.proto package com.google.cloud.documentai.v1; -public interface BarcodeOrBuilder - extends +public interface BarcodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.Barcode) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Format of a barcode.
    * The supported formats are:
@@ -47,13 +29,10 @@ public interface BarcodeOrBuilder
    * 
* * string format = 1; - * * @return The format. */ java.lang.String getFormat(); /** - * - * *
    * Format of a barcode.
    * The supported formats are:
@@ -75,14 +54,12 @@ public interface BarcodeOrBuilder
    * 
* * string format = 1; - * * @return The bytes for format. */ - com.google.protobuf.ByteString getFormatBytes(); + com.google.protobuf.ByteString + getFormatBytes(); /** - * - * *
    * Value format describes the format of the value that a barcode
    * encodes.
@@ -103,13 +80,10 @@ public interface BarcodeOrBuilder
    * 
* * string value_format = 2; - * * @return The valueFormat. */ java.lang.String getValueFormat(); /** - * - * *
    * Value format describes the format of the value that a barcode
    * encodes.
@@ -130,35 +104,30 @@ public interface BarcodeOrBuilder
    * 
* * string value_format = 2; - * * @return The bytes for valueFormat. */ - com.google.protobuf.ByteString getValueFormatBytes(); + com.google.protobuf.ByteString + getValueFormatBytes(); /** - * - * *
    * Raw value encoded in the barcode.
    * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
    * 
* * string raw_value = 3; - * * @return The rawValue. */ java.lang.String getRawValue(); /** - * - * *
    * Raw value encoded in the barcode.
    * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
    * 
* * string raw_value = 3; - * * @return The bytes for rawValue. */ - com.google.protobuf.ByteString getRawValueBytes(); + com.google.protobuf.ByteString + getRawValueBytes(); } diff --git a/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java new file mode 100644 index 000000000000..0ea93bd39c89 --- /dev/null +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java @@ -0,0 +1,54 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/documentai/v1/barcode.proto + +package com.google.cloud.documentai.v1; + +public final class BarcodeProto { + private BarcodeProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_documentai_v1_Barcode_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_documentai_v1_Barcode_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/documentai/v1/barcode.pro" + + "to\022\032google.cloud.documentai.v1\"B\n\007Barcod" + + "e\022\016\n\006format\030\001 \001(\t\022\024\n\014value_format\030\002 \001(\t\022" + + "\021\n\traw_value\030\003 \001(\tB\312\001\n\036com.google.cloud." + + "documentai.v1B\014BarcodeProtoP\001Z>cloud.goo" + + "gle.com/go/documentai/apiv1/documentaipb" + + ";documentaipb\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[] { + }); + internal_static_google_cloud_documentai_v1_Barcode_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_documentai_v1_Barcode_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_documentai_v1_Barcode_descriptor, + new java.lang.String[] { "Format", "ValueFormat", "RawValue", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfig.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfig.java similarity index 70% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfig.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfig.java index c23a6f8525ab..99d25d2c1739 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfig.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfig.java @@ -1,79 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_io.proto package com.google.cloud.documentai.v1; /** - * - * *
  * The common config to specify a set of documents used as input.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.BatchDocumentsInputConfig} */ -public final class BatchDocumentsInputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchDocumentsInputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.BatchDocumentsInputConfig) BatchDocumentsInputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchDocumentsInputConfig.newBuilder() to construct. private BatchDocumentsInputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BatchDocumentsInputConfig() {} + private BatchDocumentsInputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchDocumentsInputConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.DocumentIoProto - .internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.DocumentIoProto.internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.DocumentIoProto - .internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_fieldAccessorTable + return com.google.cloud.documentai.v1.DocumentIoProto.internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.BatchDocumentsInputConfig.class, - com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder.class); + com.google.cloud.documentai.v1.BatchDocumentsInputConfig.class, com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder.class); } private int sourceCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_PREFIX(1), GCS_DOCUMENTS(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -89,36 +67,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_PREFIX; - case 2: - return GCS_DOCUMENTS; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_PREFIX; + case 2: return GCS_DOCUMENTS; + case 0: return SOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public static final int GCS_PREFIX_FIELD_NUMBER = 1; /** - * - * *
    * The set of documents that match the specified Cloud Storage `gcs_prefix`.
    * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; - * * @return Whether the gcsPrefix field is set. */ @java.lang.Override @@ -126,26 +98,21 @@ public boolean hasGcsPrefix() { return sourceCase_ == 1; } /** - * - * *
    * The set of documents that match the specified Cloud Storage `gcs_prefix`.
    * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; - * * @return The gcsPrefix. */ @java.lang.Override public com.google.cloud.documentai.v1.GcsPrefix getGcsPrefix() { if (sourceCase_ == 1) { - return (com.google.cloud.documentai.v1.GcsPrefix) source_; + return (com.google.cloud.documentai.v1.GcsPrefix) source_; } return com.google.cloud.documentai.v1.GcsPrefix.getDefaultInstance(); } /** - * - * *
    * The set of documents that match the specified Cloud Storage `gcs_prefix`.
    * 
@@ -155,21 +122,18 @@ public com.google.cloud.documentai.v1.GcsPrefix getGcsPrefix() { @java.lang.Override public com.google.cloud.documentai.v1.GcsPrefixOrBuilder getGcsPrefixOrBuilder() { if (sourceCase_ == 1) { - return (com.google.cloud.documentai.v1.GcsPrefix) source_; + return (com.google.cloud.documentai.v1.GcsPrefix) source_; } return com.google.cloud.documentai.v1.GcsPrefix.getDefaultInstance(); } public static final int GCS_DOCUMENTS_FIELD_NUMBER = 2; /** - * - * *
    * The set of documents individually specified on Cloud Storage.
    * 
* * .google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; - * * @return Whether the gcsDocuments field is set. */ @java.lang.Override @@ -177,26 +141,21 @@ public boolean hasGcsDocuments() { return sourceCase_ == 2; } /** - * - * *
    * The set of documents individually specified on Cloud Storage.
    * 
* * .google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; - * * @return The gcsDocuments. */ @java.lang.Override public com.google.cloud.documentai.v1.GcsDocuments getGcsDocuments() { if (sourceCase_ == 2) { - return (com.google.cloud.documentai.v1.GcsDocuments) source_; + return (com.google.cloud.documentai.v1.GcsDocuments) source_; } return com.google.cloud.documentai.v1.GcsDocuments.getDefaultInstance(); } /** - * - * *
    * The set of documents individually specified on Cloud Storage.
    * 
@@ -206,13 +165,12 @@ public com.google.cloud.documentai.v1.GcsDocuments getGcsDocuments() { @java.lang.Override public com.google.cloud.documentai.v1.GcsDocumentsOrBuilder getGcsDocumentsOrBuilder() { if (sourceCase_ == 2) { - return (com.google.cloud.documentai.v1.GcsDocuments) source_; + return (com.google.cloud.documentai.v1.GcsDocuments) source_; } return com.google.cloud.documentai.v1.GcsDocuments.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sourceCase_ == 1) { output.writeMessage(1, (com.google.cloud.documentai.v1.GcsPrefix) source_); } @@ -241,14 +200,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.documentai.v1.GcsPrefix) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.documentai.v1.GcsPrefix) source_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.documentai.v1.GcsDocuments) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.documentai.v1.GcsDocuments) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -258,21 +215,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.BatchDocumentsInputConfig)) { return super.equals(obj); } - com.google.cloud.documentai.v1.BatchDocumentsInputConfig other = - (com.google.cloud.documentai.v1.BatchDocumentsInputConfig) obj; + com.google.cloud.documentai.v1.BatchDocumentsInputConfig other = (com.google.cloud.documentai.v1.BatchDocumentsInputConfig) obj; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: - if (!getGcsPrefix().equals(other.getGcsPrefix())) return false; + if (!getGcsPrefix() + .equals(other.getGcsPrefix())) return false; break; case 2: - if (!getGcsDocuments().equals(other.getGcsDocuments())) return false; + if (!getGcsDocuments() + .equals(other.getGcsDocuments())) return false; break; case 0: default: @@ -306,136 +264,131 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.BatchDocumentsInputConfig prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.BatchDocumentsInputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The common config to specify a set of documents used as input.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.BatchDocumentsInputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.BatchDocumentsInputConfig) com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.DocumentIoProto - .internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.DocumentIoProto.internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.DocumentIoProto - .internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_fieldAccessorTable + return com.google.cloud.documentai.v1.DocumentIoProto.internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.BatchDocumentsInputConfig.class, - com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder.class); + com.google.cloud.documentai.v1.BatchDocumentsInputConfig.class, com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder.class); } // Construct using com.google.cloud.documentai.v1.BatchDocumentsInputConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +405,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.documentai.v1.DocumentIoProto - .internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.documentai.v1.DocumentIoProto.internal_static_google_cloud_documentai_v1_BatchDocumentsInputConfig_descriptor; } @java.lang.Override @@ -473,11 +426,8 @@ public com.google.cloud.documentai.v1.BatchDocumentsInputConfig build() { @java.lang.Override public com.google.cloud.documentai.v1.BatchDocumentsInputConfig buildPartial() { - com.google.cloud.documentai.v1.BatchDocumentsInputConfig result = - new com.google.cloud.documentai.v1.BatchDocumentsInputConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.documentai.v1.BatchDocumentsInputConfig result = new com.google.cloud.documentai.v1.BatchDocumentsInputConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -487,14 +437,15 @@ private void buildPartial0(com.google.cloud.documentai.v1.BatchDocumentsInputCon int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.cloud.documentai.v1.BatchDocumentsInputConfig result) { + private void buildPartialOneofs(com.google.cloud.documentai.v1.BatchDocumentsInputConfig result) { result.sourceCase_ = sourceCase_; result.source_ = this.source_; - if (sourceCase_ == 1 && gcsPrefixBuilder_ != null) { + if (sourceCase_ == 1 && + gcsPrefixBuilder_ != null) { result.source_ = gcsPrefixBuilder_.build(); } - if (sourceCase_ == 2 && gcsDocumentsBuilder_ != null) { + if (sourceCase_ == 2 && + gcsDocumentsBuilder_ != null) { result.source_ = gcsDocumentsBuilder_.build(); } } @@ -503,39 +454,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.documentai.v1.BatchDocumentsInputConfig) { - return mergeFrom((com.google.cloud.documentai.v1.BatchDocumentsInputConfig) other); + return mergeFrom((com.google.cloud.documentai.v1.BatchDocumentsInputConfig)other); } else { super.mergeFrom(other); return this; @@ -543,23 +493,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.documentai.v1.BatchDocumentsInputConfig other) { - if (other == com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance()) return this; switch (other.getSourceCase()) { - case GCS_PREFIX: - { - mergeGcsPrefix(other.getGcsPrefix()); - break; - } - case GCS_DOCUMENTS: - { - mergeGcsDocuments(other.getGcsDocuments()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_PREFIX: { + mergeGcsPrefix(other.getGcsPrefix()); + break; + } + case GCS_DOCUMENTS: { + mergeGcsDocuments(other.getGcsDocuments()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -587,25 +533,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcsPrefixFieldBuilder().getBuilder(), extensionRegistry); - sourceCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getGcsDocumentsFieldBuilder().getBuilder(), extensionRegistry); - sourceCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcsPrefixFieldBuilder().getBuilder(), + extensionRegistry); + sourceCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getGcsDocumentsFieldBuilder().getBuilder(), + extensionRegistry); + sourceCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -615,12 +562,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -633,19 +580,13 @@ public Builder clearSource() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.GcsPrefix, - com.google.cloud.documentai.v1.GcsPrefix.Builder, - com.google.cloud.documentai.v1.GcsPrefixOrBuilder> - gcsPrefixBuilder_; + com.google.cloud.documentai.v1.GcsPrefix, com.google.cloud.documentai.v1.GcsPrefix.Builder, com.google.cloud.documentai.v1.GcsPrefixOrBuilder> gcsPrefixBuilder_; /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; - * * @return Whether the gcsPrefix field is set. */ @java.lang.Override @@ -653,14 +594,11 @@ public boolean hasGcsPrefix() { return sourceCase_ == 1; } /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; - * * @return The gcsPrefix. */ @java.lang.Override @@ -678,8 +616,6 @@ public com.google.cloud.documentai.v1.GcsPrefix getGcsPrefix() { } } /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
@@ -700,15 +636,14 @@ public Builder setGcsPrefix(com.google.cloud.documentai.v1.GcsPrefix value) { return this; } /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; */ - public Builder setGcsPrefix(com.google.cloud.documentai.v1.GcsPrefix.Builder builderForValue) { + public Builder setGcsPrefix( + com.google.cloud.documentai.v1.GcsPrefix.Builder builderForValue) { if (gcsPrefixBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -719,8 +654,6 @@ public Builder setGcsPrefix(com.google.cloud.documentai.v1.GcsPrefix.Builder bui return this; } /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
@@ -729,13 +662,10 @@ public Builder setGcsPrefix(com.google.cloud.documentai.v1.GcsPrefix.Builder bui */ public Builder mergeGcsPrefix(com.google.cloud.documentai.v1.GcsPrefix value) { if (gcsPrefixBuilder_ == null) { - if (sourceCase_ == 1 - && source_ != com.google.cloud.documentai.v1.GcsPrefix.getDefaultInstance()) { - source_ = - com.google.cloud.documentai.v1.GcsPrefix.newBuilder( - (com.google.cloud.documentai.v1.GcsPrefix) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.cloud.documentai.v1.GcsPrefix.getDefaultInstance()) { + source_ = com.google.cloud.documentai.v1.GcsPrefix.newBuilder((com.google.cloud.documentai.v1.GcsPrefix) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -751,8 +681,6 @@ public Builder mergeGcsPrefix(com.google.cloud.documentai.v1.GcsPrefix value) { return this; } /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
@@ -776,8 +704,6 @@ public Builder clearGcsPrefix() { return this; } /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
@@ -788,8 +714,6 @@ public com.google.cloud.documentai.v1.GcsPrefix.Builder getGcsPrefixBuilder() { return getGcsPrefixFieldBuilder().getBuilder(); } /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
@@ -808,8 +732,6 @@ public com.google.cloud.documentai.v1.GcsPrefixOrBuilder getGcsPrefixOrBuilder() } } /** - * - * *
      * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
@@ -817,19 +739,14 @@ public com.google.cloud.documentai.v1.GcsPrefixOrBuilder getGcsPrefixOrBuilder() * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.GcsPrefix, - com.google.cloud.documentai.v1.GcsPrefix.Builder, - com.google.cloud.documentai.v1.GcsPrefixOrBuilder> + com.google.cloud.documentai.v1.GcsPrefix, com.google.cloud.documentai.v1.GcsPrefix.Builder, com.google.cloud.documentai.v1.GcsPrefixOrBuilder> getGcsPrefixFieldBuilder() { if (gcsPrefixBuilder_ == null) { if (!(sourceCase_ == 1)) { source_ = com.google.cloud.documentai.v1.GcsPrefix.getDefaultInstance(); } - gcsPrefixBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.GcsPrefix, - com.google.cloud.documentai.v1.GcsPrefix.Builder, - com.google.cloud.documentai.v1.GcsPrefixOrBuilder>( + gcsPrefixBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.GcsPrefix, com.google.cloud.documentai.v1.GcsPrefix.Builder, com.google.cloud.documentai.v1.GcsPrefixOrBuilder>( (com.google.cloud.documentai.v1.GcsPrefix) source_, getParentForChildren(), isClean()); @@ -841,19 +758,13 @@ public com.google.cloud.documentai.v1.GcsPrefixOrBuilder getGcsPrefixOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.GcsDocuments, - com.google.cloud.documentai.v1.GcsDocuments.Builder, - com.google.cloud.documentai.v1.GcsDocumentsOrBuilder> - gcsDocumentsBuilder_; + com.google.cloud.documentai.v1.GcsDocuments, com.google.cloud.documentai.v1.GcsDocuments.Builder, com.google.cloud.documentai.v1.GcsDocumentsOrBuilder> gcsDocumentsBuilder_; /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
* * .google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; - * * @return Whether the gcsDocuments field is set. */ @java.lang.Override @@ -861,14 +772,11 @@ public boolean hasGcsDocuments() { return sourceCase_ == 2; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
* * .google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; - * * @return The gcsDocuments. */ @java.lang.Override @@ -886,8 +794,6 @@ public com.google.cloud.documentai.v1.GcsDocuments getGcsDocuments() { } } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -908,8 +814,6 @@ public Builder setGcsDocuments(com.google.cloud.documentai.v1.GcsDocuments value return this; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -928,8 +832,6 @@ public Builder setGcsDocuments( return this; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -938,13 +840,10 @@ public Builder setGcsDocuments( */ public Builder mergeGcsDocuments(com.google.cloud.documentai.v1.GcsDocuments value) { if (gcsDocumentsBuilder_ == null) { - if (sourceCase_ == 2 - && source_ != com.google.cloud.documentai.v1.GcsDocuments.getDefaultInstance()) { - source_ = - com.google.cloud.documentai.v1.GcsDocuments.newBuilder( - (com.google.cloud.documentai.v1.GcsDocuments) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.cloud.documentai.v1.GcsDocuments.getDefaultInstance()) { + source_ = com.google.cloud.documentai.v1.GcsDocuments.newBuilder((com.google.cloud.documentai.v1.GcsDocuments) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -960,8 +859,6 @@ public Builder mergeGcsDocuments(com.google.cloud.documentai.v1.GcsDocuments val return this; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -985,8 +882,6 @@ public Builder clearGcsDocuments() { return this; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -997,8 +892,6 @@ public com.google.cloud.documentai.v1.GcsDocuments.Builder getGcsDocumentsBuilde return getGcsDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -1017,8 +910,6 @@ public com.google.cloud.documentai.v1.GcsDocumentsOrBuilder getGcsDocumentsOrBui } } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -1026,19 +917,14 @@ public com.google.cloud.documentai.v1.GcsDocumentsOrBuilder getGcsDocumentsOrBui * .google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.GcsDocuments, - com.google.cloud.documentai.v1.GcsDocuments.Builder, - com.google.cloud.documentai.v1.GcsDocumentsOrBuilder> + com.google.cloud.documentai.v1.GcsDocuments, com.google.cloud.documentai.v1.GcsDocuments.Builder, com.google.cloud.documentai.v1.GcsDocumentsOrBuilder> getGcsDocumentsFieldBuilder() { if (gcsDocumentsBuilder_ == null) { if (!(sourceCase_ == 2)) { source_ = com.google.cloud.documentai.v1.GcsDocuments.getDefaultInstance(); } - gcsDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.GcsDocuments, - com.google.cloud.documentai.v1.GcsDocuments.Builder, - com.google.cloud.documentai.v1.GcsDocumentsOrBuilder>( + gcsDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.GcsDocuments, com.google.cloud.documentai.v1.GcsDocuments.Builder, com.google.cloud.documentai.v1.GcsDocumentsOrBuilder>( (com.google.cloud.documentai.v1.GcsDocuments) source_, getParentForChildren(), isClean()); @@ -1048,9 +934,9 @@ public com.google.cloud.documentai.v1.GcsDocumentsOrBuilder getGcsDocumentsOrBui onChanged(); return gcsDocumentsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1060,12 +946,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.BatchDocumentsInputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.BatchDocumentsInputConfig) private static final com.google.cloud.documentai.v1.BatchDocumentsInputConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.BatchDocumentsInputConfig(); } @@ -1074,27 +960,27 @@ public static com.google.cloud.documentai.v1.BatchDocumentsInputConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDocumentsInputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDocumentsInputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,4 +995,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.documentai.v1.BatchDocumentsInputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfigOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfigOrBuilder.java similarity index 73% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfigOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfigOrBuilder.java index 4662cd1e715b..0a9fb37b9d2f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfigOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchDocumentsInputConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_io.proto package com.google.cloud.documentai.v1; -public interface BatchDocumentsInputConfigOrBuilder - extends +public interface BatchDocumentsInputConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.BatchDocumentsInputConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The set of documents that match the specified Cloud Storage `gcs_prefix`.
    * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; - * * @return Whether the gcsPrefix field is set. */ boolean hasGcsPrefix(); /** - * - * *
    * The set of documents that match the specified Cloud Storage `gcs_prefix`.
    * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; - * * @return The gcsPrefix. */ com.google.cloud.documentai.v1.GcsPrefix getGcsPrefix(); /** - * - * *
    * The set of documents that match the specified Cloud Storage `gcs_prefix`.
    * 
@@ -59,32 +35,24 @@ public interface BatchDocumentsInputConfigOrBuilder com.google.cloud.documentai.v1.GcsPrefixOrBuilder getGcsPrefixOrBuilder(); /** - * - * *
    * The set of documents individually specified on Cloud Storage.
    * 
* * .google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; - * * @return Whether the gcsDocuments field is set. */ boolean hasGcsDocuments(); /** - * - * *
    * The set of documents individually specified on Cloud Storage.
    * 
* * .google.cloud.documentai.v1.GcsDocuments gcs_documents = 2; - * * @return The gcsDocuments. */ com.google.cloud.documentai.v1.GcsDocuments getGcsDocuments(); /** - * - * *
    * The set of documents individually specified on Cloud Storage.
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java similarity index 68% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java index e11e3ab6e659..7608ea72dc18 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * The long-running operation metadata for
  * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.BatchProcessMetadata}
  */
-public final class BatchProcessMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchProcessMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.BatchProcessMetadata)
     BatchProcessMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchProcessMetadata.newBuilder() to construct.
   private BatchProcessMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchProcessMetadata() {
     state_ = 0;
     stateMessage_ = "";
@@ -46,38 +28,34 @@ private BatchProcessMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchProcessMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.BatchProcessMetadata.class,
-            com.google.cloud.documentai.v1.BatchProcessMetadata.Builder.class);
+            com.google.cloud.documentai.v1.BatchProcessMetadata.class, com.google.cloud.documentai.v1.BatchProcessMetadata.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of the batch processing operation.
    * 
* * Protobuf enum {@code google.cloud.documentai.v1.BatchProcessMetadata.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -86,8 +64,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Request operation is waiting for scheduling.
      * 
@@ -96,8 +72,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ WAITING(1), /** - * - * *
      * Request is being processed.
      * 
@@ -106,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The batch processing completed successfully.
      * 
@@ -116,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * The batch processing was being cancelled.
      * 
@@ -126,8 +96,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(4), /** - * - * *
      * The batch processing was cancelled.
      * 
@@ -136,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(5), /** - * - * *
      * The batch processing has failed.
      * 
@@ -149,8 +115,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -159,8 +123,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Request operation is waiting for scheduling.
      * 
@@ -169,8 +131,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WAITING_VALUE = 1; /** - * - * *
      * Request is being processed.
      * 
@@ -179,8 +139,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The batch processing completed successfully.
      * 
@@ -189,8 +147,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * The batch processing was being cancelled.
      * 
@@ -199,8 +155,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 4; /** - * - * *
      * The batch processing was cancelled.
      * 
@@ -209,8 +163,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 5; /** - * - * *
      * The batch processing has failed.
      * 
@@ -219,6 +171,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -243,59 +196,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return WAITING; - case 2: - return RUNNING; - case 3: - return SUCCEEDED; - case 4: - return CANCELLING; - case 5: - return CANCELLED; - case 6: - return FAILED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return WAITING; + case 2: return RUNNING; + case 3: return SUCCEEDED; + case 4: return CANCELLING; + case 5: return CANCELLED; + case 6: return FAILED; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.documentai.v1.BatchProcessMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.documentai.v1.BatchProcessMetadata.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -312,14 +259,11 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.documentai.v1.BatchProcessMetadata.State) } - public interface IndividualProcessStatusOrBuilder - extends + public interface IndividualProcessStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The source of the document, same as the
      * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -327,13 +271,10 @@ public interface IndividualProcessStatusOrBuilder
      * 
* * string input_gcs_source = 1; - * * @return The inputGcsSource. */ java.lang.String getInputGcsSource(); /** - * - * *
      * The source of the document, same as the
      * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -341,38 +282,30 @@ public interface IndividualProcessStatusOrBuilder
      * 
* * string input_gcs_source = 1; - * * @return The bytes for inputGcsSource. */ - com.google.protobuf.ByteString getInputGcsSourceBytes(); + com.google.protobuf.ByteString + getInputGcsSourceBytes(); /** - * - * *
      * The status processing the document.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The status processing the document.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The status processing the document.
      * 
@@ -382,8 +315,6 @@ public interface IndividualProcessStatusOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
      * The Cloud Storage output destination (in the request as
      * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -391,13 +322,10 @@ public interface IndividualProcessStatusOrBuilder
      * 
* * string output_gcs_destination = 3; - * * @return The outputGcsDestination. */ java.lang.String getOutputGcsDestination(); /** - * - * *
      * The Cloud Storage output destination (in the request as
      * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -405,38 +333,30 @@ public interface IndividualProcessStatusOrBuilder
      * 
* * string output_gcs_destination = 3; - * * @return The bytes for outputGcsDestination. */ - com.google.protobuf.ByteString getOutputGcsDestinationBytes(); + com.google.protobuf.ByteString + getOutputGcsDestinationBytes(); /** - * - * *
      * The status of human review on the processed document.
      * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; - * * @return Whether the humanReviewStatus field is set. */ boolean hasHumanReviewStatus(); /** - * - * *
      * The status of human review on the processed document.
      * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; - * * @return The humanReviewStatus. */ com.google.cloud.documentai.v1.HumanReviewStatus getHumanReviewStatus(); /** - * - * *
      * The status of human review on the processed document.
      * 
@@ -446,24 +366,21 @@ public interface IndividualProcessStatusOrBuilder com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder(); } /** - * - * *
    * The status of a each individual document in the batch process.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus} */ - public static final class IndividualProcessStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IndividualProcessStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) IndividualProcessStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndividualProcessStatus.newBuilder() to construct. private IndividualProcessStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IndividualProcessStatus() { inputGcsSource_ = ""; outputGcsDestination_ = ""; @@ -471,33 +388,28 @@ private IndividualProcessStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IndividualProcessStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.DocumentAiProcessorService - .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.DocumentAiProcessorService - .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_fieldAccessorTable + return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.class, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder - .class); + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.class, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder.class); } public static final int INPUT_GCS_SOURCE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object inputGcsSource_ = ""; /** - * - * *
      * The source of the document, same as the
      * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -505,7 +417,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string input_gcs_source = 1; - * * @return The inputGcsSource. */ @java.lang.Override @@ -514,15 +425,14 @@ public java.lang.String getInputGcsSource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputGcsSource_ = s; return s; } } /** - * - * *
      * The source of the document, same as the
      * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -530,15 +440,16 @@ public java.lang.String getInputGcsSource() {
      * 
* * string input_gcs_source = 1; - * * @return The bytes for inputGcsSource. */ @java.lang.Override - public com.google.protobuf.ByteString getInputGcsSourceBytes() { + public com.google.protobuf.ByteString + getInputGcsSourceBytes() { java.lang.Object ref = inputGcsSource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputGcsSource_ = b; return b; } else { @@ -549,14 +460,11 @@ public com.google.protobuf.ByteString getInputGcsSourceBytes() { public static final int STATUS_FIELD_NUMBER = 2; private com.google.rpc.Status status_; /** - * - * *
      * The status processing the document.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -564,14 +472,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The status processing the document.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -579,8 +484,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The status processing the document.
      * 
@@ -593,12 +496,9 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } public static final int OUTPUT_GCS_DESTINATION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object outputGcsDestination_ = ""; /** - * - * *
      * The Cloud Storage output destination (in the request as
      * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -606,7 +506,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * 
* * string output_gcs_destination = 3; - * * @return The outputGcsDestination. */ @java.lang.Override @@ -615,15 +514,14 @@ public java.lang.String getOutputGcsDestination() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputGcsDestination_ = s; return s; } } /** - * - * *
      * The Cloud Storage output destination (in the request as
      * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -631,15 +529,16 @@ public java.lang.String getOutputGcsDestination() {
      * 
* * string output_gcs_destination = 3; - * * @return The bytes for outputGcsDestination. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputGcsDestinationBytes() { + public com.google.protobuf.ByteString + getOutputGcsDestinationBytes() { java.lang.Object ref = outputGcsDestination_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputGcsDestination_ = b; return b; } else { @@ -650,14 +549,11 @@ public com.google.protobuf.ByteString getOutputGcsDestinationBytes() { public static final int HUMAN_REVIEW_STATUS_FIELD_NUMBER = 5; private com.google.cloud.documentai.v1.HumanReviewStatus humanReviewStatus_; /** - * - * *
      * The status of human review on the processed document.
      * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; - * * @return Whether the humanReviewStatus field is set. */ @java.lang.Override @@ -665,25 +561,18 @@ public boolean hasHumanReviewStatus() { return humanReviewStatus_ != null; } /** - * - * *
      * The status of human review on the processed document.
      * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; - * * @return The humanReviewStatus. */ @java.lang.Override public com.google.cloud.documentai.v1.HumanReviewStatus getHumanReviewStatus() { - return humanReviewStatus_ == null - ? com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance() - : humanReviewStatus_; + return humanReviewStatus_ == null ? com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance() : humanReviewStatus_; } /** - * - * *
      * The status of human review on the processed document.
      * 
@@ -691,15 +580,11 @@ public com.google.cloud.documentai.v1.HumanReviewStatus getHumanReviewStatus() { * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; */ @java.lang.Override - public com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder - getHumanReviewStatusOrBuilder() { - return humanReviewStatus_ == null - ? com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance() - : humanReviewStatus_; + public com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder() { + return humanReviewStatus_ == null ? com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance() : humanReviewStatus_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -711,7 +596,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputGcsSource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, inputGcsSource_); } @@ -737,13 +623,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, inputGcsSource_); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputGcsDestination_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outputGcsDestination_); } if (humanReviewStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getHumanReviewStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getHumanReviewStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -753,24 +641,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus)) { + if (!(obj instanceof com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus)) { return super.equals(obj); } - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus other = - (com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) obj; + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus other = (com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) obj; - if (!getInputGcsSource().equals(other.getInputGcsSource())) return false; + if (!getInputGcsSource() + .equals(other.getInputGcsSource())) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } - if (!getOutputGcsDestination().equals(other.getOutputGcsDestination())) return false; + if (!getOutputGcsDestination() + .equals(other.getOutputGcsDestination())) return false; if (hasHumanReviewStatus() != other.hasHumanReviewStatus()) return false; if (hasHumanReviewStatus()) { - if (!getHumanReviewStatus().equals(other.getHumanReviewStatus())) return false; + if (!getHumanReviewStatus() + .equals(other.getHumanReviewStatus())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -800,101 +690,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -904,43 +783,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The status of a each individual document in the batch process.
      * 
* * Protobuf type {@code google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.DocumentAiProcessorService - .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.DocumentAiProcessorService - .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_fieldAccessorTable + return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.class, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder - .class); + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.class, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder.class); } - // Construct using - // com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.newBuilder() - private Builder() {} + // Construct using com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -961,22 +836,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.documentai.v1.DocumentAiProcessorService - .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_IndividualProcessStatus_descriptor; } @java.lang.Override - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - getDefaultInstanceForType() { - return com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - .getDefaultInstance(); + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType() { + return com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.getDefaultInstance(); } @java.lang.Override public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus build() { - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus result = - buildPartial(); + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -984,34 +856,30 @@ public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStat } @java.lang.Override - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - buildPartial() { - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus result = - new com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus buildPartial() { + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus result = new com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus result) { + private void buildPartial0(com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.inputGcsSource_ = inputGcsSource_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.outputGcsDestination_ = outputGcsDestination_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.humanReviewStatus_ = - humanReviewStatusBuilder_ == null - ? humanReviewStatus_ - : humanReviewStatusBuilder_.build(); + result.humanReviewStatus_ = humanReviewStatusBuilder_ == null + ? humanReviewStatus_ + : humanReviewStatusBuilder_.build(); } } @@ -1019,55 +887,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) { - return mergeFrom( - (com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) other); + if (other instanceof com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) { + return mergeFrom((com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus other) { - if (other - == com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus other) { + if (other == com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.getDefaultInstance()) return this; if (!other.getInputGcsSource().isEmpty()) { inputGcsSource_ = other.inputGcsSource_; bitField0_ |= 0x00000001; @@ -1110,38 +969,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - inputGcsSource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - outputGcsDestination_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: - { - input.readMessage( - getHumanReviewStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + inputGcsSource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + outputGcsDestination_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: { + input.readMessage( + getHumanReviewStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1151,13 +1008,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object inputGcsSource_ = ""; /** - * - * *
        * The source of the document, same as the
        * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -1165,13 +1019,13 @@ public Builder mergeFrom(
        * 
* * string input_gcs_source = 1; - * * @return The inputGcsSource. */ public java.lang.String getInputGcsSource() { java.lang.Object ref = inputGcsSource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputGcsSource_ = s; return s; @@ -1180,8 +1034,6 @@ public java.lang.String getInputGcsSource() { } } /** - * - * *
        * The source of the document, same as the
        * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -1189,14 +1041,15 @@ public java.lang.String getInputGcsSource() {
        * 
* * string input_gcs_source = 1; - * * @return The bytes for inputGcsSource. */ - public com.google.protobuf.ByteString getInputGcsSourceBytes() { + public com.google.protobuf.ByteString + getInputGcsSourceBytes() { java.lang.Object ref = inputGcsSource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputGcsSource_ = b; return b; } else { @@ -1204,8 +1057,6 @@ public com.google.protobuf.ByteString getInputGcsSourceBytes() { } } /** - * - * *
        * The source of the document, same as the
        * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -1213,22 +1064,18 @@ public com.google.protobuf.ByteString getInputGcsSourceBytes() {
        * 
* * string input_gcs_source = 1; - * * @param value The inputGcsSource to set. * @return This builder for chaining. */ - public Builder setInputGcsSource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputGcsSource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } inputGcsSource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The source of the document, same as the
        * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -1236,7 +1083,6 @@ public Builder setInputGcsSource(java.lang.String value) {
        * 
* * string input_gcs_source = 1; - * * @return This builder for chaining. */ public Builder clearInputGcsSource() { @@ -1246,8 +1092,6 @@ public Builder clearInputGcsSource() { return this; } /** - * - * *
        * The source of the document, same as the
        * [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source]
@@ -1255,14 +1099,12 @@ public Builder clearInputGcsSource() {
        * 
* * string input_gcs_source = 1; - * * @param value The bytes for inputGcsSource to set. * @return This builder for chaining. */ - public Builder setInputGcsSourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputGcsSourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); inputGcsSource_ = value; bitField0_ |= 0x00000001; @@ -1272,31 +1114,24 @@ public Builder setInputGcsSourceBytes(com.google.protobuf.ByteString value) { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
        * The status processing the document.
        * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The status processing the document.
        * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1307,8 +1142,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The status processing the document.
        * 
@@ -1329,15 +1162,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status processing the document.
        * 
* * .google.rpc.Status status = 2; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { @@ -1348,8 +1180,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
        * The status processing the document.
        * 
@@ -1358,9 +1188,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && status_ != null - && status_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + status_ != null && + status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -1373,8 +1203,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status processing the document.
        * 
@@ -1392,8 +1220,6 @@ public Builder clearStatus() { return this; } /** - * - * *
        * The status processing the document.
        * 
@@ -1406,8 +1232,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); } /** - * - * *
        * The status processing the document.
        * 
@@ -1418,12 +1242,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
        * The status processing the document.
        * 
@@ -1431,14 +1254,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -1446,8 +1269,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private java.lang.Object outputGcsDestination_ = ""; /** - * - * *
        * The Cloud Storage output destination (in the request as
        * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -1455,13 +1276,13 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        * 
* * string output_gcs_destination = 3; - * * @return The outputGcsDestination. */ public java.lang.String getOutputGcsDestination() { java.lang.Object ref = outputGcsDestination_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputGcsDestination_ = s; return s; @@ -1470,8 +1291,6 @@ public java.lang.String getOutputGcsDestination() { } } /** - * - * *
        * The Cloud Storage output destination (in the request as
        * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -1479,14 +1298,15 @@ public java.lang.String getOutputGcsDestination() {
        * 
* * string output_gcs_destination = 3; - * * @return The bytes for outputGcsDestination. */ - public com.google.protobuf.ByteString getOutputGcsDestinationBytes() { + public com.google.protobuf.ByteString + getOutputGcsDestinationBytes() { java.lang.Object ref = outputGcsDestination_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputGcsDestination_ = b; return b; } else { @@ -1494,8 +1314,6 @@ public com.google.protobuf.ByteString getOutputGcsDestinationBytes() { } } /** - * - * *
        * The Cloud Storage output destination (in the request as
        * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -1503,22 +1321,18 @@ public com.google.protobuf.ByteString getOutputGcsDestinationBytes() {
        * 
* * string output_gcs_destination = 3; - * * @param value The outputGcsDestination to set. * @return This builder for chaining. */ - public Builder setOutputGcsDestination(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputGcsDestination( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } outputGcsDestination_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The Cloud Storage output destination (in the request as
        * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -1526,7 +1340,6 @@ public Builder setOutputGcsDestination(java.lang.String value) {
        * 
* * string output_gcs_destination = 3; - * * @return This builder for chaining. */ public Builder clearOutputGcsDestination() { @@ -1536,8 +1349,6 @@ public Builder clearOutputGcsDestination() { return this; } /** - * - * *
        * The Cloud Storage output destination (in the request as
        * [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri])
@@ -1545,14 +1356,12 @@ public Builder clearOutputGcsDestination() {
        * 
* * string output_gcs_destination = 3; - * * @param value The bytes for outputGcsDestination to set. * @return This builder for chaining. */ - public Builder setOutputGcsDestinationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputGcsDestinationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outputGcsDestination_ = value; bitField0_ |= 0x00000004; @@ -1562,47 +1371,34 @@ public Builder setOutputGcsDestinationBytes(com.google.protobuf.ByteString value private com.google.cloud.documentai.v1.HumanReviewStatus humanReviewStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.HumanReviewStatus, - com.google.cloud.documentai.v1.HumanReviewStatus.Builder, - com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder> - humanReviewStatusBuilder_; + com.google.cloud.documentai.v1.HumanReviewStatus, com.google.cloud.documentai.v1.HumanReviewStatus.Builder, com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder> humanReviewStatusBuilder_; /** - * - * *
        * The status of human review on the processed document.
        * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; - * * @return Whether the humanReviewStatus field is set. */ public boolean hasHumanReviewStatus() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * The status of human review on the processed document.
        * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; - * * @return The humanReviewStatus. */ public com.google.cloud.documentai.v1.HumanReviewStatus getHumanReviewStatus() { if (humanReviewStatusBuilder_ == null) { - return humanReviewStatus_ == null - ? com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance() - : humanReviewStatus_; + return humanReviewStatus_ == null ? com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance() : humanReviewStatus_; } else { return humanReviewStatusBuilder_.getMessage(); } } /** - * - * *
        * The status of human review on the processed document.
        * 
@@ -1623,8 +1419,6 @@ public Builder setHumanReviewStatus(com.google.cloud.documentai.v1.HumanReviewSt return this; } /** - * - * *
        * The status of human review on the processed document.
        * 
@@ -1643,21 +1437,17 @@ public Builder setHumanReviewStatus( return this; } /** - * - * *
        * The status of human review on the processed document.
        * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; */ - public Builder mergeHumanReviewStatus( - com.google.cloud.documentai.v1.HumanReviewStatus value) { + public Builder mergeHumanReviewStatus(com.google.cloud.documentai.v1.HumanReviewStatus value) { if (humanReviewStatusBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && humanReviewStatus_ != null - && humanReviewStatus_ - != com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + humanReviewStatus_ != null && + humanReviewStatus_ != com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance()) { getHumanReviewStatusBuilder().mergeFrom(value); } else { humanReviewStatus_ = value; @@ -1670,8 +1460,6 @@ public Builder mergeHumanReviewStatus( return this; } /** - * - * *
        * The status of human review on the processed document.
        * 
@@ -1689,42 +1477,33 @@ public Builder clearHumanReviewStatus() { return this; } /** - * - * *
        * The status of human review on the processed document.
        * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; */ - public com.google.cloud.documentai.v1.HumanReviewStatus.Builder - getHumanReviewStatusBuilder() { + public com.google.cloud.documentai.v1.HumanReviewStatus.Builder getHumanReviewStatusBuilder() { bitField0_ |= 0x00000008; onChanged(); return getHumanReviewStatusFieldBuilder().getBuilder(); } /** - * - * *
        * The status of human review on the processed document.
        * 
* * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; */ - public com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder - getHumanReviewStatusOrBuilder() { + public com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder() { if (humanReviewStatusBuilder_ != null) { return humanReviewStatusBuilder_.getMessageOrBuilder(); } else { - return humanReviewStatus_ == null - ? com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance() - : humanReviewStatus_; + return humanReviewStatus_ == null ? + com.google.cloud.documentai.v1.HumanReviewStatus.getDefaultInstance() : humanReviewStatus_; } } /** - * - * *
        * The status of human review on the processed document.
        * 
@@ -1732,22 +1511,18 @@ public Builder clearHumanReviewStatus() { * .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.HumanReviewStatus, - com.google.cloud.documentai.v1.HumanReviewStatus.Builder, - com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder> + com.google.cloud.documentai.v1.HumanReviewStatus, com.google.cloud.documentai.v1.HumanReviewStatus.Builder, com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder> getHumanReviewStatusFieldBuilder() { if (humanReviewStatusBuilder_ == null) { - humanReviewStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.HumanReviewStatus, - com.google.cloud.documentai.v1.HumanReviewStatus.Builder, - com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder>( - getHumanReviewStatus(), getParentForChildren(), isClean()); + humanReviewStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.HumanReviewStatus, com.google.cloud.documentai.v1.HumanReviewStatus.Builder, com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder>( + getHumanReviewStatus(), + getParentForChildren(), + isClean()); humanReviewStatus_ = null; } return humanReviewStatusBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1760,46 +1535,42 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus) - private static final com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - DEFAULT_INSTANCE; - + private static final com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus(); + DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus(); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - getDefaultInstance() { + public static com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndividualProcessStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndividualProcessStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + public static com.google.protobuf.Parser parser() { return PARSER; } @@ -1810,63 +1581,48 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - getDefaultInstanceForType() { + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** - * - * *
    * The state of the current batch processing.
    * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the current batch processing.
    * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.documentai.v1.BatchProcessMetadata.State getState() { - com.google.cloud.documentai.v1.BatchProcessMetadata.State result = - com.google.cloud.documentai.v1.BatchProcessMetadata.State.forNumber(state_); - return result == null - ? com.google.cloud.documentai.v1.BatchProcessMetadata.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.documentai.v1.BatchProcessMetadata.State getState() { + com.google.cloud.documentai.v1.BatchProcessMetadata.State result = com.google.cloud.documentai.v1.BatchProcessMetadata.State.forNumber(state_); + return result == null ? com.google.cloud.documentai.v1.BatchProcessMetadata.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object stateMessage_ = ""; /** - * - * *
    * A message providing more details about the current state of processing.
    * For example, the error message if the operation is failed.
    * 
* * string state_message = 2; - * * @return The stateMessage. */ @java.lang.Override @@ -1875,30 +1631,30 @@ public java.lang.String getStateMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateMessage_ = s; return s; } } /** - * - * *
    * A message providing more details about the current state of processing.
    * For example, the error message if the operation is failed.
    * 
* * string state_message = 2; - * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateMessage_ = b; return b; } else { @@ -1909,14 +1665,11 @@ public com.google.protobuf.ByteString getStateMessageBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1924,14 +1677,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ @java.lang.Override @@ -1939,8 +1689,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The creation time of the operation.
    * 
@@ -1955,14 +1703,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1970,14 +1715,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -1985,8 +1727,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update time of the operation.
    * 
@@ -1999,95 +1739,67 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int INDIVIDUAL_PROCESS_STATUSES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus> - individualProcessStatuses_; + private java.util.List individualProcessStatuses_; /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ @java.lang.Override - public java.util.List - getIndividualProcessStatusesList() { + public java.util.List getIndividualProcessStatusesList() { return individualProcessStatuses_; } /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder> + public java.util.List getIndividualProcessStatusesOrBuilderList() { return individualProcessStatuses_; } /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ @java.lang.Override public int getIndividualProcessStatusesCount() { return individualProcessStatuses_.size(); } /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ @java.lang.Override - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - getIndividualProcessStatuses(int index) { + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus getIndividualProcessStatuses(int index) { return individualProcessStatuses_.get(index); } /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ @java.lang.Override - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder - getIndividualProcessStatusesOrBuilder(int index) { + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder getIndividualProcessStatusesOrBuilder( + int index) { return individualProcessStatuses_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2099,10 +1811,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.documentai.v1.BatchProcessMetadata.State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.documentai.v1.BatchProcessMetadata.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { @@ -2126,24 +1837,24 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.documentai.v1.BatchProcessMetadata.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.documentai.v1.BatchProcessMetadata.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateMessage_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } for (int i = 0; i < individualProcessStatuses_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, individualProcessStatuses_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, individualProcessStatuses_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2153,26 +1864,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.BatchProcessMetadata)) { return super.equals(obj); } - com.google.cloud.documentai.v1.BatchProcessMetadata other = - (com.google.cloud.documentai.v1.BatchProcessMetadata) obj; + com.google.cloud.documentai.v1.BatchProcessMetadata other = (com.google.cloud.documentai.v1.BatchProcessMetadata) obj; if (state_ != other.state_) return false; - if (!getStateMessage().equals(other.getStateMessage())) return false; + if (!getStateMessage() + .equals(other.getStateMessage())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getIndividualProcessStatusesList().equals(other.getIndividualProcessStatusesList())) - return false; + if (!getIndividualProcessStatusesList() + .equals(other.getIndividualProcessStatusesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2206,103 +1919,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchProcessMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.BatchProcessMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BatchProcessMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.documentai.v1.BatchProcessMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The long-running operation metadata for
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
@@ -2310,32 +2018,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.BatchProcessMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.BatchProcessMetadata)
       com.google.cloud.documentai.v1.BatchProcessMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.BatchProcessMetadata.class,
-              com.google.cloud.documentai.v1.BatchProcessMetadata.Builder.class);
+              com.google.cloud.documentai.v1.BatchProcessMetadata.class, com.google.cloud.documentai.v1.BatchProcessMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.BatchProcessMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2363,9 +2072,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -2384,22 +2093,17 @@ public com.google.cloud.documentai.v1.BatchProcessMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.BatchProcessMetadata buildPartial() {
-      com.google.cloud.documentai.v1.BatchProcessMetadata result =
-          new com.google.cloud.documentai.v1.BatchProcessMetadata(this);
+      com.google.cloud.documentai.v1.BatchProcessMetadata result = new com.google.cloud.documentai.v1.BatchProcessMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.documentai.v1.BatchProcessMetadata result) {
+    private void buildPartialRepeatedFields(com.google.cloud.documentai.v1.BatchProcessMetadata result) {
       if (individualProcessStatusesBuilder_ == null) {
         if (((bitField0_ & 0x00000010) != 0)) {
-          individualProcessStatuses_ =
-              java.util.Collections.unmodifiableList(individualProcessStatuses_);
+          individualProcessStatuses_ = java.util.Collections.unmodifiableList(individualProcessStatuses_);
           bitField0_ = (bitField0_ & ~0x00000010);
         }
         result.individualProcessStatuses_ = individualProcessStatuses_;
@@ -2417,10 +2121,14 @@ private void buildPartial0(com.google.cloud.documentai.v1.BatchProcessMetadata r
         result.stateMessage_ = stateMessage_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
     }
 
@@ -2428,39 +2136,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.BatchProcessMetadata r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.BatchProcessMetadata) {
-        return mergeFrom((com.google.cloud.documentai.v1.BatchProcessMetadata) other);
+        return mergeFrom((com.google.cloud.documentai.v1.BatchProcessMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2468,8 +2175,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.BatchProcessMetadata other) {
-      if (other == com.google.cloud.documentai.v1.BatchProcessMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.BatchProcessMetadata.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -2502,10 +2208,9 @@ public Builder mergeFrom(com.google.cloud.documentai.v1.BatchProcessMetadata oth
             individualProcessStatusesBuilder_ = null;
             individualProcessStatuses_ = other.individualProcessStatuses_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            individualProcessStatusesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getIndividualProcessStatusesFieldBuilder()
-                    : null;
+            individualProcessStatusesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getIndividualProcessStatusesFieldBuilder() : null;
           } else {
             individualProcessStatusesBuilder_.addAllMessages(other.individualProcessStatuses_);
           }
@@ -2537,52 +2242,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                stateMessage_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus m =
-                    input.readMessage(
-                        com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus
-                            .parser(),
-                        extensionRegistry);
-                if (individualProcessStatusesBuilder_ == null) {
-                  ensureIndividualProcessStatusesIsMutable();
-                  individualProcessStatuses_.add(m);
-                } else {
-                  individualProcessStatusesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              stateMessage_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus m =
+                  input.readMessage(
+                      com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.parser(),
+                      extensionRegistry);
+              if (individualProcessStatusesBuilder_ == null) {
+                ensureIndividualProcessStatusesIsMutable();
+                individualProcessStatuses_.add(m);
+              } else {
+                individualProcessStatusesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2592,34 +2294,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The state of the current batch processing.
      * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the current batch processing.
      * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2630,33 +2324,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The state of the current batch processing.
      * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.documentai.v1.BatchProcessMetadata.State getState() { - com.google.cloud.documentai.v1.BatchProcessMetadata.State result = - com.google.cloud.documentai.v1.BatchProcessMetadata.State.forNumber(state_); - return result == null - ? com.google.cloud.documentai.v1.BatchProcessMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.documentai.v1.BatchProcessMetadata.State result = com.google.cloud.documentai.v1.BatchProcessMetadata.State.forNumber(state_); + return result == null ? com.google.cloud.documentai.v1.BatchProcessMetadata.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of the current batch processing.
      * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -2670,14 +2355,11 @@ public Builder setState(com.google.cloud.documentai.v1.BatchProcessMetadata.Stat return this; } /** - * - * *
      * The state of the current batch processing.
      * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -2689,21 +2371,19 @@ public Builder clearState() { private java.lang.Object stateMessage_ = ""; /** - * - * *
      * A message providing more details about the current state of processing.
      * For example, the error message if the operation is failed.
      * 
* * string state_message = 2; - * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateMessage_ = s; return s; @@ -2712,22 +2392,21 @@ public java.lang.String getStateMessage() { } } /** - * - * *
      * A message providing more details about the current state of processing.
      * For example, the error message if the operation is failed.
      * 
* * string state_message = 2; - * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateMessage_ = b; return b; } else { @@ -2735,37 +2414,30 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } } /** - * - * *
      * A message providing more details about the current state of processing.
      * For example, the error message if the operation is failed.
      * 
* * string state_message = 2; - * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStateMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } stateMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A message providing more details about the current state of processing.
      * For example, the error message if the operation is failed.
      * 
* * string state_message = 2; - * * @return This builder for chaining. */ public Builder clearStateMessage() { @@ -2775,22 +2447,18 @@ public Builder clearStateMessage() { return this; } /** - * - * *
      * A message providing more details about the current state of processing.
      * For example, the error message if the operation is failed.
      * 
* * string state_message = 2; - * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStateMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stateMessage_ = value; bitField0_ |= 0x00000002; @@ -2800,47 +2468,34 @@ public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2861,15 +2516,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 3; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2880,8 +2534,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2890,9 +2542,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2905,8 +2557,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2924,8 +2574,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2938,8 +2586,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2950,14 +2596,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2965,17 +2608,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2983,47 +2623,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3044,15 +2671,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3063,8 +2689,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3073,9 +2697,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3088,8 +2712,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3107,8 +2729,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3121,8 +2741,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3133,14 +2751,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3148,56 +2763,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - private java.util.List< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus> - individualProcessStatuses_ = java.util.Collections.emptyList(); - + private java.util.List individualProcessStatuses_ = + java.util.Collections.emptyList(); private void ensureIndividualProcessStatusesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - individualProcessStatuses_ = - new java.util.ArrayList< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus>( - individualProcessStatuses_); + individualProcessStatuses_ = new java.util.ArrayList(individualProcessStatuses_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder> - individualProcessStatusesBuilder_; + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder> individualProcessStatusesBuilder_; /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public java.util.List< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus> - getIndividualProcessStatusesList() { + public java.util.List getIndividualProcessStatusesList() { if (individualProcessStatusesBuilder_ == null) { return java.util.Collections.unmodifiableList(individualProcessStatuses_); } else { @@ -3205,15 +2803,11 @@ private void ensureIndividualProcessStatusesIsMutable() { } } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public int getIndividualProcessStatusesCount() { if (individualProcessStatusesBuilder_ == null) { @@ -3223,18 +2817,13 @@ public int getIndividualProcessStatusesCount() { } } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - getIndividualProcessStatuses(int index) { + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus getIndividualProcessStatuses(int index) { if (individualProcessStatusesBuilder_ == null) { return individualProcessStatuses_.get(index); } else { @@ -3242,19 +2831,14 @@ public int getIndividualProcessStatusesCount() { } } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public Builder setIndividualProcessStatuses( - int index, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus value) { + int index, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus value) { if (individualProcessStatusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3268,20 +2852,14 @@ public Builder setIndividualProcessStatuses( return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public Builder setIndividualProcessStatuses( - int index, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder - builderForValue) { + int index, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder builderForValue) { if (individualProcessStatusesBuilder_ == null) { ensureIndividualProcessStatusesIsMutable(); individualProcessStatuses_.set(index, builderForValue.build()); @@ -3292,18 +2870,13 @@ public Builder setIndividualProcessStatuses( return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public Builder addIndividualProcessStatuses( - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus value) { + public Builder addIndividualProcessStatuses(com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus value) { if (individualProcessStatusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3317,19 +2890,14 @@ public Builder addIndividualProcessStatuses( return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public Builder addIndividualProcessStatuses( - int index, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus value) { + int index, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus value) { if (individualProcessStatusesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3343,19 +2911,14 @@ public Builder addIndividualProcessStatuses( return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public Builder addIndividualProcessStatuses( - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder - builderForValue) { + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder builderForValue) { if (individualProcessStatusesBuilder_ == null) { ensureIndividualProcessStatusesIsMutable(); individualProcessStatuses_.add(builderForValue.build()); @@ -3366,20 +2929,14 @@ public Builder addIndividualProcessStatuses( return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public Builder addIndividualProcessStatuses( - int index, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder - builderForValue) { + int index, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder builderForValue) { if (individualProcessStatusesBuilder_ == null) { ensureIndividualProcessStatusesIsMutable(); individualProcessStatuses_.add(index, builderForValue.build()); @@ -3390,24 +2947,18 @@ public Builder addIndividualProcessStatuses( return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public Builder addAllIndividualProcessStatuses( - java.lang.Iterable< - ? extends - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus> - values) { + java.lang.Iterable values) { if (individualProcessStatusesBuilder_ == null) { ensureIndividualProcessStatusesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, individualProcessStatuses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, individualProcessStatuses_); onChanged(); } else { individualProcessStatusesBuilder_.addAllMessages(values); @@ -3415,15 +2966,11 @@ public Builder addAllIndividualProcessStatuses( return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public Builder clearIndividualProcessStatuses() { if (individualProcessStatusesBuilder_ == null) { @@ -3436,15 +2983,11 @@ public Builder clearIndividualProcessStatuses() { return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ public Builder removeIndividualProcessStatuses(int index) { if (individualProcessStatusesBuilder_ == null) { @@ -3457,55 +3000,39 @@ public Builder removeIndividualProcessStatuses(int index) { return this; } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder - getIndividualProcessStatusesBuilder(int index) { + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder getIndividualProcessStatusesBuilder( + int index) { return getIndividualProcessStatusesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder - getIndividualProcessStatusesOrBuilder(int index) { + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder getIndividualProcessStatusesOrBuilder( + int index) { if (individualProcessStatusesBuilder_ == null) { - return individualProcessStatuses_.get(index); - } else { + return individualProcessStatuses_.get(index); } else { return individualProcessStatusesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public java.util.List< - ? extends - com.google.cloud.documentai.v1.BatchProcessMetadata - .IndividualProcessStatusOrBuilder> - getIndividualProcessStatusesOrBuilderList() { + public java.util.List + getIndividualProcessStatusesOrBuilderList() { if (individualProcessStatusesBuilder_ != null) { return individualProcessStatusesBuilder_.getMessageOrBuilderList(); } else { @@ -3513,71 +3040,45 @@ public Builder removeIndividualProcessStatuses(int index) { } } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder - addIndividualProcessStatusesBuilder() { - return getIndividualProcessStatusesFieldBuilder() - .addBuilder( - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - .getDefaultInstance()); + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder addIndividualProcessStatusesBuilder() { + return getIndividualProcessStatusesFieldBuilder().addBuilder( + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.getDefaultInstance()); } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder - addIndividualProcessStatusesBuilder(int index) { - return getIndividualProcessStatusesFieldBuilder() - .addBuilder( - index, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - .getDefaultInstance()); + public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder addIndividualProcessStatusesBuilder( + int index) { + return getIndividualProcessStatusesFieldBuilder().addBuilder( + index, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.getDefaultInstance()); } /** - * - * *
      * The list of response details of each document.
      * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - public java.util.List< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder> - getIndividualProcessStatusesBuilderList() { + public java.util.List + getIndividualProcessStatusesBuilderList() { return getIndividualProcessStatusesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder> + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder> getIndividualProcessStatusesFieldBuilder() { if (individualProcessStatusesBuilder_ == null) { - individualProcessStatusesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus, - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder, - com.google.cloud.documentai.v1.BatchProcessMetadata - .IndividualProcessStatusOrBuilder>( + individualProcessStatusesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.Builder, com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder>( individualProcessStatuses_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -3586,9 +3087,9 @@ public Builder removeIndividualProcessStatuses(int index) { } return individualProcessStatusesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3598,12 +3099,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.BatchProcessMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.BatchProcessMetadata) private static final com.google.cloud.documentai.v1.BatchProcessMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.BatchProcessMetadata(); } @@ -3612,27 +3113,27 @@ public static com.google.cloud.documentai.v1.BatchProcessMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchProcessMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchProcessMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3647,4 +3148,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.BatchProcessMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadataOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadataOrBuilder.java similarity index 64% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadataOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadataOrBuilder.java index f8b45ca61af2..96bf472e123c 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadataOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessMetadataOrBuilder.java @@ -1,107 +1,72 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; -public interface BatchProcessMetadataOrBuilder - extends +public interface BatchProcessMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.BatchProcessMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The state of the current batch processing.
    * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the current batch processing.
    * 
* * .google.cloud.documentai.v1.BatchProcessMetadata.State state = 1; - * * @return The state. */ com.google.cloud.documentai.v1.BatchProcessMetadata.State getState(); /** - * - * *
    * A message providing more details about the current state of processing.
    * For example, the error message if the operation is failed.
    * 
* * string state_message = 2; - * * @return The stateMessage. */ java.lang.String getStateMessage(); /** - * - * *
    * A message providing more details about the current state of processing.
    * For example, the error message if the operation is failed.
    * 
* * string state_message = 2; - * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString getStateMessageBytes(); + com.google.protobuf.ByteString + getStateMessageBytes(); /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The creation time of the operation.
    * 
@@ -111,32 +76,24 @@ public interface BatchProcessMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last update time of the operation.
    * 
@@ -146,69 +103,46 @@ public interface BatchProcessMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - java.util.List + java.util.List getIndividualProcessStatusesList(); /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus - getIndividualProcessStatuses(int index); + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus getIndividualProcessStatuses(int index); /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ int getIndividualProcessStatusesCount(); /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - java.util.List< - ? extends - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder> + java.util.List getIndividualProcessStatusesOrBuilderList(); /** - * - * *
    * The list of response details of each document.
    * 
* - * - * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; - * + * repeated .google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus individual_process_statuses = 5; */ - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder - getIndividualProcessStatusesOrBuilder(int index); + com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatusOrBuilder getIndividualProcessStatusesOrBuilder( + int index); } diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java similarity index 71% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java index bfba9edd0a9c..dbf03ba43d88 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Request message for
  * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.BatchProcessRequest}
  */
-public final class BatchProcessRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchProcessRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.BatchProcessRequest)
     BatchProcessRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchProcessRequest.newBuilder() to construct.
   private BatchProcessRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchProcessRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchProcessRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_BatchProcessRequest_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.BatchProcessRequest.class,
-            com.google.cloud.documentai.v1.BatchProcessRequest.Builder.class);
+            com.google.cloud.documentai.v1.BatchProcessRequest.class, com.google.cloud.documentai.v1.BatchProcessRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The resource name of
    * [Processor][google.cloud.documentai.v1.Processor] or
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +66,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of
    * [Processor][google.cloud.documentai.v1.Processor] or
@@ -109,18 +83,17 @@ public java.lang.String getName() {
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,8 +104,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INPUT_DOCUMENTS_FIELD_NUMBER = 5; private com.google.cloud.documentai.v1.BatchDocumentsInputConfig inputDocuments_; /** - * - * *
    * The input documents for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -140,7 +111,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return Whether the inputDocuments field is set. */ @java.lang.Override @@ -148,8 +118,6 @@ public boolean hasInputDocuments() { return inputDocuments_ != null; } /** - * - * *
    * The input documents for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -157,18 +125,13 @@ public boolean hasInputDocuments() {
    * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return The inputDocuments. */ @java.lang.Override public com.google.cloud.documentai.v1.BatchDocumentsInputConfig getInputDocuments() { - return inputDocuments_ == null - ? com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance() - : inputDocuments_; + return inputDocuments_ == null ? com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance() : inputDocuments_; } /** - * - * *
    * The input documents for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -178,18 +141,13 @@ public com.google.cloud.documentai.v1.BatchDocumentsInputConfig getInputDocument
    * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
    */
   @java.lang.Override
-  public com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder
-      getInputDocumentsOrBuilder() {
-    return inputDocuments_ == null
-        ? com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance()
-        : inputDocuments_;
+  public com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder() {
+    return inputDocuments_ == null ? com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance() : inputDocuments_;
   }
 
   public static final int DOCUMENT_OUTPUT_CONFIG_FIELD_NUMBER = 6;
   private com.google.cloud.documentai.v1.DocumentOutputConfig documentOutputConfig_;
   /**
-   *
-   *
    * 
    * The output configuration for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -197,7 +155,6 @@ public com.google.cloud.documentai.v1.BatchDocumentsInputConfig getInputDocument
    * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return Whether the documentOutputConfig field is set. */ @java.lang.Override @@ -205,8 +162,6 @@ public boolean hasDocumentOutputConfig() { return documentOutputConfig_ != null; } /** - * - * *
    * The output configuration for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -214,18 +169,13 @@ public boolean hasDocumentOutputConfig() {
    * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return The documentOutputConfig. */ @java.lang.Override public com.google.cloud.documentai.v1.DocumentOutputConfig getDocumentOutputConfig() { - return documentOutputConfig_ == null - ? com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance() - : documentOutputConfig_; + return documentOutputConfig_ == null ? com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance() : documentOutputConfig_; } /** - * - * *
    * The output configuration for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -235,25 +185,19 @@ public com.google.cloud.documentai.v1.DocumentOutputConfig getDocumentOutputConf
    * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;
    */
   @java.lang.Override
-  public com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder
-      getDocumentOutputConfigOrBuilder() {
-    return documentOutputConfig_ == null
-        ? com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance()
-        : documentOutputConfig_;
+  public com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder() {
+    return documentOutputConfig_ == null ? com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance() : documentOutputConfig_;
   }
 
   public static final int SKIP_HUMAN_REVIEW_FIELD_NUMBER = 4;
   private boolean skipHumanReview_ = false;
   /**
-   *
-   *
    * 
    * Whether human review should be skipped for this request. Default to
    * `false`.
    * 
* * bool skip_human_review = 4; - * * @return The skipHumanReview. */ @java.lang.Override @@ -264,14 +208,11 @@ public boolean getSkipHumanReview() { public static final int PROCESS_OPTIONS_FIELD_NUMBER = 7; private com.google.cloud.documentai.v1.ProcessOptions processOptions_; /** - * - * *
    * Inference-time options for the process API
    * 
* * .google.cloud.documentai.v1.ProcessOptions process_options = 7; - * * @return Whether the processOptions field is set. */ @java.lang.Override @@ -279,25 +220,18 @@ public boolean hasProcessOptions() { return processOptions_ != null; } /** - * - * *
    * Inference-time options for the process API
    * 
* * .google.cloud.documentai.v1.ProcessOptions process_options = 7; - * * @return The processOptions. */ @java.lang.Override public com.google.cloud.documentai.v1.ProcessOptions getProcessOptions() { - return processOptions_ == null - ? com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance() - : processOptions_; + return processOptions_ == null ? com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance() : processOptions_; } /** - * - * *
    * Inference-time options for the process API
    * 
@@ -306,13 +240,10 @@ public com.google.cloud.documentai.v1.ProcessOptions getProcessOptions() { */ @java.lang.Override public com.google.cloud.documentai.v1.ProcessOptionsOrBuilder getProcessOptionsOrBuilder() { - return processOptions_ == null - ? com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance() - : processOptions_; + return processOptions_ == null ? com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance() : processOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -353,17 +285,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (skipHumanReview_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, skipHumanReview_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, skipHumanReview_); } if (inputDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInputDocuments()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInputDocuments()); } if (documentOutputConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDocumentOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDocumentOutputConfig()); } if (processOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getProcessOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getProcessOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -373,27 +308,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.BatchProcessRequest)) { return super.equals(obj); } - com.google.cloud.documentai.v1.BatchProcessRequest other = - (com.google.cloud.documentai.v1.BatchProcessRequest) obj; + com.google.cloud.documentai.v1.BatchProcessRequest other = (com.google.cloud.documentai.v1.BatchProcessRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasInputDocuments() != other.hasInputDocuments()) return false; if (hasInputDocuments()) { - if (!getInputDocuments().equals(other.getInputDocuments())) return false; + if (!getInputDocuments() + .equals(other.getInputDocuments())) return false; } if (hasDocumentOutputConfig() != other.hasDocumentOutputConfig()) return false; if (hasDocumentOutputConfig()) { - if (!getDocumentOutputConfig().equals(other.getDocumentOutputConfig())) return false; + if (!getDocumentOutputConfig() + .equals(other.getDocumentOutputConfig())) return false; } - if (getSkipHumanReview() != other.getSkipHumanReview()) return false; + if (getSkipHumanReview() + != other.getSkipHumanReview()) return false; if (hasProcessOptions() != other.hasProcessOptions()) return false; if (hasProcessOptions()) { - if (!getProcessOptions().equals(other.getProcessOptions())) return false; + if (!getProcessOptions() + .equals(other.getProcessOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -417,7 +356,8 @@ public int hashCode() { hash = (53 * hash) + getDocumentOutputConfig().hashCode(); } hash = (37 * hash) + SKIP_HUMAN_REVIEW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSkipHumanReview()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSkipHumanReview()); if (hasProcessOptions()) { hash = (37 * hash) + PROCESS_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getProcessOptions().hashCode(); @@ -428,103 +368,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BatchProcessRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.BatchProcessRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BatchProcessRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.documentai.v1.BatchProcessRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
@@ -532,32 +467,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.BatchProcessRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.BatchProcessRequest)
       com.google.cloud.documentai.v1.BatchProcessRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessRequest_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.BatchProcessRequest.class,
-              com.google.cloud.documentai.v1.BatchProcessRequest.Builder.class);
+              com.google.cloud.documentai.v1.BatchProcessRequest.class, com.google.cloud.documentai.v1.BatchProcessRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.BatchProcessRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -583,9 +519,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessRequest_descriptor;
     }
 
     @java.lang.Override
@@ -604,11 +540,8 @@ public com.google.cloud.documentai.v1.BatchProcessRequest build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.BatchProcessRequest buildPartial() {
-      com.google.cloud.documentai.v1.BatchProcessRequest result =
-          new com.google.cloud.documentai.v1.BatchProcessRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.BatchProcessRequest result = new com.google.cloud.documentai.v1.BatchProcessRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -619,21 +552,22 @@ private void buildPartial0(com.google.cloud.documentai.v1.BatchProcessRequest re
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.inputDocuments_ =
-            inputDocumentsBuilder_ == null ? inputDocuments_ : inputDocumentsBuilder_.build();
+        result.inputDocuments_ = inputDocumentsBuilder_ == null
+            ? inputDocuments_
+            : inputDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.documentOutputConfig_ =
-            documentOutputConfigBuilder_ == null
-                ? documentOutputConfig_
-                : documentOutputConfigBuilder_.build();
+        result.documentOutputConfig_ = documentOutputConfigBuilder_ == null
+            ? documentOutputConfig_
+            : documentOutputConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.skipHumanReview_ = skipHumanReview_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.processOptions_ =
-            processOptionsBuilder_ == null ? processOptions_ : processOptionsBuilder_.build();
+        result.processOptions_ = processOptionsBuilder_ == null
+            ? processOptions_
+            : processOptionsBuilder_.build();
       }
     }
 
@@ -641,39 +575,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.BatchProcessRequest re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.BatchProcessRequest) {
-        return mergeFrom((com.google.cloud.documentai.v1.BatchProcessRequest) other);
+        return mergeFrom((com.google.cloud.documentai.v1.BatchProcessRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -681,8 +614,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.BatchProcessRequest other) {
-      if (other == com.google.cloud.documentai.v1.BatchProcessRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.BatchProcessRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -726,44 +658,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 32:
-              {
-                skipHumanReview_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getInputDocumentsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getDocumentOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getProcessOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 32: {
+              skipHumanReview_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getInputDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDocumentOutputConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getProcessOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -773,13 +704,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The resource name of
      * [Processor][google.cloud.documentai.v1.Processor] or
@@ -789,16 +717,14 @@ public Builder mergeFrom(
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -807,8 +733,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of
      * [Processor][google.cloud.documentai.v1.Processor] or
@@ -818,17 +742,16 @@ public java.lang.String getName() {
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -836,8 +759,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of
      * [Processor][google.cloud.documentai.v1.Processor] or
@@ -847,25 +768,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of
      * [Processor][google.cloud.documentai.v1.Processor] or
@@ -875,10 +790,7 @@ public Builder setName(java.lang.String value) {
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -888,8 +800,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of
      * [Processor][google.cloud.documentai.v1.Processor] or
@@ -899,17 +809,13 @@ public Builder clearName() {
      * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -919,13 +825,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.documentai.v1.BatchDocumentsInputConfig inputDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.BatchDocumentsInputConfig, - com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder, - com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder> - inputDocumentsBuilder_; + com.google.cloud.documentai.v1.BatchDocumentsInputConfig, com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder, com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder> inputDocumentsBuilder_; /** - * - * *
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -933,15 +834,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return Whether the inputDocuments field is set. */ public boolean hasInputDocuments() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -949,21 +847,16 @@ public boolean hasInputDocuments() {
      * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return The inputDocuments. */ public com.google.cloud.documentai.v1.BatchDocumentsInputConfig getInputDocuments() { if (inputDocumentsBuilder_ == null) { - return inputDocuments_ == null - ? com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance() - : inputDocuments_; + return inputDocuments_ == null ? com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance() : inputDocuments_; } else { return inputDocumentsBuilder_.getMessage(); } } /** - * - * *
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -972,8 +865,7 @@ public com.google.cloud.documentai.v1.BatchDocumentsInputConfig getInputDocument
      *
      * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
      */
-    public Builder setInputDocuments(
-        com.google.cloud.documentai.v1.BatchDocumentsInputConfig value) {
+    public Builder setInputDocuments(com.google.cloud.documentai.v1.BatchDocumentsInputConfig value) {
       if (inputDocumentsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -987,8 +879,6 @@ public Builder setInputDocuments(
       return this;
     }
     /**
-     *
-     *
      * 
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1009,8 +899,6 @@ public Builder setInputDocuments(
       return this;
     }
     /**
-     *
-     *
      * 
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1019,13 +907,11 @@ public Builder setInputDocuments(
      *
      * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
      */
-    public Builder mergeInputDocuments(
-        com.google.cloud.documentai.v1.BatchDocumentsInputConfig value) {
+    public Builder mergeInputDocuments(com.google.cloud.documentai.v1.BatchDocumentsInputConfig value) {
       if (inputDocumentsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && inputDocuments_ != null
-            && inputDocuments_
-                != com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          inputDocuments_ != null &&
+          inputDocuments_ != com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance()) {
           getInputDocumentsBuilder().mergeFrom(value);
         } else {
           inputDocuments_ = value;
@@ -1038,8 +924,6 @@ public Builder mergeInputDocuments(
       return this;
     }
     /**
-     *
-     *
      * 
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1059,8 +943,6 @@ public Builder clearInputDocuments() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1069,15 +951,12 @@ public Builder clearInputDocuments() {
      *
      * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
      */
-    public com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder
-        getInputDocumentsBuilder() {
+    public com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder getInputDocumentsBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
       return getInputDocumentsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1086,19 +965,15 @@ public Builder clearInputDocuments() {
      *
      * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
      */
-    public com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder
-        getInputDocumentsOrBuilder() {
+    public com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder() {
       if (inputDocumentsBuilder_ != null) {
         return inputDocumentsBuilder_.getMessageOrBuilder();
       } else {
-        return inputDocuments_ == null
-            ? com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance()
-            : inputDocuments_;
+        return inputDocuments_ == null ?
+            com.google.cloud.documentai.v1.BatchDocumentsInputConfig.getDefaultInstance() : inputDocuments_;
       }
     }
     /**
-     *
-     *
      * 
      * The input documents for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1108,17 +983,14 @@ public Builder clearInputDocuments() {
      * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.documentai.v1.BatchDocumentsInputConfig,
-            com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder,
-            com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder>
+        com.google.cloud.documentai.v1.BatchDocumentsInputConfig, com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder, com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder> 
         getInputDocumentsFieldBuilder() {
       if (inputDocumentsBuilder_ == null) {
-        inputDocumentsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.documentai.v1.BatchDocumentsInputConfig,
-                com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder,
-                com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder>(
-                getInputDocuments(), getParentForChildren(), isClean());
+        inputDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.documentai.v1.BatchDocumentsInputConfig, com.google.cloud.documentai.v1.BatchDocumentsInputConfig.Builder, com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder>(
+                getInputDocuments(),
+                getParentForChildren(),
+                isClean());
         inputDocuments_ = null;
       }
       return inputDocumentsBuilder_;
@@ -1126,13 +998,8 @@ public Builder clearInputDocuments() {
 
     private com.google.cloud.documentai.v1.DocumentOutputConfig documentOutputConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.documentai.v1.DocumentOutputConfig,
-            com.google.cloud.documentai.v1.DocumentOutputConfig.Builder,
-            com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder>
-        documentOutputConfigBuilder_;
+        com.google.cloud.documentai.v1.DocumentOutputConfig, com.google.cloud.documentai.v1.DocumentOutputConfig.Builder, com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder> documentOutputConfigBuilder_;
     /**
-     *
-     *
      * 
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1140,15 +1007,12 @@ public Builder clearInputDocuments() {
      * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return Whether the documentOutputConfig field is set. */ public boolean hasDocumentOutputConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1156,21 +1020,16 @@ public boolean hasDocumentOutputConfig() {
      * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return The documentOutputConfig. */ public com.google.cloud.documentai.v1.DocumentOutputConfig getDocumentOutputConfig() { if (documentOutputConfigBuilder_ == null) { - return documentOutputConfig_ == null - ? com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance() - : documentOutputConfig_; + return documentOutputConfig_ == null ? com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance() : documentOutputConfig_; } else { return documentOutputConfigBuilder_.getMessage(); } } /** - * - * *
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1179,8 +1038,7 @@ public com.google.cloud.documentai.v1.DocumentOutputConfig getDocumentOutputConf
      *
      * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;
      */
-    public Builder setDocumentOutputConfig(
-        com.google.cloud.documentai.v1.DocumentOutputConfig value) {
+    public Builder setDocumentOutputConfig(com.google.cloud.documentai.v1.DocumentOutputConfig value) {
       if (documentOutputConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1194,8 +1052,6 @@ public Builder setDocumentOutputConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1216,8 +1072,6 @@ public Builder setDocumentOutputConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1226,13 +1080,11 @@ public Builder setDocumentOutputConfig(
      *
      * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;
      */
-    public Builder mergeDocumentOutputConfig(
-        com.google.cloud.documentai.v1.DocumentOutputConfig value) {
+    public Builder mergeDocumentOutputConfig(com.google.cloud.documentai.v1.DocumentOutputConfig value) {
       if (documentOutputConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && documentOutputConfig_ != null
-            && documentOutputConfig_
-                != com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          documentOutputConfig_ != null &&
+          documentOutputConfig_ != com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance()) {
           getDocumentOutputConfigBuilder().mergeFrom(value);
         } else {
           documentOutputConfig_ = value;
@@ -1245,8 +1097,6 @@ public Builder mergeDocumentOutputConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1266,8 +1116,6 @@ public Builder clearDocumentOutputConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1276,15 +1124,12 @@ public Builder clearDocumentOutputConfig() {
      *
      * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;
      */
-    public com.google.cloud.documentai.v1.DocumentOutputConfig.Builder
-        getDocumentOutputConfigBuilder() {
+    public com.google.cloud.documentai.v1.DocumentOutputConfig.Builder getDocumentOutputConfigBuilder() {
       bitField0_ |= 0x00000004;
       onChanged();
       return getDocumentOutputConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1293,19 +1138,15 @@ public Builder clearDocumentOutputConfig() {
      *
      * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;
      */
-    public com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder
-        getDocumentOutputConfigOrBuilder() {
+    public com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder() {
       if (documentOutputConfigBuilder_ != null) {
         return documentOutputConfigBuilder_.getMessageOrBuilder();
       } else {
-        return documentOutputConfig_ == null
-            ? com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance()
-            : documentOutputConfig_;
+        return documentOutputConfig_ == null ?
+            com.google.cloud.documentai.v1.DocumentOutputConfig.getDefaultInstance() : documentOutputConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The output configuration for the
      * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -1315,33 +1156,27 @@ public Builder clearDocumentOutputConfig() {
      * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.documentai.v1.DocumentOutputConfig,
-            com.google.cloud.documentai.v1.DocumentOutputConfig.Builder,
-            com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder>
+        com.google.cloud.documentai.v1.DocumentOutputConfig, com.google.cloud.documentai.v1.DocumentOutputConfig.Builder, com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder> 
         getDocumentOutputConfigFieldBuilder() {
       if (documentOutputConfigBuilder_ == null) {
-        documentOutputConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.documentai.v1.DocumentOutputConfig,
-                com.google.cloud.documentai.v1.DocumentOutputConfig.Builder,
-                com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder>(
-                getDocumentOutputConfig(), getParentForChildren(), isClean());
+        documentOutputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.documentai.v1.DocumentOutputConfig, com.google.cloud.documentai.v1.DocumentOutputConfig.Builder, com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder>(
+                getDocumentOutputConfig(),
+                getParentForChildren(),
+                isClean());
         documentOutputConfig_ = null;
       }
       return documentOutputConfigBuilder_;
     }
 
-    private boolean skipHumanReview_;
+    private boolean skipHumanReview_ ;
     /**
-     *
-     *
      * 
      * Whether human review should be skipped for this request. Default to
      * `false`.
      * 
* * bool skip_human_review = 4; - * * @return The skipHumanReview. */ @java.lang.Override @@ -1349,15 +1184,12 @@ public boolean getSkipHumanReview() { return skipHumanReview_; } /** - * - * *
      * Whether human review should be skipped for this request. Default to
      * `false`.
      * 
* * bool skip_human_review = 4; - * * @param value The skipHumanReview to set. * @return This builder for chaining. */ @@ -1369,15 +1201,12 @@ public Builder setSkipHumanReview(boolean value) { return this; } /** - * - * *
      * Whether human review should be skipped for this request. Default to
      * `false`.
      * 
* * bool skip_human_review = 4; - * * @return This builder for chaining. */ public Builder clearSkipHumanReview() { @@ -1389,47 +1218,34 @@ public Builder clearSkipHumanReview() { private com.google.cloud.documentai.v1.ProcessOptions processOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.ProcessOptions, - com.google.cloud.documentai.v1.ProcessOptions.Builder, - com.google.cloud.documentai.v1.ProcessOptionsOrBuilder> - processOptionsBuilder_; + com.google.cloud.documentai.v1.ProcessOptions, com.google.cloud.documentai.v1.ProcessOptions.Builder, com.google.cloud.documentai.v1.ProcessOptionsOrBuilder> processOptionsBuilder_; /** - * - * *
      * Inference-time options for the process API
      * 
* * .google.cloud.documentai.v1.ProcessOptions process_options = 7; - * * @return Whether the processOptions field is set. */ public boolean hasProcessOptions() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Inference-time options for the process API
      * 
* * .google.cloud.documentai.v1.ProcessOptions process_options = 7; - * * @return The processOptions. */ public com.google.cloud.documentai.v1.ProcessOptions getProcessOptions() { if (processOptionsBuilder_ == null) { - return processOptions_ == null - ? com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance() - : processOptions_; + return processOptions_ == null ? com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance() : processOptions_; } else { return processOptionsBuilder_.getMessage(); } } /** - * - * *
      * Inference-time options for the process API
      * 
@@ -1450,8 +1266,6 @@ public Builder setProcessOptions(com.google.cloud.documentai.v1.ProcessOptions v return this; } /** - * - * *
      * Inference-time options for the process API
      * 
@@ -1470,8 +1284,6 @@ public Builder setProcessOptions( return this; } /** - * - * *
      * Inference-time options for the process API
      * 
@@ -1480,10 +1292,9 @@ public Builder setProcessOptions( */ public Builder mergeProcessOptions(com.google.cloud.documentai.v1.ProcessOptions value) { if (processOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && processOptions_ != null - && processOptions_ - != com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + processOptions_ != null && + processOptions_ != com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance()) { getProcessOptionsBuilder().mergeFrom(value); } else { processOptions_ = value; @@ -1496,8 +1307,6 @@ public Builder mergeProcessOptions(com.google.cloud.documentai.v1.ProcessOptions return this; } /** - * - * *
      * Inference-time options for the process API
      * 
@@ -1515,8 +1324,6 @@ public Builder clearProcessOptions() { return this; } /** - * - * *
      * Inference-time options for the process API
      * 
@@ -1529,8 +1336,6 @@ public com.google.cloud.documentai.v1.ProcessOptions.Builder getProcessOptionsBu return getProcessOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Inference-time options for the process API
      * 
@@ -1541,14 +1346,11 @@ public com.google.cloud.documentai.v1.ProcessOptionsOrBuilder getProcessOptionsO if (processOptionsBuilder_ != null) { return processOptionsBuilder_.getMessageOrBuilder(); } else { - return processOptions_ == null - ? com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance() - : processOptions_; + return processOptions_ == null ? + com.google.cloud.documentai.v1.ProcessOptions.getDefaultInstance() : processOptions_; } } /** - * - * *
      * Inference-time options for the process API
      * 
@@ -1556,24 +1358,21 @@ public com.google.cloud.documentai.v1.ProcessOptionsOrBuilder getProcessOptionsO * .google.cloud.documentai.v1.ProcessOptions process_options = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.ProcessOptions, - com.google.cloud.documentai.v1.ProcessOptions.Builder, - com.google.cloud.documentai.v1.ProcessOptionsOrBuilder> + com.google.cloud.documentai.v1.ProcessOptions, com.google.cloud.documentai.v1.ProcessOptions.Builder, com.google.cloud.documentai.v1.ProcessOptionsOrBuilder> getProcessOptionsFieldBuilder() { if (processOptionsBuilder_ == null) { - processOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.ProcessOptions, - com.google.cloud.documentai.v1.ProcessOptions.Builder, - com.google.cloud.documentai.v1.ProcessOptionsOrBuilder>( - getProcessOptions(), getParentForChildren(), isClean()); + processOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.ProcessOptions, com.google.cloud.documentai.v1.ProcessOptions.Builder, com.google.cloud.documentai.v1.ProcessOptionsOrBuilder>( + getProcessOptions(), + getParentForChildren(), + isClean()); processOptions_ = null; } return processOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1583,12 +1382,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.BatchProcessRequest) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.BatchProcessRequest) private static final com.google.cloud.documentai.v1.BatchProcessRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.BatchProcessRequest(); } @@ -1597,27 +1396,27 @@ public static com.google.cloud.documentai.v1.BatchProcessRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchProcessRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchProcessRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1632,4 +1431,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.BatchProcessRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java similarity index 80% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java index 2ec9be3228b4..6c1299e7b84a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; -public interface BatchProcessRequestOrBuilder - extends +public interface BatchProcessRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.BatchProcessRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of
    * [Processor][google.cloud.documentai.v1.Processor] or
@@ -35,16 +17,11 @@ public interface BatchProcessRequestOrBuilder
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of
    * [Processor][google.cloud.documentai.v1.Processor] or
@@ -54,17 +31,13 @@ public interface BatchProcessRequestOrBuilder
    * `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The input documents for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -72,13 +45,10 @@ public interface BatchProcessRequestOrBuilder
    * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return Whether the inputDocuments field is set. */ boolean hasInputDocuments(); /** - * - * *
    * The input documents for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -86,13 +56,10 @@ public interface BatchProcessRequestOrBuilder
    * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return The inputDocuments. */ com.google.cloud.documentai.v1.BatchDocumentsInputConfig getInputDocuments(); /** - * - * *
    * The input documents for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -104,8 +71,6 @@ public interface BatchProcessRequestOrBuilder
   com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The output configuration for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -113,13 +78,10 @@ public interface BatchProcessRequestOrBuilder
    * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return Whether the documentOutputConfig field is set. */ boolean hasDocumentOutputConfig(); /** - * - * *
    * The output configuration for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -127,13 +89,10 @@ public interface BatchProcessRequestOrBuilder
    * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return The documentOutputConfig. */ com.google.cloud.documentai.v1.DocumentOutputConfig getDocumentOutputConfig(); /** - * - * *
    * The output configuration for the
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]
@@ -145,46 +104,35 @@ public interface BatchProcessRequestOrBuilder
   com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Whether human review should be skipped for this request. Default to
    * `false`.
    * 
* * bool skip_human_review = 4; - * * @return The skipHumanReview. */ boolean getSkipHumanReview(); /** - * - * *
    * Inference-time options for the process API
    * 
* * .google.cloud.documentai.v1.ProcessOptions process_options = 7; - * * @return Whether the processOptions field is set. */ boolean hasProcessOptions(); /** - * - * *
    * Inference-time options for the process API
    * 
* * .google.cloud.documentai.v1.ProcessOptions process_options = 7; - * * @return The processOptions. */ com.google.cloud.documentai.v1.ProcessOptions getProcessOptions(); /** - * - * *
    * Inference-time options for the process API
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponse.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponse.java similarity index 64% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponse.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponse.java index 46687e5faa57..2c878bdcaf30 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponse.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Response message for
  * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
@@ -28,41 +11,39 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.BatchProcessResponse}
  */
-public final class BatchProcessResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchProcessResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.BatchProcessResponse)
     BatchProcessResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchProcessResponse.newBuilder() to construct.
   private BatchProcessResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private BatchProcessResponse() {}
+  private BatchProcessResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchProcessResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_BatchProcessResponse_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.BatchProcessResponse.class,
-            com.google.cloud.documentai.v1.BatchProcessResponse.Builder.class);
+            com.google.cloud.documentai.v1.BatchProcessResponse.class, com.google.cloud.documentai.v1.BatchProcessResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -74,7 +55,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getUnknownFields().writeTo(output);
   }
 
@@ -92,13 +74,12 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.documentai.v1.BatchProcessResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.documentai.v1.BatchProcessResponse other =
-        (com.google.cloud.documentai.v1.BatchProcessResponse) obj;
+    com.google.cloud.documentai.v1.BatchProcessResponse other = (com.google.cloud.documentai.v1.BatchProcessResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -117,103 +98,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.documentai.v1.BatchProcessResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.documentai.v1.BatchProcessResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.documentai.v1.BatchProcessResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.documentai.v1.BatchProcessResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for
    * [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments].
@@ -221,32 +197,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.BatchProcessResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.BatchProcessResponse)
       com.google.cloud.documentai.v1.BatchProcessResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessResponse_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.BatchProcessResponse.class,
-              com.google.cloud.documentai.v1.BatchProcessResponse.Builder.class);
+              com.google.cloud.documentai.v1.BatchProcessResponse.class, com.google.cloud.documentai.v1.BatchProcessResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.BatchProcessResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -254,9 +231,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor;
     }
 
     @java.lang.Override
@@ -275,8 +252,7 @@ public com.google.cloud.documentai.v1.BatchProcessResponse build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.BatchProcessResponse buildPartial() {
-      com.google.cloud.documentai.v1.BatchProcessResponse result =
-          new com.google.cloud.documentai.v1.BatchProcessResponse(this);
+      com.google.cloud.documentai.v1.BatchProcessResponse result = new com.google.cloud.documentai.v1.BatchProcessResponse(this);
       onBuilt();
       return result;
     }
@@ -285,39 +261,38 @@ public com.google.cloud.documentai.v1.BatchProcessResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.BatchProcessResponse) {
-        return mergeFrom((com.google.cloud.documentai.v1.BatchProcessResponse) other);
+        return mergeFrom((com.google.cloud.documentai.v1.BatchProcessResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -325,8 +300,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.BatchProcessResponse other) {
-      if (other == com.google.cloud.documentai.v1.BatchProcessResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.BatchProcessResponse.getDefaultInstance()) return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -353,13 +327,12 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -369,9 +342,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -381,12 +354,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.BatchProcessResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.BatchProcessResponse)
   private static final com.google.cloud.documentai.v1.BatchProcessResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.BatchProcessResponse();
   }
@@ -395,27 +368,27 @@ public static com.google.cloud.documentai.v1.BatchProcessResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchProcessResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchProcessResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -430,4 +403,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.documentai.v1.BatchProcessResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponseOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponseOrBuilder.java
new file mode 100644
index 000000000000..aa9891c6b10c
--- /dev/null
+++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BatchProcessResponseOrBuilder.java
@@ -0,0 +1,9 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/documentai/v1/document_processor_service.proto
+
+package com.google.cloud.documentai.v1;
+
+public interface BatchProcessResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.BatchProcessResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPoly.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPoly.java
similarity index 75%
rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPoly.java
rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPoly.java
index 5777dcb51a08..6298594339cd 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPoly.java
+++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPoly.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/documentai/v1/geometry.proto
 
 package com.google.cloud.documentai.v1;
 
 /**
- *
- *
  * 
  * A bounding polygon for the detected image annotation.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.BoundingPoly} */ -public final class BoundingPoly extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BoundingPoly extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.BoundingPoly) BoundingPolyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BoundingPoly.newBuilder() to construct. private BoundingPoly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BoundingPoly() { vertices_ = java.util.Collections.emptyList(); normalizedVertices_ = java.util.Collections.emptyList(); @@ -44,32 +26,28 @@ private BoundingPoly() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BoundingPoly(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.GeometryProto - .internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.GeometryProto.internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.GeometryProto - .internal_static_google_cloud_documentai_v1_BoundingPoly_fieldAccessorTable + return com.google.cloud.documentai.v1.GeometryProto.internal_static_google_cloud_documentai_v1_BoundingPoly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.BoundingPoly.class, - com.google.cloud.documentai.v1.BoundingPoly.Builder.class); + com.google.cloud.documentai.v1.BoundingPoly.class, com.google.cloud.documentai.v1.BoundingPoly.Builder.class); } public static final int VERTICES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List vertices_; /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -81,8 +59,6 @@ public java.util.List getVerticesList() { return vertices_; } /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -90,13 +66,11 @@ public java.util.List getVerticesList() { * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVerticesOrBuilderList() { return vertices_; } /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -108,8 +82,6 @@ public int getVerticesCount() { return vertices_.size(); } /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.documentai.v1.Vertex getVertices(int index) { return vertices_.get(index); } /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -130,17 +100,15 @@ public com.google.cloud.documentai.v1.Vertex getVertices(int index) { * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ @java.lang.Override - public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder(int index) { + public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder( + int index) { return vertices_.get(index); } public static final int NORMALIZED_VERTICES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List normalizedVertices_; /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -148,13 +116,10 @@ public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder(int i * repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; */ @java.lang.Override - public java.util.List - getNormalizedVerticesList() { + public java.util.List getNormalizedVerticesList() { return normalizedVertices_; } /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -162,13 +127,11 @@ public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder(int i * repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; */ @java.lang.Override - public java.util.List + public java.util.List getNormalizedVerticesOrBuilderList() { return normalizedVertices_; } /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -180,8 +143,6 @@ public int getNormalizedVerticesCount() { return normalizedVertices_.size(); } /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -193,8 +154,6 @@ public com.google.cloud.documentai.v1.NormalizedVertex getNormalizedVertices(int return normalizedVertices_.get(index); } /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -208,7 +167,6 @@ public com.google.cloud.documentai.v1.NormalizedVertexOrBuilder getNormalizedVer } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < vertices_.size(); i++) { output.writeMessage(1, vertices_.get(i)); } @@ -237,11 +196,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < vertices_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, vertices_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, vertices_.get(i)); } for (int i = 0; i < normalizedVertices_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, normalizedVertices_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, normalizedVertices_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,16 +211,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.BoundingPoly)) { return super.equals(obj); } - com.google.cloud.documentai.v1.BoundingPoly other = - (com.google.cloud.documentai.v1.BoundingPoly) obj; + com.google.cloud.documentai.v1.BoundingPoly other = (com.google.cloud.documentai.v1.BoundingPoly) obj; - if (!getVerticesList().equals(other.getVerticesList())) return false; - if (!getNormalizedVerticesList().equals(other.getNormalizedVerticesList())) return false; + if (!getVerticesList() + .equals(other.getVerticesList())) return false; + if (!getNormalizedVerticesList() + .equals(other.getNormalizedVerticesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,136 +246,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.documentai.v1.BoundingPoly parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BoundingPoly parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.BoundingPoly parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.BoundingPoly parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.BoundingPoly parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.documentai.v1.BoundingPoly prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A bounding polygon for the detected image annotation.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.BoundingPoly} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.BoundingPoly) com.google.cloud.documentai.v1.BoundingPolyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.GeometryProto - .internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.GeometryProto.internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.GeometryProto - .internal_static_google_cloud_documentai_v1_BoundingPoly_fieldAccessorTable + return com.google.cloud.documentai.v1.GeometryProto.internal_static_google_cloud_documentai_v1_BoundingPoly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.BoundingPoly.class, - com.google.cloud.documentai.v1.BoundingPoly.Builder.class); + com.google.cloud.documentai.v1.BoundingPoly.class, com.google.cloud.documentai.v1.BoundingPoly.Builder.class); } // Construct using com.google.cloud.documentai.v1.BoundingPoly.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +394,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.documentai.v1.GeometryProto - .internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.documentai.v1.GeometryProto.internal_static_google_cloud_documentai_v1_BoundingPoly_descriptor; } @java.lang.Override @@ -458,12 +415,9 @@ public com.google.cloud.documentai.v1.BoundingPoly build() { @java.lang.Override public com.google.cloud.documentai.v1.BoundingPoly buildPartial() { - com.google.cloud.documentai.v1.BoundingPoly result = - new com.google.cloud.documentai.v1.BoundingPoly(this); + com.google.cloud.documentai.v1.BoundingPoly result = new com.google.cloud.documentai.v1.BoundingPoly(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -497,39 +451,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.BoundingPoly result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.documentai.v1.BoundingPoly) { - return mergeFrom((com.google.cloud.documentai.v1.BoundingPoly) other); + return mergeFrom((com.google.cloud.documentai.v1.BoundingPoly)other); } else { super.mergeFrom(other); return this; @@ -556,10 +509,9 @@ public Builder mergeFrom(com.google.cloud.documentai.v1.BoundingPoly other) { verticesBuilder_ = null; vertices_ = other.vertices_; bitField0_ = (bitField0_ & ~0x00000001); - verticesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVerticesFieldBuilder() - : null; + verticesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVerticesFieldBuilder() : null; } else { verticesBuilder_.addAllMessages(other.vertices_); } @@ -583,10 +535,9 @@ public Builder mergeFrom(com.google.cloud.documentai.v1.BoundingPoly other) { normalizedVerticesBuilder_ = null; normalizedVertices_ = other.normalizedVertices_; bitField0_ = (bitField0_ & ~0x00000002); - normalizedVerticesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNormalizedVerticesFieldBuilder() - : null; + normalizedVerticesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNormalizedVerticesFieldBuilder() : null; } else { normalizedVerticesBuilder_.addAllMessages(other.normalizedVertices_); } @@ -618,40 +569,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.documentai.v1.Vertex m = - input.readMessage( - com.google.cloud.documentai.v1.Vertex.parser(), extensionRegistry); - if (verticesBuilder_ == null) { - ensureVerticesIsMutable(); - vertices_.add(m); - } else { - verticesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.cloud.documentai.v1.NormalizedVertex m = - input.readMessage( - com.google.cloud.documentai.v1.NormalizedVertex.parser(), - extensionRegistry); - if (normalizedVerticesBuilder_ == null) { - ensureNormalizedVerticesIsMutable(); - normalizedVertices_.add(m); - } else { - normalizedVerticesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.documentai.v1.Vertex m = + input.readMessage( + com.google.cloud.documentai.v1.Vertex.parser(), + extensionRegistry); + if (verticesBuilder_ == null) { + ensureVerticesIsMutable(); + vertices_.add(m); + } else { + verticesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.documentai.v1.NormalizedVertex m = + input.readMessage( + com.google.cloud.documentai.v1.NormalizedVertex.parser(), + extensionRegistry); + if (normalizedVerticesBuilder_ == null) { + ensureNormalizedVerticesIsMutable(); + normalizedVertices_.add(m); + } else { + normalizedVerticesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -661,28 +610,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List vertices_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVerticesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { vertices_ = new java.util.ArrayList(vertices_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.Vertex, - com.google.cloud.documentai.v1.Vertex.Builder, - com.google.cloud.documentai.v1.VertexOrBuilder> - verticesBuilder_; + com.google.cloud.documentai.v1.Vertex, com.google.cloud.documentai.v1.Vertex.Builder, com.google.cloud.documentai.v1.VertexOrBuilder> verticesBuilder_; /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -697,8 +639,6 @@ public java.util.List getVerticesList() { } } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -713,8 +653,6 @@ public int getVerticesCount() { } } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -729,15 +667,14 @@ public com.google.cloud.documentai.v1.Vertex getVertices(int index) { } } /** - * - * *
      * The bounding polygon vertices.
      * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - public Builder setVertices(int index, com.google.cloud.documentai.v1.Vertex value) { + public Builder setVertices( + int index, com.google.cloud.documentai.v1.Vertex value) { if (verticesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +688,6 @@ public Builder setVertices(int index, com.google.cloud.documentai.v1.Vertex valu return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -771,8 +706,6 @@ public Builder setVertices( return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -793,15 +726,14 @@ public Builder addVertices(com.google.cloud.documentai.v1.Vertex value) { return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - public Builder addVertices(int index, com.google.cloud.documentai.v1.Vertex value) { + public Builder addVertices( + int index, com.google.cloud.documentai.v1.Vertex value) { if (verticesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -815,15 +747,14 @@ public Builder addVertices(int index, com.google.cloud.documentai.v1.Vertex valu return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - public Builder addVertices(com.google.cloud.documentai.v1.Vertex.Builder builderForValue) { + public Builder addVertices( + com.google.cloud.documentai.v1.Vertex.Builder builderForValue) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); vertices_.add(builderForValue.build()); @@ -834,8 +765,6 @@ public Builder addVertices(com.google.cloud.documentai.v1.Vertex.Builder builder return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -854,8 +783,6 @@ public Builder addVertices( return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -866,7 +793,8 @@ public Builder addAllVertices( java.lang.Iterable values) { if (verticesBuilder_ == null) { ensureVerticesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vertices_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, vertices_); onChanged(); } else { verticesBuilder_.addAllMessages(values); @@ -874,8 +802,6 @@ public Builder addAllVertices( return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -893,8 +819,6 @@ public Builder clearVertices() { return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -912,44 +836,39 @@ public Builder removeVertices(int index) { return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - public com.google.cloud.documentai.v1.Vertex.Builder getVerticesBuilder(int index) { + public com.google.cloud.documentai.v1.Vertex.Builder getVerticesBuilder( + int index) { return getVerticesFieldBuilder().getBuilder(index); } /** - * - * *
      * The bounding polygon vertices.
      * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder(int index) { + public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder( + int index) { if (verticesBuilder_ == null) { - return vertices_.get(index); - } else { + return vertices_.get(index); } else { return verticesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The bounding polygon vertices.
      * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - public java.util.List - getVerticesOrBuilderList() { + public java.util.List + getVerticesOrBuilderList() { if (verticesBuilder_ != null) { return verticesBuilder_.getMessageOrBuilderList(); } else { @@ -957,8 +876,6 @@ public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder(int i } } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -966,81 +883,67 @@ public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder(int i * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ public com.google.cloud.documentai.v1.Vertex.Builder addVerticesBuilder() { - return getVerticesFieldBuilder() - .addBuilder(com.google.cloud.documentai.v1.Vertex.getDefaultInstance()); + return getVerticesFieldBuilder().addBuilder( + com.google.cloud.documentai.v1.Vertex.getDefaultInstance()); } /** - * - * *
      * The bounding polygon vertices.
      * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - public com.google.cloud.documentai.v1.Vertex.Builder addVerticesBuilder(int index) { - return getVerticesFieldBuilder() - .addBuilder(index, com.google.cloud.documentai.v1.Vertex.getDefaultInstance()); + public com.google.cloud.documentai.v1.Vertex.Builder addVerticesBuilder( + int index) { + return getVerticesFieldBuilder().addBuilder( + index, com.google.cloud.documentai.v1.Vertex.getDefaultInstance()); } /** - * - * *
      * The bounding polygon vertices.
      * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - public java.util.List getVerticesBuilderList() { + public java.util.List + getVerticesBuilderList() { return getVerticesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.Vertex, - com.google.cloud.documentai.v1.Vertex.Builder, - com.google.cloud.documentai.v1.VertexOrBuilder> + com.google.cloud.documentai.v1.Vertex, com.google.cloud.documentai.v1.Vertex.Builder, com.google.cloud.documentai.v1.VertexOrBuilder> getVerticesFieldBuilder() { if (verticesBuilder_ == null) { - verticesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.Vertex, - com.google.cloud.documentai.v1.Vertex.Builder, - com.google.cloud.documentai.v1.VertexOrBuilder>( - vertices_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + verticesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.documentai.v1.Vertex, com.google.cloud.documentai.v1.Vertex.Builder, com.google.cloud.documentai.v1.VertexOrBuilder>( + vertices_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); vertices_ = null; } return verticesBuilder_; } private java.util.List normalizedVertices_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNormalizedVerticesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - normalizedVertices_ = - new java.util.ArrayList( - normalizedVertices_); + normalizedVertices_ = new java.util.ArrayList(normalizedVertices_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.NormalizedVertex, - com.google.cloud.documentai.v1.NormalizedVertex.Builder, - com.google.cloud.documentai.v1.NormalizedVertexOrBuilder> - normalizedVerticesBuilder_; + com.google.cloud.documentai.v1.NormalizedVertex, com.google.cloud.documentai.v1.NormalizedVertex.Builder, com.google.cloud.documentai.v1.NormalizedVertexOrBuilder> normalizedVerticesBuilder_; /** - * - * *
      * The bounding polygon normalized vertices.
      * 
* * repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; */ - public java.util.List - getNormalizedVerticesList() { + public java.util.List getNormalizedVerticesList() { if (normalizedVerticesBuilder_ == null) { return java.util.Collections.unmodifiableList(normalizedVertices_); } else { @@ -1048,8 +951,6 @@ private void ensureNormalizedVerticesIsMutable() { } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1064,8 +965,6 @@ public int getNormalizedVerticesCount() { } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1080,8 +979,6 @@ public com.google.cloud.documentai.v1.NormalizedVertex getNormalizedVertices(int } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1103,8 +1000,6 @@ public Builder setNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1123,8 +1018,6 @@ public Builder setNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1145,8 +1038,6 @@ public Builder addNormalizedVertices(com.google.cloud.documentai.v1.NormalizedVe return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1168,8 +1059,6 @@ public Builder addNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1188,8 +1077,6 @@ public Builder addNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1208,8 +1095,6 @@ public Builder addNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1220,7 +1105,8 @@ public Builder addAllNormalizedVertices( java.lang.Iterable values) { if (normalizedVerticesBuilder_ == null) { ensureNormalizedVerticesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, normalizedVertices_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, normalizedVertices_); onChanged(); } else { normalizedVerticesBuilder_.addAllMessages(values); @@ -1228,8 +1114,6 @@ public Builder addAllNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1247,8 +1131,6 @@ public Builder clearNormalizedVertices() { return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1266,8 +1148,6 @@ public Builder removeNormalizedVertices(int index) { return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1279,8 +1159,6 @@ public com.google.cloud.documentai.v1.NormalizedVertex.Builder getNormalizedVert return getNormalizedVerticesFieldBuilder().getBuilder(index); } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1290,22 +1168,19 @@ public com.google.cloud.documentai.v1.NormalizedVertex.Builder getNormalizedVert public com.google.cloud.documentai.v1.NormalizedVertexOrBuilder getNormalizedVerticesOrBuilder( int index) { if (normalizedVerticesBuilder_ == null) { - return normalizedVertices_.get(index); - } else { + return normalizedVertices_.get(index); } else { return normalizedVerticesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
* * repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; */ - public java.util.List - getNormalizedVerticesOrBuilderList() { + public java.util.List + getNormalizedVerticesOrBuilderList() { if (normalizedVerticesBuilder_ != null) { return normalizedVerticesBuilder_.getMessageOrBuilderList(); } else { @@ -1313,8 +1188,6 @@ public com.google.cloud.documentai.v1.NormalizedVertexOrBuilder getNormalizedVer } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1322,12 +1195,10 @@ public com.google.cloud.documentai.v1.NormalizedVertexOrBuilder getNormalizedVer * repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; */ public com.google.cloud.documentai.v1.NormalizedVertex.Builder addNormalizedVerticesBuilder() { - return getNormalizedVerticesFieldBuilder() - .addBuilder(com.google.cloud.documentai.v1.NormalizedVertex.getDefaultInstance()); + return getNormalizedVerticesFieldBuilder().addBuilder( + com.google.cloud.documentai.v1.NormalizedVertex.getDefaultInstance()); } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1336,34 +1207,26 @@ public com.google.cloud.documentai.v1.NormalizedVertex.Builder addNormalizedVert */ public com.google.cloud.documentai.v1.NormalizedVertex.Builder addNormalizedVerticesBuilder( int index) { - return getNormalizedVerticesFieldBuilder() - .addBuilder(index, com.google.cloud.documentai.v1.NormalizedVertex.getDefaultInstance()); + return getNormalizedVerticesFieldBuilder().addBuilder( + index, com.google.cloud.documentai.v1.NormalizedVertex.getDefaultInstance()); } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
* * repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; */ - public java.util.List - getNormalizedVerticesBuilderList() { + public java.util.List + getNormalizedVerticesBuilderList() { return getNormalizedVerticesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.NormalizedVertex, - com.google.cloud.documentai.v1.NormalizedVertex.Builder, - com.google.cloud.documentai.v1.NormalizedVertexOrBuilder> + com.google.cloud.documentai.v1.NormalizedVertex, com.google.cloud.documentai.v1.NormalizedVertex.Builder, com.google.cloud.documentai.v1.NormalizedVertexOrBuilder> getNormalizedVerticesFieldBuilder() { if (normalizedVerticesBuilder_ == null) { - normalizedVerticesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.documentai.v1.NormalizedVertex, - com.google.cloud.documentai.v1.NormalizedVertex.Builder, - com.google.cloud.documentai.v1.NormalizedVertexOrBuilder>( + normalizedVerticesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.documentai.v1.NormalizedVertex, com.google.cloud.documentai.v1.NormalizedVertex.Builder, com.google.cloud.documentai.v1.NormalizedVertexOrBuilder>( normalizedVertices_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1372,9 +1235,9 @@ public com.google.cloud.documentai.v1.NormalizedVertex.Builder addNormalizedVert } return normalizedVerticesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1384,12 +1247,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.BoundingPoly) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.BoundingPoly) private static final com.google.cloud.documentai.v1.BoundingPoly DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.BoundingPoly(); } @@ -1398,27 +1261,27 @@ public static com.google.cloud.documentai.v1.BoundingPoly getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BoundingPoly parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BoundingPoly parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1433,4 +1296,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.BoundingPoly getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPolyOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPolyOrBuilder.java similarity index 74% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPolyOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPolyOrBuilder.java index 435280e9c7b3..5887c0d28f06 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPolyOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BoundingPolyOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/geometry.proto package com.google.cloud.documentai.v1; -public interface BoundingPolyOrBuilder - extends +public interface BoundingPolyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.BoundingPoly) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The bounding polygon vertices.
    * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - java.util.List getVerticesList(); + java.util.List + getVerticesList(); /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -44,8 +25,6 @@ public interface BoundingPolyOrBuilder */ com.google.cloud.documentai.v1.Vertex getVertices(int index); /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -54,40 +33,34 @@ public interface BoundingPolyOrBuilder */ int getVerticesCount(); /** - * - * *
    * The bounding polygon vertices.
    * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - java.util.List + java.util.List getVerticesOrBuilderList(); /** - * - * *
    * The bounding polygon vertices.
    * 
* * repeated .google.cloud.documentai.v1.Vertex vertices = 1; */ - com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder(int index); + com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder( + int index); /** - * - * *
    * The bounding polygon normalized vertices.
    * 
* * repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; */ - java.util.List getNormalizedVerticesList(); + java.util.List + getNormalizedVerticesList(); /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -96,8 +69,6 @@ public interface BoundingPolyOrBuilder */ com.google.cloud.documentai.v1.NormalizedVertex getNormalizedVertices(int index); /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -106,19 +77,15 @@ public interface BoundingPolyOrBuilder */ int getNormalizedVerticesCount(); /** - * - * *
    * The bounding polygon normalized vertices.
    * 
* * repeated .google.cloud.documentai.v1.NormalizedVertex normalized_vertices = 2; */ - java.util.List + java.util.List getNormalizedVerticesOrBuilderList(); /** - * - * *
    * The bounding polygon normalized vertices.
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadata.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadata.java similarity index 71% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadata.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadata.java index a3bd6ea5cff5..be1f2ae56ff8 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadata.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/operation_metadata.proto package com.google.cloud.documentai.v1; /** - * - * *
  * The common metadata for long running operations.
  * 
* * Protobuf type {@code google.cloud.documentai.v1.CommonOperationMetadata} */ -public final class CommonOperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommonOperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.CommonOperationMetadata) CommonOperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommonOperationMetadata.newBuilder() to construct. private CommonOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommonOperationMetadata() { state_ = 0; stateMessage_ = ""; @@ -45,38 +27,34 @@ private CommonOperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommonOperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.OperationMetadataProto - .internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.OperationMetadataProto.internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.OperationMetadataProto - .internal_static_google_cloud_documentai_v1_CommonOperationMetadata_fieldAccessorTable + return com.google.cloud.documentai.v1.OperationMetadataProto.internal_static_google_cloud_documentai_v1_CommonOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.CommonOperationMetadata.class, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder.class); + com.google.cloud.documentai.v1.CommonOperationMetadata.class, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder.class); } /** - * - * *
    * State of the longrunning operation.
    * 
* * Protobuf enum {@code google.cloud.documentai.v1.CommonOperationMetadata.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -85,8 +63,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Operation is still running.
      * 
@@ -95,8 +71,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(1), /** - * - * *
      * Operation is being cancelled.
      * 
@@ -105,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(2), /** - * - * *
      * Operation succeeded.
      * 
@@ -115,8 +87,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * Operation failed.
      * 
@@ -125,8 +95,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * Operation is cancelled.
      * 
@@ -138,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified state.
      * 
@@ -148,8 +114,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Operation is still running.
      * 
@@ -158,8 +122,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 1; /** - * - * *
      * Operation is being cancelled.
      * 
@@ -168,8 +130,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 2; /** - * - * *
      * Operation succeeded.
      * 
@@ -178,8 +138,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * Operation failed.
      * 
@@ -188,8 +146,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * Operation is cancelled.
      * 
@@ -198,6 +154,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -222,57 +179,52 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return RUNNING; - case 2: - return CANCELLING; - case 3: - return SUCCEEDED; - case 4: - return FAILED; - case 5: - return CANCELLED; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return RUNNING; + case 2: return CANCELLING; + case 3: return SUCCEEDED; + case 4: return FAILED; + case 5: return CANCELLED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.documentai.v1.CommonOperationMetadata.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.documentai.v1.CommonOperationMetadata.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -292,53 +244,38 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_ = 0; /** - * - * *
    * The state of the operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.documentai.v1.CommonOperationMetadata.State getState() { - com.google.cloud.documentai.v1.CommonOperationMetadata.State result = - com.google.cloud.documentai.v1.CommonOperationMetadata.State.forNumber(state_); - return result == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.documentai.v1.CommonOperationMetadata.State getState() { + com.google.cloud.documentai.v1.CommonOperationMetadata.State result = com.google.cloud.documentai.v1.CommonOperationMetadata.State.forNumber(state_); + return result == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object stateMessage_ = ""; /** - * - * *
    * A message providing more details about the current state of processing.
    * 
* * string state_message = 2; - * * @return The stateMessage. */ @java.lang.Override @@ -347,29 +284,29 @@ public java.lang.String getStateMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateMessage_ = s; return s; } } /** - * - * *
    * A message providing more details about the current state of processing.
    * 
* * string state_message = 2; - * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateMessage_ = b; return b; } else { @@ -378,18 +315,14 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } public static final int RESOURCE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object resource_ = ""; /** - * - * *
    * A related resource to this operation.
    * 
* * string resource = 5; - * * @return The resource. */ @java.lang.Override @@ -398,29 +331,29 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
    * A related resource to this operation.
    * 
* * string resource = 5; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -431,14 +364,11 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -446,14 +376,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ @java.lang.Override @@ -461,8 +388,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The creation time of the operation.
    * 
@@ -477,14 +402,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -492,14 +414,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -507,8 +426,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update time of the operation.
    * 
@@ -521,7 +438,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -533,10 +449,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.cloud.documentai.v1.CommonOperationMetadata.State.STATE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.cloud.documentai.v1.CommonOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { @@ -560,19 +475,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.cloud.documentai.v1.CommonOperationMetadata.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.cloud.documentai.v1.CommonOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateMessage_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, resource_); @@ -585,24 +501,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.CommonOperationMetadata)) { return super.equals(obj); } - com.google.cloud.documentai.v1.CommonOperationMetadata other = - (com.google.cloud.documentai.v1.CommonOperationMetadata) obj; + com.google.cloud.documentai.v1.CommonOperationMetadata other = (com.google.cloud.documentai.v1.CommonOperationMetadata) obj; if (state_ != other.state_) return false; - if (!getStateMessage().equals(other.getStateMessage())) return false; - if (!getResource().equals(other.getResource())) return false; + if (!getStateMessage() + .equals(other.getStateMessage())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -635,136 +554,131 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.CommonOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.CommonOperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.CommonOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.CommonOperationMetadata prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.CommonOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The common metadata for long running operations.
    * 
* * Protobuf type {@code google.cloud.documentai.v1.CommonOperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.CommonOperationMetadata) com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.OperationMetadataProto - .internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.OperationMetadataProto.internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.OperationMetadataProto - .internal_static_google_cloud_documentai_v1_CommonOperationMetadata_fieldAccessorTable + return com.google.cloud.documentai.v1.OperationMetadataProto.internal_static_google_cloud_documentai_v1_CommonOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.CommonOperationMetadata.class, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder.class); + com.google.cloud.documentai.v1.CommonOperationMetadata.class, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder.class); } // Construct using com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -786,9 +700,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.documentai.v1.OperationMetadataProto - .internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.documentai.v1.OperationMetadataProto.internal_static_google_cloud_documentai_v1_CommonOperationMetadata_descriptor; } @java.lang.Override @@ -807,11 +721,8 @@ public com.google.cloud.documentai.v1.CommonOperationMetadata build() { @java.lang.Override public com.google.cloud.documentai.v1.CommonOperationMetadata buildPartial() { - com.google.cloud.documentai.v1.CommonOperationMetadata result = - new com.google.cloud.documentai.v1.CommonOperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.documentai.v1.CommonOperationMetadata result = new com.google.cloud.documentai.v1.CommonOperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -828,10 +739,14 @@ private void buildPartial0(com.google.cloud.documentai.v1.CommonOperationMetadat result.resource_ = resource_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } @@ -839,39 +754,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.CommonOperationMetadat public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.documentai.v1.CommonOperationMetadata) { - return mergeFrom((com.google.cloud.documentai.v1.CommonOperationMetadata) other); + return mergeFrom((com.google.cloud.documentai.v1.CommonOperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -879,8 +793,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.documentai.v1.CommonOperationMetadata other) { - if (other == com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -926,43 +839,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - stateMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - resource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + stateMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + resource_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -972,34 +883,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int state_ = 0; /** - * - * *
      * The state of the operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1010,33 +913,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.documentai.v1.CommonOperationMetadata.State getState() { - com.google.cloud.documentai.v1.CommonOperationMetadata.State result = - com.google.cloud.documentai.v1.CommonOperationMetadata.State.forNumber(state_); - return result == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.documentai.v1.CommonOperationMetadata.State result = com.google.cloud.documentai.v1.CommonOperationMetadata.State.forNumber(state_); + return result == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of the operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1050,14 +944,11 @@ public Builder setState(com.google.cloud.documentai.v1.CommonOperationMetadata.S return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1069,20 +960,18 @@ public Builder clearState() { private java.lang.Object stateMessage_ = ""; /** - * - * *
      * A message providing more details about the current state of processing.
      * 
* * string state_message = 2; - * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateMessage_ = s; return s; @@ -1091,21 +980,20 @@ public java.lang.String getStateMessage() { } } /** - * - * *
      * A message providing more details about the current state of processing.
      * 
* * string state_message = 2; - * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateMessage_ = b; return b; } else { @@ -1113,35 +1001,28 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } } /** - * - * *
      * A message providing more details about the current state of processing.
      * 
* * string state_message = 2; - * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStateMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } stateMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A message providing more details about the current state of processing.
      * 
* * string state_message = 2; - * * @return This builder for chaining. */ public Builder clearStateMessage() { @@ -1151,21 +1032,17 @@ public Builder clearStateMessage() { return this; } /** - * - * *
      * A message providing more details about the current state of processing.
      * 
* * string state_message = 2; - * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStateMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stateMessage_ = value; bitField0_ |= 0x00000002; @@ -1175,20 +1052,18 @@ public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object resource_ = ""; /** - * - * *
      * A related resource to this operation.
      * 
* * string resource = 5; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1197,21 +1072,20 @@ public java.lang.String getResource() { } } /** - * - * *
      * A related resource to this operation.
      * 
* * string resource = 5; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -1219,35 +1093,28 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * A related resource to this operation.
      * 
* * string resource = 5; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResource( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resource_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A related resource to this operation.
      * 
* * string resource = 5; - * * @return This builder for chaining. */ public Builder clearResource() { @@ -1257,21 +1124,17 @@ public Builder clearResource() { return this; } /** - * - * *
      * A related resource to this operation.
      * 
* * string resource = 5; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resource_ = value; bitField0_ |= 0x00000004; @@ -1281,47 +1144,34 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1342,15 +1192,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the operation.
      * 
* * .google.protobuf.Timestamp create_time = 3; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1361,8 +1210,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1371,9 +1218,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1386,8 +1233,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1405,8 +1250,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1419,8 +1262,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1431,14 +1272,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1446,17 +1284,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1464,47 +1299,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1525,15 +1347,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last update time of the operation.
      * 
* * .google.protobuf.Timestamp update_time = 4; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1544,8 +1365,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1554,9 +1373,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1569,8 +1388,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1588,8 +1405,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1602,8 +1417,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1614,14 +1427,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1629,24 +1439,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1656,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.CommonOperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.CommonOperationMetadata) private static final com.google.cloud.documentai.v1.CommonOperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.CommonOperationMetadata(); } @@ -1670,27 +1477,27 @@ public static com.google.cloud.documentai.v1.CommonOperationMetadata getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommonOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommonOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1705,4 +1512,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.CommonOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadataOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadataOrBuilder.java similarity index 75% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadataOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadataOrBuilder.java index c66d270b9132..24ad020a7209 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CommonOperationMetadataOrBuilder.java @@ -1,130 +1,90 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/operation_metadata.proto package com.google.cloud.documentai.v1; -public interface CommonOperationMetadataOrBuilder - extends +public interface CommonOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.CommonOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The state of the operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @return The state. */ com.google.cloud.documentai.v1.CommonOperationMetadata.State getState(); /** - * - * *
    * A message providing more details about the current state of processing.
    * 
* * string state_message = 2; - * * @return The stateMessage. */ java.lang.String getStateMessage(); /** - * - * *
    * A message providing more details about the current state of processing.
    * 
* * string state_message = 2; - * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString getStateMessageBytes(); + com.google.protobuf.ByteString + getStateMessageBytes(); /** - * - * *
    * A related resource to this operation.
    * 
* * string resource = 5; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * A related resource to this operation.
    * 
* * string resource = 5; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The creation time of the operation.
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The creation time of the operation.
    * 
@@ -134,32 +94,24 @@ public interface CommonOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last update time of the operation.
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last update time of the operation.
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java similarity index 65% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java index 20ae9d551dd2..2c70e23eb15a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Request message for the
  * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor]
@@ -31,57 +14,49 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.CreateProcessorRequest}
  */
-public final class CreateProcessorRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateProcessorRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.CreateProcessorRequest)
     CreateProcessorRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateProcessorRequest.newBuilder() to construct.
   private CreateProcessorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateProcessorRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateProcessorRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_CreateProcessorRequest_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_CreateProcessorRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.CreateProcessorRequest.class,
-            com.google.cloud.documentai.v1.CreateProcessorRequest.Builder.class);
+            com.google.cloud.documentai.v1.CreateProcessorRequest.class, com.google.cloud.documentai.v1.CreateProcessorRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The parent (project and location) under which to create the
    * processor. Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent (project and location) under which to create the
    * processor. Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PROCESSOR_FIELD_NUMBER = 2; private com.google.cloud.documentai.v1.Processor processor_; /** - * - * *
    * Required. The processor to be created, requires
    * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -136,10 +107,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * field must be set if the processor is under CMEK.
    * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the processor field is set. */ @java.lang.Override @@ -147,8 +115,6 @@ public boolean hasProcessor() { return processor_ != null; } /** - * - * *
    * Required. The processor to be created, requires
    * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -157,21 +123,14 @@ public boolean hasProcessor() {
    * field must be set if the processor is under CMEK.
    * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The processor. */ @java.lang.Override public com.google.cloud.documentai.v1.Processor getProcessor() { - return processor_ == null - ? com.google.cloud.documentai.v1.Processor.getDefaultInstance() - : processor_; + return processor_ == null ? com.google.cloud.documentai.v1.Processor.getDefaultInstance() : processor_; } /** - * - * *
    * Required. The processor to be created, requires
    * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -180,19 +139,14 @@ public com.google.cloud.documentai.v1.Processor getProcessor() {
    * field must be set if the processor is under CMEK.
    * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.documentai.v1.ProcessorOrBuilder getProcessorOrBuilder() { - return processor_ == null - ? com.google.cloud.documentai.v1.Processor.getDefaultInstance() - : processor_; + return processor_ == null ? com.google.cloud.documentai.v1.Processor.getDefaultInstance() : processor_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +158,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -224,7 +179,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (processor_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProcessor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProcessor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -234,18 +190,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.CreateProcessorRequest)) { return super.equals(obj); } - com.google.cloud.documentai.v1.CreateProcessorRequest other = - (com.google.cloud.documentai.v1.CreateProcessorRequest) obj; + com.google.cloud.documentai.v1.CreateProcessorRequest other = (com.google.cloud.documentai.v1.CreateProcessorRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasProcessor() != other.hasProcessor()) return false; if (hasProcessor()) { - if (!getProcessor().equals(other.getProcessor())) return false; + if (!getProcessor() + .equals(other.getProcessor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -270,104 +227,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.CreateProcessorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.CreateProcessorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.CreateProcessorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.CreateProcessorRequest prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.CreateProcessorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the
    * [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor]
@@ -378,32 +329,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.CreateProcessorRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.CreateProcessorRequest)
       com.google.cloud.documentai.v1.CreateProcessorRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_CreateProcessorRequest_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_CreateProcessorRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.CreateProcessorRequest.class,
-              com.google.cloud.documentai.v1.CreateProcessorRequest.Builder.class);
+              com.google.cloud.documentai.v1.CreateProcessorRequest.class, com.google.cloud.documentai.v1.CreateProcessorRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.CreateProcessorRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -418,9 +370,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_CreateProcessorRequest_descriptor;
     }
 
     @java.lang.Override
@@ -439,11 +391,8 @@ public com.google.cloud.documentai.v1.CreateProcessorRequest build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.CreateProcessorRequest buildPartial() {
-      com.google.cloud.documentai.v1.CreateProcessorRequest result =
-          new com.google.cloud.documentai.v1.CreateProcessorRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.CreateProcessorRequest result = new com.google.cloud.documentai.v1.CreateProcessorRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -454,7 +403,9 @@ private void buildPartial0(com.google.cloud.documentai.v1.CreateProcessorRequest
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.processor_ = processorBuilder_ == null ? processor_ : processorBuilder_.build();
+        result.processor_ = processorBuilder_ == null
+            ? processor_
+            : processorBuilder_.build();
       }
     }
 
@@ -462,39 +413,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.CreateProcessorRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.CreateProcessorRequest) {
-        return mergeFrom((com.google.cloud.documentai.v1.CreateProcessorRequest) other);
+        return mergeFrom((com.google.cloud.documentai.v1.CreateProcessorRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -502,8 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.CreateProcessorRequest other) {
-      if (other == com.google.cloud.documentai.v1.CreateProcessorRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.CreateProcessorRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -538,25 +487,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProcessorFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProcessorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -566,28 +514,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent (project and location) under which to create the
      * processor. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -596,24 +539,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent (project and location) under which to create the
      * processor. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -621,41 +561,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent (project and location) under which to create the
      * processor. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent (project and location) under which to create the
      * processor. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -665,24 +594,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent (project and location) under which to create the
      * processor. Format: `projects/{project}/locations/{location}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -692,13 +615,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.documentai.v1.Processor processor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.Processor, - com.google.cloud.documentai.v1.Processor.Builder, - com.google.cloud.documentai.v1.ProcessorOrBuilder> - processorBuilder_; + com.google.cloud.documentai.v1.Processor, com.google.cloud.documentai.v1.Processor.Builder, com.google.cloud.documentai.v1.ProcessorOrBuilder> processorBuilder_; /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -707,18 +625,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the processor field is set. */ public boolean hasProcessor() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -727,24 +640,17 @@ public boolean hasProcessor() {
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The processor. */ public com.google.cloud.documentai.v1.Processor getProcessor() { if (processorBuilder_ == null) { - return processor_ == null - ? com.google.cloud.documentai.v1.Processor.getDefaultInstance() - : processor_; + return processor_ == null ? com.google.cloud.documentai.v1.Processor.getDefaultInstance() : processor_; } else { return processorBuilder_.getMessage(); } } /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -753,9 +659,7 @@ public com.google.cloud.documentai.v1.Processor getProcessor() {
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProcessor(com.google.cloud.documentai.v1.Processor value) { if (processorBuilder_ == null) { @@ -771,8 +675,6 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor value) { return this; } /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -781,11 +683,10 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor value) {
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setProcessor(com.google.cloud.documentai.v1.Processor.Builder builderForValue) { + public Builder setProcessor( + com.google.cloud.documentai.v1.Processor.Builder builderForValue) { if (processorBuilder_ == null) { processor_ = builderForValue.build(); } else { @@ -796,8 +697,6 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor.Builder bui return this; } /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -806,15 +705,13 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor.Builder bui
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeProcessor(com.google.cloud.documentai.v1.Processor value) { if (processorBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && processor_ != null - && processor_ != com.google.cloud.documentai.v1.Processor.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + processor_ != null && + processor_ != com.google.cloud.documentai.v1.Processor.getDefaultInstance()) { getProcessorBuilder().mergeFrom(value); } else { processor_ = value; @@ -827,8 +724,6 @@ public Builder mergeProcessor(com.google.cloud.documentai.v1.Processor value) { return this; } /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -837,9 +732,7 @@ public Builder mergeProcessor(com.google.cloud.documentai.v1.Processor value) {
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProcessor() { bitField0_ = (bitField0_ & ~0x00000002); @@ -852,8 +745,6 @@ public Builder clearProcessor() { return this; } /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -862,9 +753,7 @@ public Builder clearProcessor() {
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.documentai.v1.Processor.Builder getProcessorBuilder() { bitField0_ |= 0x00000002; @@ -872,8 +761,6 @@ public com.google.cloud.documentai.v1.Processor.Builder getProcessorBuilder() { return getProcessorFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -882,22 +769,17 @@ public com.google.cloud.documentai.v1.Processor.Builder getProcessorBuilder() {
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.documentai.v1.ProcessorOrBuilder getProcessorOrBuilder() { if (processorBuilder_ != null) { return processorBuilder_.getMessageOrBuilder(); } else { - return processor_ == null - ? com.google.cloud.documentai.v1.Processor.getDefaultInstance() - : processor_; + return processor_ == null ? + com.google.cloud.documentai.v1.Processor.getDefaultInstance() : processor_; } } /** - * - * *
      * Required. The processor to be created, requires
      * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -906,29 +788,24 @@ public com.google.cloud.documentai.v1.ProcessorOrBuilder getProcessorOrBuilder()
      * field must be set if the processor is under CMEK.
      * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.Processor, - com.google.cloud.documentai.v1.Processor.Builder, - com.google.cloud.documentai.v1.ProcessorOrBuilder> + com.google.cloud.documentai.v1.Processor, com.google.cloud.documentai.v1.Processor.Builder, com.google.cloud.documentai.v1.ProcessorOrBuilder> getProcessorFieldBuilder() { if (processorBuilder_ == null) { - processorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.Processor, - com.google.cloud.documentai.v1.Processor.Builder, - com.google.cloud.documentai.v1.ProcessorOrBuilder>( - getProcessor(), getParentForChildren(), isClean()); + processorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.Processor, com.google.cloud.documentai.v1.Processor.Builder, com.google.cloud.documentai.v1.ProcessorOrBuilder>( + getProcessor(), + getParentForChildren(), + isClean()); processor_ = null; } return processorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -938,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.CreateProcessorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.CreateProcessorRequest) private static final com.google.cloud.documentai.v1.CreateProcessorRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.CreateProcessorRequest(); } @@ -952,27 +829,27 @@ public static com.google.cloud.documentai.v1.CreateProcessorRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateProcessorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateProcessorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -987,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.CreateProcessorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java similarity index 59% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java index fd462e0b8dc9..25b2faf40825 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/CreateProcessorRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; -public interface CreateProcessorRequestOrBuilder - extends +public interface CreateProcessorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.CreateProcessorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent (project and location) under which to create the
    * processor. Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent (project and location) under which to create the
    * processor. Format: `projects/{project}/locations/{location}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The processor to be created, requires
    * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -65,16 +38,11 @@ public interface CreateProcessorRequestOrBuilder
    * field must be set if the processor is under CMEK.
    * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the processor field is set. */ boolean hasProcessor(); /** - * - * *
    * Required. The processor to be created, requires
    * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -83,16 +51,11 @@ public interface CreateProcessorRequestOrBuilder
    * field must be set if the processor is under CMEK.
    * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The processor. */ com.google.cloud.documentai.v1.Processor getProcessor(); /** - * - * *
    * Required. The processor to be created, requires
    * [Processor.type][google.cloud.documentai.v1.Processor.type] and
@@ -101,9 +64,7 @@ public interface CreateProcessorRequestOrBuilder
    * field must be set if the processor is under CMEK.
    * 
* - * - * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.documentai.v1.Processor processor = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.documentai.v1.ProcessorOrBuilder getProcessorOrBuilder(); } diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java similarity index 66% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java index aba62d657d07..0cdcae6e7487 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * The long-running operation metadata for the
  * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
@@ -29,50 +12,46 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorMetadata}
  */
-public final class DeleteProcessorMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteProcessorMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DeleteProcessorMetadata)
     DeleteProcessorMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteProcessorMetadata.newBuilder() to construct.
   private DeleteProcessorMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DeleteProcessorMetadata() {}
+  private DeleteProcessorMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteProcessorMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DeleteProcessorMetadata.class,
-            com.google.cloud.documentai.v1.DeleteProcessorMetadata.Builder.class);
+            com.google.cloud.documentai.v1.DeleteProcessorMetadata.class, com.google.cloud.documentai.v1.DeleteProcessorMetadata.Builder.class);
   }
 
   public static final int COMMON_METADATA_FIELD_NUMBER = 5;
   private com.google.cloud.documentai.v1.CommonOperationMetadata commonMetadata_;
   /**
-   *
-   *
    * 
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return Whether the commonMetadata field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasCommonMetadata() { return commonMetadata_ != null; } /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return The commonMetadata. */ @java.lang.Override public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata() { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } /** - * - * *
    * The basic metadata of the long-running operation.
    * 
@@ -106,15 +78,11 @@ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata( * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ @java.lang.Override - public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (commonMetadata_ != null) { output.writeMessage(5, getCommonMetadata()); } @@ -140,7 +109,8 @@ public int getSerializedSize() { size = 0; if (commonMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommonMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCommonMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.DeleteProcessorMetadata)) { return super.equals(obj); } - com.google.cloud.documentai.v1.DeleteProcessorMetadata other = - (com.google.cloud.documentai.v1.DeleteProcessorMetadata) obj; + com.google.cloud.documentai.v1.DeleteProcessorMetadata other = (com.google.cloud.documentai.v1.DeleteProcessorMetadata) obj; if (hasCommonMetadata() != other.hasCommonMetadata()) return false; if (hasCommonMetadata()) { - if (!getCommonMetadata().equals(other.getCommonMetadata())) return false; + if (!getCommonMetadata() + .equals(other.getCommonMetadata())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -183,104 +153,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeleteProcessorMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.DeleteProcessorMetadata prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.DeleteProcessorMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The long-running operation metadata for the
    * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
@@ -289,32 +253,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DeleteProcessorMetadata)
       com.google.cloud.documentai.v1.DeleteProcessorMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DeleteProcessorMetadata.class,
-              com.google.cloud.documentai.v1.DeleteProcessorMetadata.Builder.class);
+              com.google.cloud.documentai.v1.DeleteProcessorMetadata.class, com.google.cloud.documentai.v1.DeleteProcessorMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DeleteProcessorMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -328,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -349,11 +314,8 @@ public com.google.cloud.documentai.v1.DeleteProcessorMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DeleteProcessorMetadata buildPartial() {
-      com.google.cloud.documentai.v1.DeleteProcessorMetadata result =
-          new com.google.cloud.documentai.v1.DeleteProcessorMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.DeleteProcessorMetadata result = new com.google.cloud.documentai.v1.DeleteProcessorMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -361,8 +323,9 @@ public com.google.cloud.documentai.v1.DeleteProcessorMetadata buildPartial() {
     private void buildPartial0(com.google.cloud.documentai.v1.DeleteProcessorMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.commonMetadata_ =
-            commonMetadataBuilder_ == null ? commonMetadata_ : commonMetadataBuilder_.build();
+        result.commonMetadata_ = commonMetadataBuilder_ == null
+            ? commonMetadata_
+            : commonMetadataBuilder_.build();
       }
     }
 
@@ -370,39 +333,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.DeleteProcessorMetadat
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DeleteProcessorMetadata) {
-        return mergeFrom((com.google.cloud.documentai.v1.DeleteProcessorMetadata) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DeleteProcessorMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -410,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DeleteProcessorMetadata other) {
-      if (other == com.google.cloud.documentai.v1.DeleteProcessorMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DeleteProcessorMetadata.getDefaultInstance()) return this;
       if (other.hasCommonMetadata()) {
         mergeCommonMetadata(other.getCommonMetadata());
       }
@@ -441,19 +402,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 42:
-              {
-                input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 42: {
+              input.readMessage(
+                  getCommonMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -463,52 +424,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.documentai.v1.CommonOperationMetadata commonMetadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.documentai.v1.CommonOperationMetadata,
-            com.google.cloud.documentai.v1.CommonOperationMetadata.Builder,
-            com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>
-        commonMetadataBuilder_;
+        com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> commonMetadataBuilder_;
     /**
-     *
-     *
      * 
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return Whether the commonMetadata field is set. */ public boolean hasCommonMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return The commonMetadata. */ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata() { if (commonMetadataBuilder_ == null) { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } else { return commonMetadataBuilder_.getMessage(); } } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -529,8 +476,6 @@ public Builder setCommonMetadata(com.google.cloud.documentai.v1.CommonOperationM return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -549,21 +494,17 @@ public Builder setCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ - public Builder mergeCommonMetadata( - com.google.cloud.documentai.v1.CommonOperationMetadata value) { + public Builder mergeCommonMetadata(com.google.cloud.documentai.v1.CommonOperationMetadata value) { if (commonMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && commonMetadata_ != null - && commonMetadata_ - != com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + commonMetadata_ != null && + commonMetadata_ != com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) { getCommonMetadataBuilder().mergeFrom(value); } else { commonMetadata_ = value; @@ -576,8 +517,6 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -595,42 +534,33 @@ public Builder clearCommonMetadata() { return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ - public com.google.cloud.documentai.v1.CommonOperationMetadata.Builder - getCommonMetadataBuilder() { + public com.google.cloud.documentai.v1.CommonOperationMetadata.Builder getCommonMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommonMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ - public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { if (commonMetadataBuilder_ != null) { return commonMetadataBuilder_.getMessageOrBuilder(); } else { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? + com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -638,24 +568,21 @@ public Builder clearCommonMetadata() { * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.CommonOperationMetadata, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, - com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> + com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> getCommonMetadataFieldBuilder() { if (commonMetadataBuilder_ == null) { - commonMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.CommonOperationMetadata, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, - com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>( - getCommonMetadata(), getParentForChildren(), isClean()); + commonMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>( + getCommonMetadata(), + getParentForChildren(), + isClean()); commonMetadata_ = null; } return commonMetadataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -665,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DeleteProcessorMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DeleteProcessorMetadata) private static final com.google.cloud.documentai.v1.DeleteProcessorMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DeleteProcessorMetadata(); } @@ -679,27 +606,27 @@ public static com.google.cloud.documentai.v1.DeleteProcessorMetadata getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteProcessorMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteProcessorMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,4 +641,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.DeleteProcessorMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadataOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadataOrBuilder.java similarity index 62% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadataOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadataOrBuilder.java index cbfb65c647f8..a5f9d13f1b90 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadataOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; -public interface DeleteProcessorMetadataOrBuilder - extends +public interface DeleteProcessorMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeleteProcessorMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return Whether the commonMetadata field is set. */ boolean hasCommonMetadata(); /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return The commonMetadata. */ com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata(); /** - * - * *
    * The basic metadata of the long-running operation.
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java similarity index 63% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java index 539a45e2d695..4a4d0834ac44 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Request message for the
  * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
@@ -29,56 +12,48 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorRequest}
  */
-public final class DeleteProcessorRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteProcessorRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DeleteProcessorRequest)
     DeleteProcessorRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteProcessorRequest.newBuilder() to construct.
   private DeleteProcessorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteProcessorRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteProcessorRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DeleteProcessorRequest.class,
-            com.google.cloud.documentai.v1.DeleteProcessorRequest.Builder.class);
+            com.google.cloud.documentai.v1.DeleteProcessorRequest.class, com.google.cloud.documentai.v1.DeleteProcessorRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The processor resource name to be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,31 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The processor resource name to be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.DeleteProcessorRequest)) { return super.equals(obj); } - com.google.cloud.documentai.v1.DeleteProcessorRequest other = - (com.google.cloud.documentai.v1.DeleteProcessorRequest) obj; + com.google.cloud.documentai.v1.DeleteProcessorRequest other = (com.google.cloud.documentai.v1.DeleteProcessorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,104 +157,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeleteProcessorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.DeleteProcessorRequest prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.DeleteProcessorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the
    * [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor]
@@ -290,32 +257,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DeleteProcessorRequest)
       com.google.cloud.documentai.v1.DeleteProcessorRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DeleteProcessorRequest.class,
-              com.google.cloud.documentai.v1.DeleteProcessorRequest.Builder.class);
+              com.google.cloud.documentai.v1.DeleteProcessorRequest.class, com.google.cloud.documentai.v1.DeleteProcessorRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DeleteProcessorRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorRequest_descriptor;
     }
 
     @java.lang.Override
@@ -346,11 +314,8 @@ public com.google.cloud.documentai.v1.DeleteProcessorRequest build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DeleteProcessorRequest buildPartial() {
-      com.google.cloud.documentai.v1.DeleteProcessorRequest result =
-          new com.google.cloud.documentai.v1.DeleteProcessorRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.DeleteProcessorRequest result = new com.google.cloud.documentai.v1.DeleteProcessorRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -366,39 +331,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.DeleteProcessorRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DeleteProcessorRequest) {
-        return mergeFrom((com.google.cloud.documentai.v1.DeleteProcessorRequest) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DeleteProcessorRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,8 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DeleteProcessorRequest other) {
-      if (other == com.google.cloud.documentai.v1.DeleteProcessorRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DeleteProcessorRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -439,19 +402,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -461,27 +422,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The processor resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -490,23 +446,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The processor resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -514,39 +467,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The processor resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The processor resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,32 +498,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The processor resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DeleteProcessorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DeleteProcessorRequest) private static final com.google.cloud.documentai.v1.DeleteProcessorRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DeleteProcessorRequest(); } @@ -605,27 +541,27 @@ public static com.google.cloud.documentai.v1.DeleteProcessorRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteProcessorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteProcessorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.DeleteProcessorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequestOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequestOrBuilder.java new file mode 100644 index 000000000000..9e13329bbbcf --- /dev/null +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/documentai/v1/document_processor_service.proto + +package com.google.cloud.documentai.v1; + +public interface DeleteProcessorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeleteProcessorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The processor resource name to be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The processor resource name to be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadata.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadata.java similarity index 65% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadata.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadata.java index 97847aa500d4..af9c1c1e4cad 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadata.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * The long-running operation metadata for the
  * [DeleteProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion]
@@ -29,51 +12,46 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorVersionMetadata}
  */
-public final class DeleteProcessorVersionMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteProcessorVersionMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DeleteProcessorVersionMetadata)
     DeleteProcessorVersionMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteProcessorVersionMetadata.newBuilder() to construct.
-  private DeleteProcessorVersionMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DeleteProcessorVersionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DeleteProcessorVersionMetadata() {}
+  private DeleteProcessorVersionMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteProcessorVersionMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.class,
-            com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.Builder.class);
+            com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.class, com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.Builder.class);
   }
 
   public static final int COMMON_METADATA_FIELD_NUMBER = 1;
   private com.google.cloud.documentai.v1.CommonOperationMetadata commonMetadata_;
   /**
-   *
-   *
    * 
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return Whether the commonMetadata field is set. */ @java.lang.Override @@ -81,25 +59,18 @@ public boolean hasCommonMetadata() { return commonMetadata_ != null; } /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return The commonMetadata. */ @java.lang.Override public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata() { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } /** - * - * *
    * The basic metadata of the long-running operation.
    * 
@@ -107,15 +78,11 @@ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata( * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ @java.lang.Override - public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (commonMetadata_ != null) { output.writeMessage(1, getCommonMetadata()); } @@ -141,7 +109,8 @@ public int getSerializedSize() { size = 0; if (commonMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommonMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommonMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata)) { return super.equals(obj); } - com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata other = - (com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata) obj; + com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata other = (com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata) obj; if (hasCommonMetadata() != other.hasCommonMetadata()) return false; if (hasCommonMetadata()) { - if (!getCommonMetadata().equals(other.getCommonMetadata())) return false; + if (!getCommonMetadata() + .equals(other.getCommonMetadata())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -184,104 +153,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The long-running operation metadata for the
    * [DeleteProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion]
@@ -290,32 +253,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorVersionMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DeleteProcessorVersionMetadata)
       com.google.cloud.documentai.v1.DeleteProcessorVersionMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.class,
-              com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.Builder.class);
+              com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.class, com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -329,14 +293,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata
-        getDefaultInstanceForType() {
+    public com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata getDefaultInstanceForType() {
       return com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.getDefaultInstance();
     }
 
@@ -351,21 +314,18 @@ public com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata buildPartial() {
-      com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata result =
-          new com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata result = new com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata result) {
+    private void buildPartial0(com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.commonMetadata_ =
-            commonMetadataBuilder_ == null ? commonMetadata_ : commonMetadataBuilder_.build();
+        result.commonMetadata_ = commonMetadataBuilder_ == null
+            ? commonMetadata_
+            : commonMetadataBuilder_.build();
       }
     }
 
@@ -373,39 +333,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata) {
-        return mergeFrom((com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -413,9 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata other) {
-      if (other
-          == com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata.getDefaultInstance()) return this;
       if (other.hasCommonMetadata()) {
         mergeCommonMetadata(other.getCommonMetadata());
       }
@@ -445,19 +402,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getCommonMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -467,52 +424,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.documentai.v1.CommonOperationMetadata commonMetadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.documentai.v1.CommonOperationMetadata,
-            com.google.cloud.documentai.v1.CommonOperationMetadata.Builder,
-            com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>
-        commonMetadataBuilder_;
+        com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> commonMetadataBuilder_;
     /**
-     *
-     *
      * 
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return Whether the commonMetadata field is set. */ public boolean hasCommonMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return The commonMetadata. */ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata() { if (commonMetadataBuilder_ == null) { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } else { return commonMetadataBuilder_.getMessage(); } } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -533,8 +476,6 @@ public Builder setCommonMetadata(com.google.cloud.documentai.v1.CommonOperationM return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -553,21 +494,17 @@ public Builder setCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ - public Builder mergeCommonMetadata( - com.google.cloud.documentai.v1.CommonOperationMetadata value) { + public Builder mergeCommonMetadata(com.google.cloud.documentai.v1.CommonOperationMetadata value) { if (commonMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && commonMetadata_ != null - && commonMetadata_ - != com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + commonMetadata_ != null && + commonMetadata_ != com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) { getCommonMetadataBuilder().mergeFrom(value); } else { commonMetadata_ = value; @@ -580,8 +517,6 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -599,42 +534,33 @@ public Builder clearCommonMetadata() { return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ - public com.google.cloud.documentai.v1.CommonOperationMetadata.Builder - getCommonMetadataBuilder() { + public com.google.cloud.documentai.v1.CommonOperationMetadata.Builder getCommonMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommonMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ - public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { if (commonMetadataBuilder_ != null) { return commonMetadataBuilder_.getMessageOrBuilder(); } else { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? + com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -642,24 +568,21 @@ public Builder clearCommonMetadata() { * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.CommonOperationMetadata, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, - com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> + com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> getCommonMetadataFieldBuilder() { if (commonMetadataBuilder_ == null) { - commonMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.CommonOperationMetadata, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, - com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>( - getCommonMetadata(), getParentForChildren(), isClean()); + commonMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>( + getCommonMetadata(), + getParentForChildren(), + isClean()); commonMetadata_ = null; } return commonMetadataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -669,13 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DeleteProcessorVersionMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DeleteProcessorVersionMetadata) - private static final com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata(); } @@ -684,27 +606,27 @@ public static com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteProcessorVersionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteProcessorVersionMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -719,4 +641,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadataOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadataOrBuilder.java similarity index 62% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadataOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadataOrBuilder.java index cf93d1f81ca6..c3ce85af57d8 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadataOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; -public interface DeleteProcessorVersionMetadataOrBuilder - extends +public interface DeleteProcessorVersionMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeleteProcessorVersionMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return Whether the commonMetadata field is set. */ boolean hasCommonMetadata(); /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return The commonMetadata. */ com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata(); /** - * - * *
    * The basic metadata of the long-running operation.
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequest.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequest.java similarity index 62% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequest.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequest.java index d53d3cfdd6b9..111fb68c862d 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequest.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Request message for the
  * [DeleteProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion]
@@ -29,56 +12,48 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorVersionRequest}
  */
-public final class DeleteProcessorVersionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteProcessorVersionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DeleteProcessorVersionRequest)
     DeleteProcessorVersionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteProcessorVersionRequest.newBuilder() to construct.
   private DeleteProcessorVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteProcessorVersionRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteProcessorVersionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.class,
-            com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.Builder.class);
+            com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.class, com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The processor version resource name to be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,31 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The processor version resource name to be deleted.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.DeleteProcessorVersionRequest)) { return super.equals(obj); } - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest other = - (com.google.cloud.documentai.v1.DeleteProcessorVersionRequest) obj; + com.google.cloud.documentai.v1.DeleteProcessorVersionRequest other = (com.google.cloud.documentai.v1.DeleteProcessorVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,104 +157,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.DeleteProcessorVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the
    * [DeleteProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion]
@@ -290,32 +257,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DeleteProcessorVersionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DeleteProcessorVersionRequest)
       com.google.cloud.documentai.v1.DeleteProcessorVersionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.class,
-              com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.Builder.class);
+              com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.class, com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,14 +293,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeleteProcessorVersionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.documentai.v1.DeleteProcessorVersionRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.documentai.v1.DeleteProcessorVersionRequest getDefaultInstanceForType() {
       return com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.getDefaultInstance();
     }
 
@@ -347,17 +314,13 @@ public com.google.cloud.documentai.v1.DeleteProcessorVersionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DeleteProcessorVersionRequest buildPartial() {
-      com.google.cloud.documentai.v1.DeleteProcessorVersionRequest result =
-          new com.google.cloud.documentai.v1.DeleteProcessorVersionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.DeleteProcessorVersionRequest result = new com.google.cloud.documentai.v1.DeleteProcessorVersionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.documentai.v1.DeleteProcessorVersionRequest result) {
+    private void buildPartial0(com.google.cloud.documentai.v1.DeleteProcessorVersionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -368,39 +331,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DeleteProcessorVersionRequest) {
-        return mergeFrom((com.google.cloud.documentai.v1.DeleteProcessorVersionRequest) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DeleteProcessorVersionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,9 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DeleteProcessorVersionRequest other) {
-      if (other
-          == com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DeleteProcessorVersionRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -442,19 +402,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -464,27 +422,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The processor version resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,23 +446,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The processor version resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -517,39 +467,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The processor version resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The processor version resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -559,32 +498,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The processor version resource name to be deleted.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,13 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DeleteProcessorVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DeleteProcessorVersionRequest) - private static final com.google.cloud.documentai.v1.DeleteProcessorVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.documentai.v1.DeleteProcessorVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DeleteProcessorVersionRequest(); } @@ -609,27 +541,27 @@ public static com.google.cloud.documentai.v1.DeleteProcessorVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteProcessorVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteProcessorVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,4 +576,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.documentai.v1.DeleteProcessorVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequestOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequestOrBuilder.java new file mode 100644 index 000000000000..a54bc50037e8 --- /dev/null +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeleteProcessorVersionRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/documentai/v1/document_processor_service.proto + +package com.google.cloud.documentai.v1; + +public interface DeleteProcessorVersionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeleteProcessorVersionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The processor version resource name to be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The processor version resource name to be deleted.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadata.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadata.java similarity index 65% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadata.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadata.java index c26231bc0e20..96df2e6f8ce3 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadata.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * The long-running operation metadata for the
  * [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion]
@@ -29,51 +12,46 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DeployProcessorVersionMetadata}
  */
-public final class DeployProcessorVersionMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeployProcessorVersionMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DeployProcessorVersionMetadata)
     DeployProcessorVersionMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeployProcessorVersionMetadata.newBuilder() to construct.
-  private DeployProcessorVersionMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DeployProcessorVersionMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DeployProcessorVersionMetadata() {}
+  private DeployProcessorVersionMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeployProcessorVersionMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.class,
-            com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.Builder.class);
+            com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.class, com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.Builder.class);
   }
 
   public static final int COMMON_METADATA_FIELD_NUMBER = 1;
   private com.google.cloud.documentai.v1.CommonOperationMetadata commonMetadata_;
   /**
-   *
-   *
    * 
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return Whether the commonMetadata field is set. */ @java.lang.Override @@ -81,25 +59,18 @@ public boolean hasCommonMetadata() { return commonMetadata_ != null; } /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return The commonMetadata. */ @java.lang.Override public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata() { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } /** - * - * *
    * The basic metadata of the long-running operation.
    * 
@@ -107,15 +78,11 @@ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata( * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ @java.lang.Override - public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (commonMetadata_ != null) { output.writeMessage(1, getCommonMetadata()); } @@ -141,7 +109,8 @@ public int getSerializedSize() { size = 0; if (commonMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommonMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommonMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.DeployProcessorVersionMetadata)) { return super.equals(obj); } - com.google.cloud.documentai.v1.DeployProcessorVersionMetadata other = - (com.google.cloud.documentai.v1.DeployProcessorVersionMetadata) obj; + com.google.cloud.documentai.v1.DeployProcessorVersionMetadata other = (com.google.cloud.documentai.v1.DeployProcessorVersionMetadata) obj; if (hasCommonMetadata() != other.hasCommonMetadata()) return false; if (hasCommonMetadata()) { - if (!getCommonMetadata().equals(other.getCommonMetadata())) return false; + if (!getCommonMetadata() + .equals(other.getCommonMetadata())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -184,104 +153,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.DeployProcessorVersionMetadata prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.DeployProcessorVersionMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The long-running operation metadata for the
    * [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion]
@@ -290,32 +253,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DeployProcessorVersionMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DeployProcessorVersionMetadata)
       com.google.cloud.documentai.v1.DeployProcessorVersionMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.class,
-              com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.Builder.class);
+              com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.class, com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -329,14 +293,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.documentai.v1.DeployProcessorVersionMetadata
-        getDefaultInstanceForType() {
+    public com.google.cloud.documentai.v1.DeployProcessorVersionMetadata getDefaultInstanceForType() {
       return com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.getDefaultInstance();
     }
 
@@ -351,21 +314,18 @@ public com.google.cloud.documentai.v1.DeployProcessorVersionMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DeployProcessorVersionMetadata buildPartial() {
-      com.google.cloud.documentai.v1.DeployProcessorVersionMetadata result =
-          new com.google.cloud.documentai.v1.DeployProcessorVersionMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.DeployProcessorVersionMetadata result = new com.google.cloud.documentai.v1.DeployProcessorVersionMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.documentai.v1.DeployProcessorVersionMetadata result) {
+    private void buildPartial0(com.google.cloud.documentai.v1.DeployProcessorVersionMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.commonMetadata_ =
-            commonMetadataBuilder_ == null ? commonMetadata_ : commonMetadataBuilder_.build();
+        result.commonMetadata_ = commonMetadataBuilder_ == null
+            ? commonMetadata_
+            : commonMetadataBuilder_.build();
       }
     }
 
@@ -373,39 +333,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DeployProcessorVersionMetadata) {
-        return mergeFrom((com.google.cloud.documentai.v1.DeployProcessorVersionMetadata) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DeployProcessorVersionMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -413,9 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DeployProcessorVersionMetadata other) {
-      if (other
-          == com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DeployProcessorVersionMetadata.getDefaultInstance()) return this;
       if (other.hasCommonMetadata()) {
         mergeCommonMetadata(other.getCommonMetadata());
       }
@@ -445,19 +402,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getCommonMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -467,52 +424,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.documentai.v1.CommonOperationMetadata commonMetadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.documentai.v1.CommonOperationMetadata,
-            com.google.cloud.documentai.v1.CommonOperationMetadata.Builder,
-            com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>
-        commonMetadataBuilder_;
+        com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> commonMetadataBuilder_;
     /**
-     *
-     *
      * 
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return Whether the commonMetadata field is set. */ public boolean hasCommonMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return The commonMetadata. */ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata() { if (commonMetadataBuilder_ == null) { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } else { return commonMetadataBuilder_.getMessage(); } } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -533,8 +476,6 @@ public Builder setCommonMetadata(com.google.cloud.documentai.v1.CommonOperationM return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -553,21 +494,17 @@ public Builder setCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ - public Builder mergeCommonMetadata( - com.google.cloud.documentai.v1.CommonOperationMetadata value) { + public Builder mergeCommonMetadata(com.google.cloud.documentai.v1.CommonOperationMetadata value) { if (commonMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && commonMetadata_ != null - && commonMetadata_ - != com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + commonMetadata_ != null && + commonMetadata_ != com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) { getCommonMetadataBuilder().mergeFrom(value); } else { commonMetadata_ = value; @@ -580,8 +517,6 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -599,42 +534,33 @@ public Builder clearCommonMetadata() { return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ - public com.google.cloud.documentai.v1.CommonOperationMetadata.Builder - getCommonMetadataBuilder() { + public com.google.cloud.documentai.v1.CommonOperationMetadata.Builder getCommonMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommonMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ - public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { if (commonMetadataBuilder_ != null) { return commonMetadataBuilder_.getMessageOrBuilder(); } else { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? + com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -642,24 +568,21 @@ public Builder clearCommonMetadata() { * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.CommonOperationMetadata, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, - com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> + com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> getCommonMetadataFieldBuilder() { if (commonMetadataBuilder_ == null) { - commonMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.CommonOperationMetadata, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, - com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>( - getCommonMetadata(), getParentForChildren(), isClean()); + commonMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>( + getCommonMetadata(), + getParentForChildren(), + isClean()); commonMetadata_ = null; } return commonMetadataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -669,13 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DeployProcessorVersionMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DeployProcessorVersionMetadata) - private static final com.google.cloud.documentai.v1.DeployProcessorVersionMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.documentai.v1.DeployProcessorVersionMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DeployProcessorVersionMetadata(); } @@ -684,27 +606,27 @@ public static com.google.cloud.documentai.v1.DeployProcessorVersionMetadata getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployProcessorVersionMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployProcessorVersionMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -719,4 +641,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.documentai.v1.DeployProcessorVersionMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadataOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadataOrBuilder.java similarity index 62% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadataOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadataOrBuilder.java index df457ac5c3db..9282c3d94733 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadataOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; -public interface DeployProcessorVersionMetadataOrBuilder - extends +public interface DeployProcessorVersionMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeployProcessorVersionMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return Whether the commonMetadata field is set. */ boolean hasCommonMetadata(); /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 1; - * * @return The commonMetadata. */ com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata(); /** - * - * *
    * The basic metadata of the long-running operation.
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequest.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequest.java similarity index 62% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequest.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequest.java index 1319adb7f68f..606e890a883e 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequest.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Request message for the
  * [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion]
@@ -29,56 +12,48 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DeployProcessorVersionRequest}
  */
-public final class DeployProcessorVersionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeployProcessorVersionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DeployProcessorVersionRequest)
     DeployProcessorVersionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeployProcessorVersionRequest.newBuilder() to construct.
   private DeployProcessorVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeployProcessorVersionRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeployProcessorVersionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DeployProcessorVersionRequest.class,
-            com.google.cloud.documentai.v1.DeployProcessorVersionRequest.Builder.class);
+            com.google.cloud.documentai.v1.DeployProcessorVersionRequest.class, com.google.cloud.documentai.v1.DeployProcessorVersionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The processor version resource name to be deployed.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,31 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The processor version resource name to be deployed.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.DeployProcessorVersionRequest)) { return super.equals(obj); } - com.google.cloud.documentai.v1.DeployProcessorVersionRequest other = - (com.google.cloud.documentai.v1.DeployProcessorVersionRequest) obj; + com.google.cloud.documentai.v1.DeployProcessorVersionRequest other = (com.google.cloud.documentai.v1.DeployProcessorVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,104 +157,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.DeployProcessorVersionRequest prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.DeployProcessorVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the
    * [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion]
@@ -290,32 +257,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DeployProcessorVersionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DeployProcessorVersionRequest)
       com.google.cloud.documentai.v1.DeployProcessorVersionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DeployProcessorVersionRequest.class,
-              com.google.cloud.documentai.v1.DeployProcessorVersionRequest.Builder.class);
+              com.google.cloud.documentai.v1.DeployProcessorVersionRequest.class, com.google.cloud.documentai.v1.DeployProcessorVersionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DeployProcessorVersionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,14 +293,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.documentai.v1.DeployProcessorVersionRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.documentai.v1.DeployProcessorVersionRequest getDefaultInstanceForType() {
       return com.google.cloud.documentai.v1.DeployProcessorVersionRequest.getDefaultInstance();
     }
 
@@ -347,17 +314,13 @@ public com.google.cloud.documentai.v1.DeployProcessorVersionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DeployProcessorVersionRequest buildPartial() {
-      com.google.cloud.documentai.v1.DeployProcessorVersionRequest result =
-          new com.google.cloud.documentai.v1.DeployProcessorVersionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.DeployProcessorVersionRequest result = new com.google.cloud.documentai.v1.DeployProcessorVersionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.documentai.v1.DeployProcessorVersionRequest result) {
+    private void buildPartial0(com.google.cloud.documentai.v1.DeployProcessorVersionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -368,39 +331,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DeployProcessorVersionRequest) {
-        return mergeFrom((com.google.cloud.documentai.v1.DeployProcessorVersionRequest) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DeployProcessorVersionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,9 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DeployProcessorVersionRequest other) {
-      if (other
-          == com.google.cloud.documentai.v1.DeployProcessorVersionRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DeployProcessorVersionRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -442,19 +402,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -464,27 +422,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The processor version resource name to be deployed.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,23 +446,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The processor version resource name to be deployed.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -517,39 +467,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The processor version resource name to be deployed.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The processor version resource name to be deployed.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -559,32 +498,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The processor version resource name to be deployed.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,13 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DeployProcessorVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DeployProcessorVersionRequest) - private static final com.google.cloud.documentai.v1.DeployProcessorVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.documentai.v1.DeployProcessorVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DeployProcessorVersionRequest(); } @@ -609,27 +541,27 @@ public static com.google.cloud.documentai.v1.DeployProcessorVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeployProcessorVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeployProcessorVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,4 +576,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.documentai.v1.DeployProcessorVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequestOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequestOrBuilder.java new file mode 100644 index 000000000000..f3e3acc6231a --- /dev/null +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/documentai/v1/document_processor_service.proto + +package com.google.cloud.documentai.v1; + +public interface DeployProcessorVersionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeployProcessorVersionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The processor version resource name to be deployed.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The processor version resource name to be deployed.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponse.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponse.java similarity index 62% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponse.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponse.java index 5d436b8669c0..65bafa16054d 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponse.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Response message for the
  * [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion]
@@ -29,42 +12,39 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DeployProcessorVersionResponse}
  */
-public final class DeployProcessorVersionResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeployProcessorVersionResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DeployProcessorVersionResponse)
     DeployProcessorVersionResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeployProcessorVersionResponse.newBuilder() to construct.
-  private DeployProcessorVersionResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DeployProcessorVersionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DeployProcessorVersionResponse() {}
+  private DeployProcessorVersionResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeployProcessorVersionResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DeployProcessorVersionResponse.class,
-            com.google.cloud.documentai.v1.DeployProcessorVersionResponse.Builder.class);
+            com.google.cloud.documentai.v1.DeployProcessorVersionResponse.class, com.google.cloud.documentai.v1.DeployProcessorVersionResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -76,7 +56,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getUnknownFields().writeTo(output);
   }
 
@@ -94,13 +75,12 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.documentai.v1.DeployProcessorVersionResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.documentai.v1.DeployProcessorVersionResponse other =
-        (com.google.cloud.documentai.v1.DeployProcessorVersionResponse) obj;
+    com.google.cloud.documentai.v1.DeployProcessorVersionResponse other = (com.google.cloud.documentai.v1.DeployProcessorVersionResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -119,104 +99,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.documentai.v1.DeployProcessorVersionResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.documentai.v1.DeployProcessorVersionResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for the
    * [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion]
@@ -225,32 +199,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DeployProcessorVersionResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DeployProcessorVersionResponse)
       com.google.cloud.documentai.v1.DeployProcessorVersionResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DeployProcessorVersionResponse.class,
-              com.google.cloud.documentai.v1.DeployProcessorVersionResponse.Builder.class);
+              com.google.cloud.documentai.v1.DeployProcessorVersionResponse.class, com.google.cloud.documentai.v1.DeployProcessorVersionResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DeployProcessorVersionResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -258,14 +233,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DeployProcessorVersionResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.documentai.v1.DeployProcessorVersionResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.documentai.v1.DeployProcessorVersionResponse getDefaultInstanceForType() {
       return com.google.cloud.documentai.v1.DeployProcessorVersionResponse.getDefaultInstance();
     }
 
@@ -280,8 +254,7 @@ public com.google.cloud.documentai.v1.DeployProcessorVersionResponse build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DeployProcessorVersionResponse buildPartial() {
-      com.google.cloud.documentai.v1.DeployProcessorVersionResponse result =
-          new com.google.cloud.documentai.v1.DeployProcessorVersionResponse(this);
+      com.google.cloud.documentai.v1.DeployProcessorVersionResponse result = new com.google.cloud.documentai.v1.DeployProcessorVersionResponse(this);
       onBuilt();
       return result;
     }
@@ -290,39 +263,38 @@ public com.google.cloud.documentai.v1.DeployProcessorVersionResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DeployProcessorVersionResponse) {
-        return mergeFrom((com.google.cloud.documentai.v1.DeployProcessorVersionResponse) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DeployProcessorVersionResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -330,9 +302,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DeployProcessorVersionResponse other) {
-      if (other
-          == com.google.cloud.documentai.v1.DeployProcessorVersionResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DeployProcessorVersionResponse.getDefaultInstance()) return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -359,13 +329,12 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -375,9 +344,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -387,13 +356,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DeployProcessorVersionResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DeployProcessorVersionResponse)
-  private static final com.google.cloud.documentai.v1.DeployProcessorVersionResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.documentai.v1.DeployProcessorVersionResponse DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DeployProcessorVersionResponse();
   }
@@ -402,27 +370,27 @@ public static com.google.cloud.documentai.v1.DeployProcessorVersionResponse getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DeployProcessorVersionResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DeployProcessorVersionResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -437,4 +405,6 @@ public com.google.protobuf.Parser getParserForTy
   public com.google.cloud.documentai.v1.DeployProcessorVersionResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponseOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponseOrBuilder.java
new file mode 100644
index 000000000000..ebefe3a44290
--- /dev/null
+++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DeployProcessorVersionResponseOrBuilder.java
@@ -0,0 +1,9 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/documentai/v1/document_processor_service.proto
+
+package com.google.cloud.documentai.v1;
+
+public interface DeployProcessorVersionResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DeployProcessorVersionResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java
similarity index 66%
rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java
rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java
index 17307059ae48..bea5045a6a68 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java
+++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/documentai/v1/document_processor_service.proto
 
 package com.google.cloud.documentai.v1;
 
 /**
- *
- *
  * 
  * The long-running operation metadata for the
  * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
@@ -29,50 +12,46 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorMetadata}
  */
-public final class DisableProcessorMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DisableProcessorMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DisableProcessorMetadata)
     DisableProcessorMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DisableProcessorMetadata.newBuilder() to construct.
   private DisableProcessorMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DisableProcessorMetadata() {}
+  private DisableProcessorMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DisableProcessorMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DisableProcessorMetadata.class,
-            com.google.cloud.documentai.v1.DisableProcessorMetadata.Builder.class);
+            com.google.cloud.documentai.v1.DisableProcessorMetadata.class, com.google.cloud.documentai.v1.DisableProcessorMetadata.Builder.class);
   }
 
   public static final int COMMON_METADATA_FIELD_NUMBER = 5;
   private com.google.cloud.documentai.v1.CommonOperationMetadata commonMetadata_;
   /**
-   *
-   *
    * 
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return Whether the commonMetadata field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasCommonMetadata() { return commonMetadata_ != null; } /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return The commonMetadata. */ @java.lang.Override public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata() { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } /** - * - * *
    * The basic metadata of the long-running operation.
    * 
@@ -106,15 +78,11 @@ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata( * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ @java.lang.Override - public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (commonMetadata_ != null) { output.writeMessage(5, getCommonMetadata()); } @@ -140,7 +109,8 @@ public int getSerializedSize() { size = 0; if (commonMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommonMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCommonMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.DisableProcessorMetadata)) { return super.equals(obj); } - com.google.cloud.documentai.v1.DisableProcessorMetadata other = - (com.google.cloud.documentai.v1.DisableProcessorMetadata) obj; + com.google.cloud.documentai.v1.DisableProcessorMetadata other = (com.google.cloud.documentai.v1.DisableProcessorMetadata) obj; if (hasCommonMetadata() != other.hasCommonMetadata()) return false; if (hasCommonMetadata()) { - if (!getCommonMetadata().equals(other.getCommonMetadata())) return false; + if (!getCommonMetadata() + .equals(other.getCommonMetadata())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -183,104 +153,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DisableProcessorMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.DisableProcessorMetadata prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.DisableProcessorMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The long-running operation metadata for the
    * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
@@ -289,32 +253,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DisableProcessorMetadata)
       com.google.cloud.documentai.v1.DisableProcessorMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DisableProcessorMetadata.class,
-              com.google.cloud.documentai.v1.DisableProcessorMetadata.Builder.class);
+              com.google.cloud.documentai.v1.DisableProcessorMetadata.class, com.google.cloud.documentai.v1.DisableProcessorMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DisableProcessorMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -328,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -349,11 +314,8 @@ public com.google.cloud.documentai.v1.DisableProcessorMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DisableProcessorMetadata buildPartial() {
-      com.google.cloud.documentai.v1.DisableProcessorMetadata result =
-          new com.google.cloud.documentai.v1.DisableProcessorMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.DisableProcessorMetadata result = new com.google.cloud.documentai.v1.DisableProcessorMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -361,8 +323,9 @@ public com.google.cloud.documentai.v1.DisableProcessorMetadata buildPartial() {
     private void buildPartial0(com.google.cloud.documentai.v1.DisableProcessorMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.commonMetadata_ =
-            commonMetadataBuilder_ == null ? commonMetadata_ : commonMetadataBuilder_.build();
+        result.commonMetadata_ = commonMetadataBuilder_ == null
+            ? commonMetadata_
+            : commonMetadataBuilder_.build();
       }
     }
 
@@ -370,39 +333,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.DisableProcessorMetada
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DisableProcessorMetadata) {
-        return mergeFrom((com.google.cloud.documentai.v1.DisableProcessorMetadata) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DisableProcessorMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -410,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DisableProcessorMetadata other) {
-      if (other == com.google.cloud.documentai.v1.DisableProcessorMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DisableProcessorMetadata.getDefaultInstance()) return this;
       if (other.hasCommonMetadata()) {
         mergeCommonMetadata(other.getCommonMetadata());
       }
@@ -441,19 +402,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 42:
-              {
-                input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 42: {
+              input.readMessage(
+                  getCommonMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -463,52 +424,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.documentai.v1.CommonOperationMetadata commonMetadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.documentai.v1.CommonOperationMetadata,
-            com.google.cloud.documentai.v1.CommonOperationMetadata.Builder,
-            com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>
-        commonMetadataBuilder_;
+        com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> commonMetadataBuilder_;
     /**
-     *
-     *
      * 
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return Whether the commonMetadata field is set. */ public boolean hasCommonMetadata() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return The commonMetadata. */ public com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata() { if (commonMetadataBuilder_ == null) { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } else { return commonMetadataBuilder_.getMessage(); } } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -529,8 +476,6 @@ public Builder setCommonMetadata(com.google.cloud.documentai.v1.CommonOperationM return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -549,21 +494,17 @@ public Builder setCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ - public Builder mergeCommonMetadata( - com.google.cloud.documentai.v1.CommonOperationMetadata value) { + public Builder mergeCommonMetadata(com.google.cloud.documentai.v1.CommonOperationMetadata value) { if (commonMetadataBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && commonMetadata_ != null - && commonMetadata_ - != com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + commonMetadata_ != null && + commonMetadata_ != com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance()) { getCommonMetadataBuilder().mergeFrom(value); } else { commonMetadata_ = value; @@ -576,8 +517,6 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -595,42 +534,33 @@ public Builder clearCommonMetadata() { return this; } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ - public com.google.cloud.documentai.v1.CommonOperationMetadata.Builder - getCommonMetadataBuilder() { + public com.google.cloud.documentai.v1.CommonOperationMetadata.Builder getCommonMetadataBuilder() { bitField0_ |= 0x00000001; onChanged(); return getCommonMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ - public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder - getCommonMetadataOrBuilder() { + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { if (commonMetadataBuilder_ != null) { return commonMetadataBuilder_.getMessageOrBuilder(); } else { - return commonMetadata_ == null - ? com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() - : commonMetadata_; + return commonMetadata_ == null ? + com.google.cloud.documentai.v1.CommonOperationMetadata.getDefaultInstance() : commonMetadata_; } } /** - * - * *
      * The basic metadata of the long-running operation.
      * 
@@ -638,24 +568,21 @@ public Builder clearCommonMetadata() { * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.CommonOperationMetadata, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, - com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> + com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder> getCommonMetadataFieldBuilder() { if (commonMetadataBuilder_ == null) { - commonMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.CommonOperationMetadata, - com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, - com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>( - getCommonMetadata(), getParentForChildren(), isClean()); + commonMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.CommonOperationMetadata, com.google.cloud.documentai.v1.CommonOperationMetadata.Builder, com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder>( + getCommonMetadata(), + getParentForChildren(), + isClean()); commonMetadata_ = null; } return commonMetadataBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -665,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DisableProcessorMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DisableProcessorMetadata) private static final com.google.cloud.documentai.v1.DisableProcessorMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DisableProcessorMetadata(); } @@ -679,27 +606,27 @@ public static com.google.cloud.documentai.v1.DisableProcessorMetadata getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DisableProcessorMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DisableProcessorMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,4 +641,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.DisableProcessorMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadataOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadataOrBuilder.java similarity index 62% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadataOrBuilder.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadataOrBuilder.java index c482ad76cb32..1c21a4ef3c43 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadataOrBuilder.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; -public interface DisableProcessorMetadataOrBuilder - extends +public interface DisableProcessorMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DisableProcessorMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return Whether the commonMetadata field is set. */ boolean hasCommonMetadata(); /** - * - * *
    * The basic metadata of the long-running operation.
    * 
* * .google.cloud.documentai.v1.CommonOperationMetadata common_metadata = 5; - * * @return The commonMetadata. */ com.google.cloud.documentai.v1.CommonOperationMetadata getCommonMetadata(); /** - * - * *
    * The basic metadata of the long-running operation.
    * 
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java similarity index 63% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java index 635bfe59d04d..54ca4dba93db 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Request message for the
  * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
@@ -29,56 +12,48 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorRequest}
  */
-public final class DisableProcessorRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DisableProcessorRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DisableProcessorRequest)
     DisableProcessorRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DisableProcessorRequest.newBuilder() to construct.
   private DisableProcessorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DisableProcessorRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DisableProcessorRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DisableProcessorRequest_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DisableProcessorRequest.class,
-            com.google.cloud.documentai.v1.DisableProcessorRequest.Builder.class);
+            com.google.cloud.documentai.v1.DisableProcessorRequest.class, com.google.cloud.documentai.v1.DisableProcessorRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The processor resource name to be disabled.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,31 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The processor resource name to be disabled.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.DisableProcessorRequest)) { return super.equals(obj); } - com.google.cloud.documentai.v1.DisableProcessorRequest other = - (com.google.cloud.documentai.v1.DisableProcessorRequest) obj; + com.google.cloud.documentai.v1.DisableProcessorRequest other = (com.google.cloud.documentai.v1.DisableProcessorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,104 +157,98 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.DisableProcessorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.DisableProcessorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.DisableProcessorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.DisableProcessorRequest prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.DisableProcessorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for the
    * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
@@ -290,32 +257,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DisableProcessorRequest)
       com.google.cloud.documentai.v1.DisableProcessorRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorRequest_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DisableProcessorRequest.class,
-              com.google.cloud.documentai.v1.DisableProcessorRequest.Builder.class);
+              com.google.cloud.documentai.v1.DisableProcessorRequest.class, com.google.cloud.documentai.v1.DisableProcessorRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DisableProcessorRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorRequest_descriptor;
     }
 
     @java.lang.Override
@@ -346,11 +314,8 @@ public com.google.cloud.documentai.v1.DisableProcessorRequest build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DisableProcessorRequest buildPartial() {
-      com.google.cloud.documentai.v1.DisableProcessorRequest result =
-          new com.google.cloud.documentai.v1.DisableProcessorRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.documentai.v1.DisableProcessorRequest result = new com.google.cloud.documentai.v1.DisableProcessorRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -366,39 +331,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.DisableProcessorReques
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DisableProcessorRequest) {
-        return mergeFrom((com.google.cloud.documentai.v1.DisableProcessorRequest) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DisableProcessorRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,8 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DisableProcessorRequest other) {
-      if (other == com.google.cloud.documentai.v1.DisableProcessorRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DisableProcessorRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -439,19 +402,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -461,27 +422,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The processor resource name to be disabled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -490,23 +446,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The processor resource name to be disabled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -514,39 +467,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The processor resource name to be disabled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The processor resource name to be disabled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,32 +498,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The processor resource name to be disabled.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DisableProcessorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DisableProcessorRequest) private static final com.google.cloud.documentai.v1.DisableProcessorRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DisableProcessorRequest(); } @@ -605,27 +541,27 @@ public static com.google.cloud.documentai.v1.DisableProcessorRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DisableProcessorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DisableProcessorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.DisableProcessorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequestOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequestOrBuilder.java new file mode 100644 index 000000000000..510a94af9bf6 --- /dev/null +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/documentai/v1/document_processor_service.proto + +package com.google.cloud.documentai.v1; + +public interface DisableProcessorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DisableProcessorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The processor resource name to be disabled.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The processor resource name to be disabled.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java similarity index 64% rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java index 317e27eda826..e9f328c32576 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/documentai/v1/document_processor_service.proto package com.google.cloud.documentai.v1; /** - * - * *
  * Response message for the
  * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
@@ -29,41 +12,39 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorResponse}
  */
-public final class DisableProcessorResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DisableProcessorResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.DisableProcessorResponse)
     DisableProcessorResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DisableProcessorResponse.newBuilder() to construct.
   private DisableProcessorResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DisableProcessorResponse() {}
+  private DisableProcessorResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DisableProcessorResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentAiProcessorService
-        .internal_static_google_cloud_documentai_v1_DisableProcessorResponse_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.DisableProcessorResponse.class,
-            com.google.cloud.documentai.v1.DisableProcessorResponse.Builder.class);
+            com.google.cloud.documentai.v1.DisableProcessorResponse.class, com.google.cloud.documentai.v1.DisableProcessorResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -75,7 +56,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getUnknownFields().writeTo(output);
   }
 
@@ -93,13 +75,12 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.documentai.v1.DisableProcessorResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.documentai.v1.DisableProcessorResponse other =
-        (com.google.cloud.documentai.v1.DisableProcessorResponse) obj;
+    com.google.cloud.documentai.v1.DisableProcessorResponse other = (com.google.cloud.documentai.v1.DisableProcessorResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -118,104 +99,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.documentai.v1.DisableProcessorResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.documentai.v1.DisableProcessorResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.documentai.v1.DisableProcessorResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.documentai.v1.DisableProcessorResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.documentai.v1.DisableProcessorResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for the
    * [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor]
@@ -224,32 +199,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.documentai.v1.DisableProcessorResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.DisableProcessorResponse)
       com.google.cloud.documentai.v1.DisableProcessorResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorResponse_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.DisableProcessorResponse.class,
-              com.google.cloud.documentai.v1.DisableProcessorResponse.Builder.class);
+              com.google.cloud.documentai.v1.DisableProcessorResponse.class, com.google.cloud.documentai.v1.DisableProcessorResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.documentai.v1.DisableProcessorResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -257,9 +233,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.documentai.v1.DocumentAiProcessorService
-          .internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.documentai.v1.DocumentAiProcessorService.internal_static_google_cloud_documentai_v1_DisableProcessorResponse_descriptor;
     }
 
     @java.lang.Override
@@ -278,8 +254,7 @@ public com.google.cloud.documentai.v1.DisableProcessorResponse build() {
 
     @java.lang.Override
     public com.google.cloud.documentai.v1.DisableProcessorResponse buildPartial() {
-      com.google.cloud.documentai.v1.DisableProcessorResponse result =
-          new com.google.cloud.documentai.v1.DisableProcessorResponse(this);
+      com.google.cloud.documentai.v1.DisableProcessorResponse result = new com.google.cloud.documentai.v1.DisableProcessorResponse(this);
       onBuilt();
       return result;
     }
@@ -288,39 +263,38 @@ public com.google.cloud.documentai.v1.DisableProcessorResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.documentai.v1.DisableProcessorResponse) {
-        return mergeFrom((com.google.cloud.documentai.v1.DisableProcessorResponse) other);
+        return mergeFrom((com.google.cloud.documentai.v1.DisableProcessorResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -328,8 +302,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.documentai.v1.DisableProcessorResponse other) {
-      if (other == com.google.cloud.documentai.v1.DisableProcessorResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.documentai.v1.DisableProcessorResponse.getDefaultInstance()) return this;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -356,13 +329,12 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -372,9 +344,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -384,12 +356,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.DisableProcessorResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.DisableProcessorResponse)
   private static final com.google.cloud.documentai.v1.DisableProcessorResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.DisableProcessorResponse();
   }
@@ -398,27 +370,27 @@ public static com.google.cloud.documentai.v1.DisableProcessorResponse getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DisableProcessorResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DisableProcessorResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -433,4 +405,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.documentai.v1.DisableProcessorResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponseOrBuilder.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponseOrBuilder.java
new file mode 100644
index 000000000000..47e2845e454e
--- /dev/null
+++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DisableProcessorResponseOrBuilder.java
@@ -0,0 +1,9 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/documentai/v1/document_processor_service.proto
+
+package com.google.cloud.documentai.v1;
+
+public interface DisableProcessorResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.DisableProcessorResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java
similarity index 72%
rename from java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java
rename to owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java
index f8a34cdb2d31..f2b946e6c9be 100644
--- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java
+++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/Document.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/documentai/v1/document.proto
 
 package com.google.cloud.documentai.v1;
 
 /**
- *
- *
  * 
  * Document represents the canonical document resource in Document AI. It is an
  * interchange format that provides insights into documents and allows for
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.documentai.v1.Document}
  */
-public final class Document extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Document extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.Document)
     DocumentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Document.newBuilder() to construct.
   private Document(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Document() {
     mimeType_ = "";
     text_ = "";
@@ -53,59 +35,49 @@ private Document() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Document();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.documentai.v1.DocumentProto
-        .internal_static_google_cloud_documentai_v1_Document_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.documentai.v1.DocumentProto
-        .internal_static_google_cloud_documentai_v1_Document_fieldAccessorTable
+    return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.documentai.v1.Document.class,
-            com.google.cloud.documentai.v1.Document.Builder.class);
+            com.google.cloud.documentai.v1.Document.class, com.google.cloud.documentai.v1.Document.Builder.class);
   }
 
-  public interface ShardInfoOrBuilder
-      extends
+  public interface ShardInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.Document.ShardInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The 0-based index of this shard.
      * 
* * int64 shard_index = 1; - * * @return The shardIndex. */ long getShardIndex(); /** - * - * *
      * Total number of shards.
      * 
* * int64 shard_count = 2; - * * @return The shardCount. */ long getShardCount(); /** - * - * *
      * The index of the first character in
      * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
@@ -113,14 +85,11 @@ public interface ShardInfoOrBuilder
      * 
* * int64 text_offset = 3; - * * @return The textOffset. */ long getTextOffset(); } /** - * - * *
    * For a large document, sharding may be performed to produce several
    * document shards. Each document shard contains this field to detail which
@@ -129,50 +98,46 @@ public interface ShardInfoOrBuilder
    *
    * Protobuf type {@code google.cloud.documentai.v1.Document.ShardInfo}
    */
-  public static final class ShardInfo extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ShardInfo extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.Document.ShardInfo)
       ShardInfoOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ShardInfo.newBuilder() to construct.
     private ShardInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private ShardInfo() {}
+    private ShardInfo() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ShardInfo();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentProto
-          .internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentProto
-          .internal_static_google_cloud_documentai_v1_Document_ShardInfo_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_ShardInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.Document.ShardInfo.class,
-              com.google.cloud.documentai.v1.Document.ShardInfo.Builder.class);
+              com.google.cloud.documentai.v1.Document.ShardInfo.class, com.google.cloud.documentai.v1.Document.ShardInfo.Builder.class);
     }
 
     public static final int SHARD_INDEX_FIELD_NUMBER = 1;
     private long shardIndex_ = 0L;
     /**
-     *
-     *
      * 
      * The 0-based index of this shard.
      * 
* * int64 shard_index = 1; - * * @return The shardIndex. */ @java.lang.Override @@ -183,14 +148,11 @@ public long getShardIndex() { public static final int SHARD_COUNT_FIELD_NUMBER = 2; private long shardCount_ = 0L; /** - * - * *
      * Total number of shards.
      * 
* * int64 shard_count = 2; - * * @return The shardCount. */ @java.lang.Override @@ -201,8 +163,6 @@ public long getShardCount() { public static final int TEXT_OFFSET_FIELD_NUMBER = 3; private long textOffset_ = 0L; /** - * - * *
      * The index of the first character in
      * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
@@ -210,7 +170,6 @@ public long getShardCount() {
      * 
* * int64 text_offset = 3; - * * @return The textOffset. */ @java.lang.Override @@ -219,7 +178,6 @@ public long getTextOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +189,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (shardIndex_ != 0L) { output.writeInt64(1, shardIndex_); } @@ -251,13 +210,16 @@ public int getSerializedSize() { size = 0; if (shardIndex_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, shardIndex_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, shardIndex_); } if (shardCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, shardCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, shardCount_); } if (textOffset_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, textOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, textOffset_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,17 +229,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.Document.ShardInfo)) { return super.equals(obj); } - com.google.cloud.documentai.v1.Document.ShardInfo other = - (com.google.cloud.documentai.v1.Document.ShardInfo) obj; + com.google.cloud.documentai.v1.Document.ShardInfo other = (com.google.cloud.documentai.v1.Document.ShardInfo) obj; - if (getShardIndex() != other.getShardIndex()) return false; - if (getShardCount() != other.getShardCount()) return false; - if (getTextOffset() != other.getTextOffset()) return false; + if (getShardIndex() + != other.getShardIndex()) return false; + if (getShardCount() + != other.getShardCount()) return false; + if (getTextOffset() + != other.getTextOffset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,104 +254,103 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SHARD_INDEX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardIndex()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getShardIndex()); hash = (37 * hash) + SHARD_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getShardCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getShardCount()); hash = (37 * hash) + TEXT_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTextOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTextOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.Document.ShardInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.Document.ShardInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.Document.ShardInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.documentai.v1.Document.ShardInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -397,8 +360,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * For a large document, sharding may be performed to produce several
      * document shards. Each document shard contains this field to detail which
@@ -407,33 +368,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.documentai.v1.Document.ShardInfo}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.Document.ShardInfo)
         com.google.cloud.documentai.v1.Document.ShardInfoOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.documentai.v1.DocumentProto
-            .internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.documentai.v1.DocumentProto
-            .internal_static_google_cloud_documentai_v1_Document_ShardInfo_fieldAccessorTable
+        return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_ShardInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.documentai.v1.Document.ShardInfo.class,
-                com.google.cloud.documentai.v1.Document.ShardInfo.Builder.class);
+                com.google.cloud.documentai.v1.Document.ShardInfo.class, com.google.cloud.documentai.v1.Document.ShardInfo.Builder.class);
       }
 
       // Construct using com.google.cloud.documentai.v1.Document.ShardInfo.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -445,9 +406,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.documentai.v1.DocumentProto
-            .internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_ShardInfo_descriptor;
       }
 
       @java.lang.Override
@@ -466,11 +427,8 @@ public com.google.cloud.documentai.v1.Document.ShardInfo build() {
 
       @java.lang.Override
       public com.google.cloud.documentai.v1.Document.ShardInfo buildPartial() {
-        com.google.cloud.documentai.v1.Document.ShardInfo result =
-            new com.google.cloud.documentai.v1.Document.ShardInfo(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.documentai.v1.Document.ShardInfo result = new com.google.cloud.documentai.v1.Document.ShardInfo(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -492,41 +450,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.Document.ShardInfo res
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.documentai.v1.Document.ShardInfo) {
-          return mergeFrom((com.google.cloud.documentai.v1.Document.ShardInfo) other);
+          return mergeFrom((com.google.cloud.documentai.v1.Document.ShardInfo)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -534,8 +489,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.documentai.v1.Document.ShardInfo other) {
-        if (other == com.google.cloud.documentai.v1.Document.ShardInfo.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.documentai.v1.Document.ShardInfo.getDefaultInstance()) return this;
         if (other.getShardIndex() != 0L) {
           setShardIndex(other.getShardIndex());
         }
@@ -571,31 +525,27 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  shardIndex_ = input.readInt64();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 16:
-                {
-                  shardCount_ = input.readInt64();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              case 24:
-                {
-                  textOffset_ = input.readInt64();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 24
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                shardIndex_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 16: {
+                shardCount_ = input.readInt64();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              case 24: {
+                textOffset_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -605,19 +555,15 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private long shardIndex_;
+      private long shardIndex_ ;
       /**
-       *
-       *
        * 
        * The 0-based index of this shard.
        * 
* * int64 shard_index = 1; - * * @return The shardIndex. */ @java.lang.Override @@ -625,14 +571,11 @@ public long getShardIndex() { return shardIndex_; } /** - * - * *
        * The 0-based index of this shard.
        * 
* * int64 shard_index = 1; - * * @param value The shardIndex to set. * @return This builder for chaining. */ @@ -644,14 +587,11 @@ public Builder setShardIndex(long value) { return this; } /** - * - * *
        * The 0-based index of this shard.
        * 
* * int64 shard_index = 1; - * * @return This builder for chaining. */ public Builder clearShardIndex() { @@ -661,16 +601,13 @@ public Builder clearShardIndex() { return this; } - private long shardCount_; + private long shardCount_ ; /** - * - * *
        * Total number of shards.
        * 
* * int64 shard_count = 2; - * * @return The shardCount. */ @java.lang.Override @@ -678,14 +615,11 @@ public long getShardCount() { return shardCount_; } /** - * - * *
        * Total number of shards.
        * 
* * int64 shard_count = 2; - * * @param value The shardCount to set. * @return This builder for chaining. */ @@ -697,14 +631,11 @@ public Builder setShardCount(long value) { return this; } /** - * - * *
        * Total number of shards.
        * 
* * int64 shard_count = 2; - * * @return This builder for chaining. */ public Builder clearShardCount() { @@ -714,10 +645,8 @@ public Builder clearShardCount() { return this; } - private long textOffset_; + private long textOffset_ ; /** - * - * *
        * The index of the first character in
        * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
@@ -725,7 +654,6 @@ public Builder clearShardCount() {
        * 
* * int64 text_offset = 3; - * * @return The textOffset. */ @java.lang.Override @@ -733,8 +661,6 @@ public long getTextOffset() { return textOffset_; } /** - * - * *
        * The index of the first character in
        * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
@@ -742,7 +668,6 @@ public long getTextOffset() {
        * 
* * int64 text_offset = 3; - * * @param value The textOffset to set. * @return This builder for chaining. */ @@ -754,8 +679,6 @@ public Builder setTextOffset(long value) { return this; } /** - * - * *
        * The index of the first character in
        * [Document.text][google.cloud.documentai.v1.Document.text] in the overall
@@ -763,7 +686,6 @@ public Builder setTextOffset(long value) {
        * 
* * int64 text_offset = 3; - * * @return This builder for chaining. */ public Builder clearTextOffset() { @@ -772,7 +694,6 @@ public Builder clearTextOffset() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -785,12 +706,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.Document.ShardInfo) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.Document.ShardInfo) private static final com.google.cloud.documentai.v1.Document.ShardInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.Document.ShardInfo(); } @@ -799,28 +720,27 @@ public static com.google.cloud.documentai.v1.Document.ShardInfo getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShardInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShardInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -835,42 +755,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.Document.ShardInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface StyleOrBuilder - extends + public interface StyleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.Document.Style) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Text anchor indexing into the
      * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; - * * @return Whether the textAnchor field is set. */ boolean hasTextAnchor(); /** - * - * *
      * Text anchor indexing into the
      * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; - * * @return The textAnchor. */ com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor(); /** - * - * *
      * Text anchor indexing into the
      * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -881,32 +793,24 @@ public interface StyleOrBuilder
     com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchorOrBuilder();
 
     /**
-     *
-     *
      * 
      * Text color.
      * 
* * .google.type.Color color = 2; - * * @return Whether the color field is set. */ boolean hasColor(); /** - * - * *
      * Text color.
      * 
* * .google.type.Color color = 2; - * * @return The color. */ com.google.type.Color getColor(); /** - * - * *
      * Text color.
      * 
@@ -916,32 +820,24 @@ public interface StyleOrBuilder com.google.type.ColorOrBuilder getColorOrBuilder(); /** - * - * *
      * Text background color.
      * 
* * .google.type.Color background_color = 3; - * * @return Whether the backgroundColor field is set. */ boolean hasBackgroundColor(); /** - * - * *
      * Text background color.
      * 
* * .google.type.Color background_color = 3; - * * @return The backgroundColor. */ com.google.type.Color getBackgroundColor(); /** - * - * *
      * Text background color.
      * 
@@ -951,62 +847,50 @@ public interface StyleOrBuilder com.google.type.ColorOrBuilder getBackgroundColorOrBuilder(); /** - * - * *
      * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
      * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
      * 
* * string font_weight = 4; - * * @return The fontWeight. */ java.lang.String getFontWeight(); /** - * - * *
      * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
      * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
      * 
* * string font_weight = 4; - * * @return The bytes for fontWeight. */ - com.google.protobuf.ByteString getFontWeightBytes(); + com.google.protobuf.ByteString + getFontWeightBytes(); /** - * - * *
      * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
      * Possible values are `normal`, `italic`, and `oblique`.
      * 
* * string text_style = 5; - * * @return The textStyle. */ java.lang.String getTextStyle(); /** - * - * *
      * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
      * Possible values are `normal`, `italic`, and `oblique`.
      * 
* * string text_style = 5; - * * @return The bytes for textStyle. */ - com.google.protobuf.ByteString getTextStyleBytes(); + com.google.protobuf.ByteString + getTextStyleBytes(); /** - * - * *
      * [Text
      * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -1015,13 +899,10 @@ public interface StyleOrBuilder
      * 
* * string text_decoration = 6; - * * @return The textDecoration. */ java.lang.String getTextDecoration(); /** - * - * *
      * [Text
      * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -1030,38 +911,30 @@ public interface StyleOrBuilder
      * 
* * string text_decoration = 6; - * * @return The bytes for textDecoration. */ - com.google.protobuf.ByteString getTextDecorationBytes(); + com.google.protobuf.ByteString + getTextDecorationBytes(); /** - * - * *
      * Font size.
      * 
* * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; - * * @return Whether the fontSize field is set. */ boolean hasFontSize(); /** - * - * *
      * Font size.
      * 
* * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; - * * @return The fontSize. */ com.google.cloud.documentai.v1.Document.Style.FontSize getFontSize(); /** - * - * *
      * Font size.
      * 
@@ -1071,35 +944,28 @@ public interface StyleOrBuilder com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder getFontSizeOrBuilder(); /** - * - * *
      * Font family such as `Arial`, `Times New Roman`.
      * https://www.w3schools.com/cssref/pr_font_font-family.asp
      * 
* * string font_family = 8; - * * @return The fontFamily. */ java.lang.String getFontFamily(); /** - * - * *
      * Font family such as `Arial`, `Times New Roman`.
      * https://www.w3schools.com/cssref/pr_font_font-family.asp
      * 
* * string font_family = 8; - * * @return The bytes for fontFamily. */ - com.google.protobuf.ByteString getFontFamilyBytes(); + com.google.protobuf.ByteString + getFontFamilyBytes(); } /** - * - * *
    * Annotation for common text style attributes. This adheres to CSS
    * conventions as much as possible.
@@ -1107,16 +973,15 @@ public interface StyleOrBuilder
    *
    * Protobuf type {@code google.cloud.documentai.v1.Document.Style}
    */
-  public static final class Style extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Style extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.Document.Style)
       StyleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Style.newBuilder() to construct.
     private Style(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Style() {
       fontWeight_ = "";
       textStyle_ = "";
@@ -1126,125 +991,108 @@ private Style() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Style();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.documentai.v1.DocumentProto
-          .internal_static_google_cloud_documentai_v1_Document_Style_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.documentai.v1.DocumentProto
-          .internal_static_google_cloud_documentai_v1_Document_Style_fieldAccessorTable
+      return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.documentai.v1.Document.Style.class,
-              com.google.cloud.documentai.v1.Document.Style.Builder.class);
+              com.google.cloud.documentai.v1.Document.Style.class, com.google.cloud.documentai.v1.Document.Style.Builder.class);
     }
 
-    public interface FontSizeOrBuilder
-        extends
+    public interface FontSizeOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.Document.Style.FontSize)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Font size for the text.
        * 
* * float size = 1; - * * @return The size. */ float getSize(); /** - * - * *
        * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
        * `pt`).
        * 
* * string unit = 2; - * * @return The unit. */ java.lang.String getUnit(); /** - * - * *
        * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
        * `pt`).
        * 
* * string unit = 2; - * * @return The bytes for unit. */ - com.google.protobuf.ByteString getUnitBytes(); + com.google.protobuf.ByteString + getUnitBytes(); } /** - * - * *
      * Font size with unit.
      * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.Style.FontSize} */ - public static final class FontSize extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FontSize extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.documentai.v1.Document.Style.FontSize) FontSizeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FontSize.newBuilder() to construct. private FontSize(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FontSize() { unit_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FontSize(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.DocumentProto - .internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.DocumentProto - .internal_static_google_cloud_documentai_v1_Document_Style_FontSize_fieldAccessorTable + return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_FontSize_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.Document.Style.FontSize.class, - com.google.cloud.documentai.v1.Document.Style.FontSize.Builder.class); + com.google.cloud.documentai.v1.Document.Style.FontSize.class, com.google.cloud.documentai.v1.Document.Style.FontSize.Builder.class); } public static final int SIZE_FIELD_NUMBER = 1; private float size_ = 0F; /** - * - * *
        * Font size for the text.
        * 
* * float size = 1; - * * @return The size. */ @java.lang.Override @@ -1253,19 +1101,15 @@ public float getSize() { } public static final int UNIT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object unit_ = ""; /** - * - * *
        * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
        * `pt`).
        * 
* * string unit = 2; - * * @return The unit. */ @java.lang.Override @@ -1274,30 +1118,30 @@ public java.lang.String getUnit() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; } } /** - * - * *
        * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
        * `pt`).
        * 
* * string unit = 2; - * * @return The bytes for unit. */ @java.lang.Override - public com.google.protobuf.ByteString getUnitBytes() { + public com.google.protobuf.ByteString + getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); unit_ = b; return b; } else { @@ -1306,7 +1150,6 @@ public com.google.protobuf.ByteString getUnitBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1318,7 +1161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(size_) != 0) { output.writeFloat(1, size_); } @@ -1335,7 +1179,8 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(size_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, size_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unit_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, unit_); @@ -1348,17 +1193,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.Document.Style.FontSize)) { return super.equals(obj); } - com.google.cloud.documentai.v1.Document.Style.FontSize other = - (com.google.cloud.documentai.v1.Document.Style.FontSize) obj; + com.google.cloud.documentai.v1.Document.Style.FontSize other = (com.google.cloud.documentai.v1.Document.Style.FontSize) obj; if (java.lang.Float.floatToIntBits(getSize()) - != java.lang.Float.floatToIntBits(other.getSize())) return false; - if (!getUnit().equals(other.getUnit())) return false; + != java.lang.Float.floatToIntBits( + other.getSize())) return false; + if (!getUnit() + .equals(other.getUnit())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1371,7 +1217,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SIZE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getSize()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getSize()); hash = (37 * hash) + UNIT_FIELD_NUMBER; hash = (53 * hash) + getUnit().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -1380,94 +1227,89 @@ public int hashCode() { } public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.Document.Style.FontSize parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.Document.Style.FontSize parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.Document.Style.FontSize parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.documentai.v1.Document.Style.FontSize prototype) { + public static Builder newBuilder(com.google.cloud.documentai.v1.Document.Style.FontSize prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1477,41 +1319,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Font size with unit.
        * 
* * Protobuf type {@code google.cloud.documentai.v1.Document.Style.FontSize} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.Document.Style.FontSize) com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.documentai.v1.DocumentProto - .internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.documentai.v1.DocumentProto - .internal_static_google_cloud_documentai_v1_Document_Style_FontSize_fieldAccessorTable + return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_FontSize_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.documentai.v1.Document.Style.FontSize.class, - com.google.cloud.documentai.v1.Document.Style.FontSize.Builder.class); + com.google.cloud.documentai.v1.Document.Style.FontSize.class, com.google.cloud.documentai.v1.Document.Style.FontSize.Builder.class); } // Construct using com.google.cloud.documentai.v1.Document.Style.FontSize.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1522,9 +1362,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.documentai.v1.DocumentProto - .internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_FontSize_descriptor; } @java.lang.Override @@ -1543,11 +1383,8 @@ public com.google.cloud.documentai.v1.Document.Style.FontSize build() { @java.lang.Override public com.google.cloud.documentai.v1.Document.Style.FontSize buildPartial() { - com.google.cloud.documentai.v1.Document.Style.FontSize result = - new com.google.cloud.documentai.v1.Document.Style.FontSize(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.documentai.v1.Document.Style.FontSize result = new com.google.cloud.documentai.v1.Document.Style.FontSize(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1566,41 +1403,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.Document.Style.FontSiz public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.documentai.v1.Document.Style.FontSize) { - return mergeFrom((com.google.cloud.documentai.v1.Document.Style.FontSize) other); + return mergeFrom((com.google.cloud.documentai.v1.Document.Style.FontSize)other); } else { super.mergeFrom(other); return this; @@ -1608,8 +1442,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.documentai.v1.Document.Style.FontSize other) { - if (other == com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance()) - return this; + if (other == com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance()) return this; if (other.getSize() != 0F) { setSize(other.getSize()); } @@ -1644,25 +1477,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - size_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 18: - { - unit_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: { + size_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 18: { + unit_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1672,19 +1502,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private float size_; + private float size_ ; /** - * - * *
          * Font size for the text.
          * 
* * float size = 1; - * * @return The size. */ @java.lang.Override @@ -1692,14 +1518,11 @@ public float getSize() { return size_; } /** - * - * *
          * Font size for the text.
          * 
* * float size = 1; - * * @param value The size to set. * @return This builder for chaining. */ @@ -1711,14 +1534,11 @@ public Builder setSize(float value) { return this; } /** - * - * *
          * Font size for the text.
          * 
* * float size = 1; - * * @return This builder for chaining. */ public Builder clearSize() { @@ -1730,21 +1550,19 @@ public Builder clearSize() { private java.lang.Object unit_ = ""; /** - * - * *
          * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
          * `pt`).
          * 
* * string unit = 2; - * * @return The unit. */ public java.lang.String getUnit() { java.lang.Object ref = unit_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); unit_ = s; return s; @@ -1753,22 +1571,21 @@ public java.lang.String getUnit() { } } /** - * - * *
          * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
          * `pt`).
          * 
* * string unit = 2; - * * @return The bytes for unit. */ - public com.google.protobuf.ByteString getUnitBytes() { + public com.google.protobuf.ByteString + getUnitBytes() { java.lang.Object ref = unit_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); unit_ = b; return b; } else { @@ -1776,37 +1593,30 @@ public com.google.protobuf.ByteString getUnitBytes() { } } /** - * - * *
          * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
          * `pt`).
          * 
* * string unit = 2; - * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnit( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } unit_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
          * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
          * `pt`).
          * 
* * string unit = 2; - * * @return This builder for chaining. */ public Builder clearUnit() { @@ -1816,29 +1626,24 @@ public Builder clearUnit() { return this; } /** - * - * *
          * Unit for the font size. Follows CSS naming (such as `in`, `px`, and
          * `pt`).
          * 
* * string unit = 2; - * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnitBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); unit_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1851,12 +1656,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.Document.Style.FontSize) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.Document.Style.FontSize) private static final com.google.cloud.documentai.v1.Document.Style.FontSize DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.Document.Style.FontSize(); } @@ -1865,28 +1670,27 @@ public static com.google.cloud.documentai.v1.Document.Style.FontSize getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FontSize parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FontSize parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1901,20 +1705,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.Document.Style.FontSize getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TEXT_ANCHOR_FIELD_NUMBER = 1; private com.google.cloud.documentai.v1.Document.TextAnchor textAnchor_; /** - * - * *
      * Text anchor indexing into the
      * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; - * * @return Whether the textAnchor field is set. */ @java.lang.Override @@ -1922,26 +1724,19 @@ public boolean hasTextAnchor() { return textAnchor_ != null; } /** - * - * *
      * Text anchor indexing into the
      * [Document.text][google.cloud.documentai.v1.Document.text].
      * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; - * * @return The textAnchor. */ @java.lang.Override public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { - return textAnchor_ == null - ? com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance() - : textAnchor_; + return textAnchor_ == null ? com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance() : textAnchor_; } /** - * - * *
      * Text anchor indexing into the
      * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -1951,22 +1746,17 @@ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() {
      */
     @java.lang.Override
     public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchorOrBuilder() {
-      return textAnchor_ == null
-          ? com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance()
-          : textAnchor_;
+      return textAnchor_ == null ? com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance() : textAnchor_;
     }
 
     public static final int COLOR_FIELD_NUMBER = 2;
     private com.google.type.Color color_;
     /**
-     *
-     *
      * 
      * Text color.
      * 
* * .google.type.Color color = 2; - * * @return Whether the color field is set. */ @java.lang.Override @@ -1974,14 +1764,11 @@ public boolean hasColor() { return color_ != null; } /** - * - * *
      * Text color.
      * 
* * .google.type.Color color = 2; - * * @return The color. */ @java.lang.Override @@ -1989,8 +1776,6 @@ public com.google.type.Color getColor() { return color_ == null ? com.google.type.Color.getDefaultInstance() : color_; } /** - * - * *
      * Text color.
      * 
@@ -2005,14 +1790,11 @@ public com.google.type.ColorOrBuilder getColorOrBuilder() { public static final int BACKGROUND_COLOR_FIELD_NUMBER = 3; private com.google.type.Color backgroundColor_; /** - * - * *
      * Text background color.
      * 
* * .google.type.Color background_color = 3; - * * @return Whether the backgroundColor field is set. */ @java.lang.Override @@ -2020,25 +1802,18 @@ public boolean hasBackgroundColor() { return backgroundColor_ != null; } /** - * - * *
      * Text background color.
      * 
* * .google.type.Color background_color = 3; - * * @return The backgroundColor. */ @java.lang.Override public com.google.type.Color getBackgroundColor() { - return backgroundColor_ == null - ? com.google.type.Color.getDefaultInstance() - : backgroundColor_; + return backgroundColor_ == null ? com.google.type.Color.getDefaultInstance() : backgroundColor_; } /** - * - * *
      * Text background color.
      * 
@@ -2047,25 +1822,19 @@ public com.google.type.Color getBackgroundColor() { */ @java.lang.Override public com.google.type.ColorOrBuilder getBackgroundColorOrBuilder() { - return backgroundColor_ == null - ? com.google.type.Color.getDefaultInstance() - : backgroundColor_; + return backgroundColor_ == null ? com.google.type.Color.getDefaultInstance() : backgroundColor_; } public static final int FONT_WEIGHT_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object fontWeight_ = ""; /** - * - * *
      * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
      * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
      * 
* * string font_weight = 4; - * * @return The fontWeight. */ @java.lang.Override @@ -2074,30 +1843,30 @@ public java.lang.String getFontWeight() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fontWeight_ = s; return s; } } /** - * - * *
      * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
      * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
      * 
* * string font_weight = 4; - * * @return The bytes for fontWeight. */ @java.lang.Override - public com.google.protobuf.ByteString getFontWeightBytes() { + public com.google.protobuf.ByteString + getFontWeightBytes() { java.lang.Object ref = fontWeight_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fontWeight_ = b; return b; } else { @@ -2106,19 +1875,15 @@ public com.google.protobuf.ByteString getFontWeightBytes() { } public static final int TEXT_STYLE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object textStyle_ = ""; /** - * - * *
      * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
      * Possible values are `normal`, `italic`, and `oblique`.
      * 
* * string text_style = 5; - * * @return The textStyle. */ @java.lang.Override @@ -2127,30 +1892,30 @@ public java.lang.String getTextStyle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); textStyle_ = s; return s; } } /** - * - * *
      * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
      * Possible values are `normal`, `italic`, and `oblique`.
      * 
* * string text_style = 5; - * * @return The bytes for textStyle. */ @java.lang.Override - public com.google.protobuf.ByteString getTextStyleBytes() { + public com.google.protobuf.ByteString + getTextStyleBytes() { java.lang.Object ref = textStyle_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); textStyle_ = b; return b; } else { @@ -2159,12 +1924,9 @@ public com.google.protobuf.ByteString getTextStyleBytes() { } public static final int TEXT_DECORATION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object textDecoration_ = ""; /** - * - * *
      * [Text
      * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -2173,7 +1935,6 @@ public com.google.protobuf.ByteString getTextStyleBytes() {
      * 
* * string text_decoration = 6; - * * @return The textDecoration. */ @java.lang.Override @@ -2182,15 +1943,14 @@ public java.lang.String getTextDecoration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); textDecoration_ = s; return s; } } /** - * - * *
      * [Text
      * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -2199,15 +1959,16 @@ public java.lang.String getTextDecoration() {
      * 
* * string text_decoration = 6; - * * @return The bytes for textDecoration. */ @java.lang.Override - public com.google.protobuf.ByteString getTextDecorationBytes() { + public com.google.protobuf.ByteString + getTextDecorationBytes() { java.lang.Object ref = textDecoration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); textDecoration_ = b; return b; } else { @@ -2218,14 +1979,11 @@ public com.google.protobuf.ByteString getTextDecorationBytes() { public static final int FONT_SIZE_FIELD_NUMBER = 7; private com.google.cloud.documentai.v1.Document.Style.FontSize fontSize_; /** - * - * *
      * Font size.
      * 
* * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; - * * @return Whether the fontSize field is set. */ @java.lang.Override @@ -2233,25 +1991,18 @@ public boolean hasFontSize() { return fontSize_ != null; } /** - * - * *
      * Font size.
      * 
* * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; - * * @return The fontSize. */ @java.lang.Override public com.google.cloud.documentai.v1.Document.Style.FontSize getFontSize() { - return fontSize_ == null - ? com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance() - : fontSize_; + return fontSize_ == null ? com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance() : fontSize_; } /** - * - * *
      * Font size.
      * 
@@ -2260,25 +2011,19 @@ public com.google.cloud.documentai.v1.Document.Style.FontSize getFontSize() { */ @java.lang.Override public com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder getFontSizeOrBuilder() { - return fontSize_ == null - ? com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance() - : fontSize_; + return fontSize_ == null ? com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance() : fontSize_; } public static final int FONT_FAMILY_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object fontFamily_ = ""; /** - * - * *
      * Font family such as `Arial`, `Times New Roman`.
      * https://www.w3schools.com/cssref/pr_font_font-family.asp
      * 
* * string font_family = 8; - * * @return The fontFamily. */ @java.lang.Override @@ -2287,30 +2032,30 @@ public java.lang.String getFontFamily() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fontFamily_ = s; return s; } } /** - * - * *
      * Font family such as `Arial`, `Times New Roman`.
      * https://www.w3schools.com/cssref/pr_font_font-family.asp
      * 
* * string font_family = 8; - * * @return The bytes for fontFamily. */ @java.lang.Override - public com.google.protobuf.ByteString getFontFamilyBytes() { + public com.google.protobuf.ByteString + getFontFamilyBytes() { java.lang.Object ref = fontFamily_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fontFamily_ = b; return b; } else { @@ -2319,7 +2064,6 @@ public com.google.protobuf.ByteString getFontFamilyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2331,7 +2075,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (textAnchor_ != null) { output.writeMessage(1, getTextAnchor()); } @@ -2366,13 +2111,16 @@ public int getSerializedSize() { size = 0; if (textAnchor_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTextAnchor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTextAnchor()); } if (color_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getColor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getColor()); } if (backgroundColor_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackgroundColor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBackgroundColor()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fontWeight_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fontWeight_); @@ -2384,7 +2132,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, textDecoration_); } if (fontSize_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getFontSize()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getFontSize()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fontFamily_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, fontFamily_); @@ -2397,34 +2146,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.documentai.v1.Document.Style)) { return super.equals(obj); } - com.google.cloud.documentai.v1.Document.Style other = - (com.google.cloud.documentai.v1.Document.Style) obj; + com.google.cloud.documentai.v1.Document.Style other = (com.google.cloud.documentai.v1.Document.Style) obj; if (hasTextAnchor() != other.hasTextAnchor()) return false; if (hasTextAnchor()) { - if (!getTextAnchor().equals(other.getTextAnchor())) return false; + if (!getTextAnchor() + .equals(other.getTextAnchor())) return false; } if (hasColor() != other.hasColor()) return false; if (hasColor()) { - if (!getColor().equals(other.getColor())) return false; + if (!getColor() + .equals(other.getColor())) return false; } if (hasBackgroundColor() != other.hasBackgroundColor()) return false; if (hasBackgroundColor()) { - if (!getBackgroundColor().equals(other.getBackgroundColor())) return false; - } - if (!getFontWeight().equals(other.getFontWeight())) return false; - if (!getTextStyle().equals(other.getTextStyle())) return false; - if (!getTextDecoration().equals(other.getTextDecoration())) return false; + if (!getBackgroundColor() + .equals(other.getBackgroundColor())) return false; + } + if (!getFontWeight() + .equals(other.getFontWeight())) return false; + if (!getTextStyle() + .equals(other.getTextStyle())) return false; + if (!getTextDecoration() + .equals(other.getTextDecoration())) return false; if (hasFontSize() != other.hasFontSize()) return false; if (hasFontSize()) { - if (!getFontSize().equals(other.getFontSize())) return false; + if (!getFontSize() + .equals(other.getFontSize())) return false; } - if (!getFontFamily().equals(other.getFontFamily())) return false; + if (!getFontFamily() + .equals(other.getFontFamily())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2465,94 +2221,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.documentai.v1.Document.Style parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.documentai.v1.Document.Style parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.documentai.v1.Document.Style parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.documentai.v1.Document.Style parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.documentai.v1.Document.Style parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.documentai.v1.Document.Style prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2562,8 +2314,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Annotation for common text style attributes. This adheres to CSS
      * conventions as much as possible.
@@ -2571,33 +2321,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.documentai.v1.Document.Style}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.documentai.v1.Document.Style)
         com.google.cloud.documentai.v1.Document.StyleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.documentai.v1.DocumentProto
-            .internal_static_google_cloud_documentai_v1_Document_Style_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.documentai.v1.DocumentProto
-            .internal_static_google_cloud_documentai_v1_Document_Style_fieldAccessorTable
+        return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.documentai.v1.Document.Style.class,
-                com.google.cloud.documentai.v1.Document.Style.Builder.class);
+                com.google.cloud.documentai.v1.Document.Style.class, com.google.cloud.documentai.v1.Document.Style.Builder.class);
       }
 
       // Construct using com.google.cloud.documentai.v1.Document.Style.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2630,9 +2380,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.documentai.v1.DocumentProto
-            .internal_static_google_cloud_documentai_v1_Document_Style_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.documentai.v1.DocumentProto.internal_static_google_cloud_documentai_v1_Document_Style_descriptor;
       }
 
       @java.lang.Override
@@ -2651,11 +2401,8 @@ public com.google.cloud.documentai.v1.Document.Style build() {
 
       @java.lang.Override
       public com.google.cloud.documentai.v1.Document.Style buildPartial() {
-        com.google.cloud.documentai.v1.Document.Style result =
-            new com.google.cloud.documentai.v1.Document.Style(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.documentai.v1.Document.Style result = new com.google.cloud.documentai.v1.Document.Style(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2663,15 +2410,19 @@ public com.google.cloud.documentai.v1.Document.Style buildPartial() {
       private void buildPartial0(com.google.cloud.documentai.v1.Document.Style result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.textAnchor_ =
-              textAnchorBuilder_ == null ? textAnchor_ : textAnchorBuilder_.build();
+          result.textAnchor_ = textAnchorBuilder_ == null
+              ? textAnchor_
+              : textAnchorBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.color_ = colorBuilder_ == null ? color_ : colorBuilder_.build();
+          result.color_ = colorBuilder_ == null
+              ? color_
+              : colorBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.backgroundColor_ =
-              backgroundColorBuilder_ == null ? backgroundColor_ : backgroundColorBuilder_.build();
+          result.backgroundColor_ = backgroundColorBuilder_ == null
+              ? backgroundColor_
+              : backgroundColorBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
           result.fontWeight_ = fontWeight_;
@@ -2683,7 +2434,9 @@ private void buildPartial0(com.google.cloud.documentai.v1.Document.Style result)
           result.textDecoration_ = textDecoration_;
         }
         if (((from_bitField0_ & 0x00000040) != 0)) {
-          result.fontSize_ = fontSizeBuilder_ == null ? fontSize_ : fontSizeBuilder_.build();
+          result.fontSize_ = fontSizeBuilder_ == null
+              ? fontSize_
+              : fontSizeBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000080) != 0)) {
           result.fontFamily_ = fontFamily_;
@@ -2694,41 +2447,38 @@ private void buildPartial0(com.google.cloud.documentai.v1.Document.Style result)
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.documentai.v1.Document.Style) {
-          return mergeFrom((com.google.cloud.documentai.v1.Document.Style) other);
+          return mergeFrom((com.google.cloud.documentai.v1.Document.Style)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2736,8 +2486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.documentai.v1.Document.Style other) {
-        if (other == com.google.cloud.documentai.v1.Document.Style.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.documentai.v1.Document.Style.getDefaultInstance()) return this;
         if (other.hasTextAnchor()) {
           mergeTextAnchor(other.getTextAnchor());
         }
@@ -2796,62 +2545,60 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getTextAnchorFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getColorFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(
-                      getBackgroundColorFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  fontWeight_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              case 42:
-                {
-                  textStyle_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000010;
-                  break;
-                } // case 42
-              case 50:
-                {
-                  textDecoration_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000020;
-                  break;
-                } // case 50
-              case 58:
-                {
-                  input.readMessage(getFontSizeFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000040;
-                  break;
-                } // case 58
-              case 66:
-                {
-                  fontFamily_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000080;
-                  break;
-                } // case 66
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getTextAnchorFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getColorFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getBackgroundColorFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 34: {
+                fontWeight_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              case 42: {
+                textStyle_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+              case 50: {
+                textDecoration_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+              case 58: {
+                input.readMessage(
+                    getFontSizeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+              case 66: {
+                fontFamily_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2861,54 +2608,40 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.cloud.documentai.v1.Document.TextAnchor textAnchor_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.documentai.v1.Document.TextAnchor,
-              com.google.cloud.documentai.v1.Document.TextAnchor.Builder,
-              com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder>
-          textAnchorBuilder_;
+          com.google.cloud.documentai.v1.Document.TextAnchor, com.google.cloud.documentai.v1.Document.TextAnchor.Builder, com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder> textAnchorBuilder_;
       /**
-       *
-       *
        * 
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; - * * @return Whether the textAnchor field is set. */ public boolean hasTextAnchor() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
        * 
* * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; - * * @return The textAnchor. */ public com.google.cloud.documentai.v1.Document.TextAnchor getTextAnchor() { if (textAnchorBuilder_ == null) { - return textAnchor_ == null - ? com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance() - : textAnchor_; + return textAnchor_ == null ? com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance() : textAnchor_; } else { return textAnchorBuilder_.getMessage(); } } /** - * - * *
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -2930,8 +2663,6 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1.Document.TextAnchor
         return this;
       }
       /**
-       *
-       *
        * 
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -2951,8 +2682,6 @@ public Builder setTextAnchor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -2962,10 +2691,9 @@ public Builder setTextAnchor(
        */
       public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAnchor value) {
         if (textAnchorBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && textAnchor_ != null
-              && textAnchor_
-                  != com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            textAnchor_ != null &&
+            textAnchor_ != com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance()) {
             getTextAnchorBuilder().mergeFrom(value);
           } else {
             textAnchor_ = value;
@@ -2978,8 +2706,6 @@ public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAncho
         return this;
       }
       /**
-       *
-       *
        * 
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -2998,8 +2724,6 @@ public Builder clearTextAnchor() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -3013,8 +2737,6 @@ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorB
         return getTextAnchorFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -3026,14 +2748,11 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor
         if (textAnchorBuilder_ != null) {
           return textAnchorBuilder_.getMessageOrBuilder();
         } else {
-          return textAnchor_ == null
-              ? com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance()
-              : textAnchor_;
+          return textAnchor_ == null ?
+              com.google.cloud.documentai.v1.Document.TextAnchor.getDefaultInstance() : textAnchor_;
         }
       }
       /**
-       *
-       *
        * 
        * Text anchor indexing into the
        * [Document.text][google.cloud.documentai.v1.Document.text].
@@ -3042,17 +2761,14 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor
        * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.documentai.v1.Document.TextAnchor,
-              com.google.cloud.documentai.v1.Document.TextAnchor.Builder,
-              com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder>
+          com.google.cloud.documentai.v1.Document.TextAnchor, com.google.cloud.documentai.v1.Document.TextAnchor.Builder, com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder> 
           getTextAnchorFieldBuilder() {
         if (textAnchorBuilder_ == null) {
-          textAnchorBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.documentai.v1.Document.TextAnchor,
-                  com.google.cloud.documentai.v1.Document.TextAnchor.Builder,
-                  com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder>(
-                  getTextAnchor(), getParentForChildren(), isClean());
+          textAnchorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.documentai.v1.Document.TextAnchor, com.google.cloud.documentai.v1.Document.TextAnchor.Builder, com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder>(
+                  getTextAnchor(),
+                  getParentForChildren(),
+                  isClean());
           textAnchor_ = null;
         }
         return textAnchorBuilder_;
@@ -3060,31 +2776,24 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor
 
       private com.google.type.Color color_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder>
-          colorBuilder_;
+          com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> colorBuilder_;
       /**
-       *
-       *
        * 
        * Text color.
        * 
* * .google.type.Color color = 2; - * * @return Whether the color field is set. */ public boolean hasColor() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Text color.
        * 
* * .google.type.Color color = 2; - * * @return The color. */ public com.google.type.Color getColor() { @@ -3095,8 +2804,6 @@ public com.google.type.Color getColor() { } } /** - * - * *
        * Text color.
        * 
@@ -3117,15 +2824,14 @@ public Builder setColor(com.google.type.Color value) { return this; } /** - * - * *
        * Text color.
        * 
* * .google.type.Color color = 2; */ - public Builder setColor(com.google.type.Color.Builder builderForValue) { + public Builder setColor( + com.google.type.Color.Builder builderForValue) { if (colorBuilder_ == null) { color_ = builderForValue.build(); } else { @@ -3136,8 +2842,6 @@ public Builder setColor(com.google.type.Color.Builder builderForValue) { return this; } /** - * - * *
        * Text color.
        * 
@@ -3146,9 +2850,9 @@ public Builder setColor(com.google.type.Color.Builder builderForValue) { */ public Builder mergeColor(com.google.type.Color value) { if (colorBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && color_ != null - && color_ != com.google.type.Color.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + color_ != null && + color_ != com.google.type.Color.getDefaultInstance()) { getColorBuilder().mergeFrom(value); } else { color_ = value; @@ -3161,8 +2865,6 @@ public Builder mergeColor(com.google.type.Color value) { return this; } /** - * - * *
        * Text color.
        * 
@@ -3180,8 +2882,6 @@ public Builder clearColor() { return this; } /** - * - * *
        * Text color.
        * 
@@ -3194,8 +2894,6 @@ public com.google.type.Color.Builder getColorBuilder() { return getColorFieldBuilder().getBuilder(); } /** - * - * *
        * Text color.
        * 
@@ -3206,12 +2904,11 @@ public com.google.type.ColorOrBuilder getColorOrBuilder() { if (colorBuilder_ != null) { return colorBuilder_.getMessageOrBuilder(); } else { - return color_ == null ? com.google.type.Color.getDefaultInstance() : color_; + return color_ == null ? + com.google.type.Color.getDefaultInstance() : color_; } } /** - * - * *
        * Text color.
        * 
@@ -3219,14 +2916,14 @@ public com.google.type.ColorOrBuilder getColorOrBuilder() { * .google.type.Color color = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> getColorFieldBuilder() { if (colorBuilder_ == null) { - colorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Color, - com.google.type.Color.Builder, - com.google.type.ColorOrBuilder>(getColor(), getParentForChildren(), isClean()); + colorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder>( + getColor(), + getParentForChildren(), + isClean()); color_ = null; } return colorBuilder_; @@ -3234,45 +2931,34 @@ public com.google.type.ColorOrBuilder getColorOrBuilder() { private com.google.type.Color backgroundColor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> - backgroundColorBuilder_; + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> backgroundColorBuilder_; /** - * - * *
        * Text background color.
        * 
* * .google.type.Color background_color = 3; - * * @return Whether the backgroundColor field is set. */ public boolean hasBackgroundColor() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Text background color.
        * 
* * .google.type.Color background_color = 3; - * * @return The backgroundColor. */ public com.google.type.Color getBackgroundColor() { if (backgroundColorBuilder_ == null) { - return backgroundColor_ == null - ? com.google.type.Color.getDefaultInstance() - : backgroundColor_; + return backgroundColor_ == null ? com.google.type.Color.getDefaultInstance() : backgroundColor_; } else { return backgroundColorBuilder_.getMessage(); } } /** - * - * *
        * Text background color.
        * 
@@ -3293,15 +2979,14 @@ public Builder setBackgroundColor(com.google.type.Color value) { return this; } /** - * - * *
        * Text background color.
        * 
* * .google.type.Color background_color = 3; */ - public Builder setBackgroundColor(com.google.type.Color.Builder builderForValue) { + public Builder setBackgroundColor( + com.google.type.Color.Builder builderForValue) { if (backgroundColorBuilder_ == null) { backgroundColor_ = builderForValue.build(); } else { @@ -3312,8 +2997,6 @@ public Builder setBackgroundColor(com.google.type.Color.Builder builderForValue) return this; } /** - * - * *
        * Text background color.
        * 
@@ -3322,9 +3005,9 @@ public Builder setBackgroundColor(com.google.type.Color.Builder builderForValue) */ public Builder mergeBackgroundColor(com.google.type.Color value) { if (backgroundColorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backgroundColor_ != null - && backgroundColor_ != com.google.type.Color.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backgroundColor_ != null && + backgroundColor_ != com.google.type.Color.getDefaultInstance()) { getBackgroundColorBuilder().mergeFrom(value); } else { backgroundColor_ = value; @@ -3337,8 +3020,6 @@ public Builder mergeBackgroundColor(com.google.type.Color value) { return this; } /** - * - * *
        * Text background color.
        * 
@@ -3356,8 +3037,6 @@ public Builder clearBackgroundColor() { return this; } /** - * - * *
        * Text background color.
        * 
@@ -3370,8 +3049,6 @@ public com.google.type.Color.Builder getBackgroundColorBuilder() { return getBackgroundColorFieldBuilder().getBuilder(); } /** - * - * *
        * Text background color.
        * 
@@ -3382,14 +3059,11 @@ public com.google.type.ColorOrBuilder getBackgroundColorOrBuilder() { if (backgroundColorBuilder_ != null) { return backgroundColorBuilder_.getMessageOrBuilder(); } else { - return backgroundColor_ == null - ? com.google.type.Color.getDefaultInstance() - : backgroundColor_; + return backgroundColor_ == null ? + com.google.type.Color.getDefaultInstance() : backgroundColor_; } } /** - * - * *
        * Text background color.
        * 
@@ -3397,15 +3071,14 @@ public com.google.type.ColorOrBuilder getBackgroundColorOrBuilder() { * .google.type.Color background_color = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder> getBackgroundColorFieldBuilder() { if (backgroundColorBuilder_ == null) { - backgroundColorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Color, - com.google.type.Color.Builder, - com.google.type.ColorOrBuilder>( - getBackgroundColor(), getParentForChildren(), isClean()); + backgroundColorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Color, com.google.type.Color.Builder, com.google.type.ColorOrBuilder>( + getBackgroundColor(), + getParentForChildren(), + isClean()); backgroundColor_ = null; } return backgroundColorBuilder_; @@ -3413,21 +3086,19 @@ public com.google.type.ColorOrBuilder getBackgroundColorOrBuilder() { private java.lang.Object fontWeight_ = ""; /** - * - * *
        * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
        * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
        * 
* * string font_weight = 4; - * * @return The fontWeight. */ public java.lang.String getFontWeight() { java.lang.Object ref = fontWeight_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fontWeight_ = s; return s; @@ -3436,22 +3107,21 @@ public java.lang.String getFontWeight() { } } /** - * - * *
        * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
        * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
        * 
* * string font_weight = 4; - * * @return The bytes for fontWeight. */ - public com.google.protobuf.ByteString getFontWeightBytes() { + public com.google.protobuf.ByteString + getFontWeightBytes() { java.lang.Object ref = fontWeight_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fontWeight_ = b; return b; } else { @@ -3459,37 +3129,30 @@ public com.google.protobuf.ByteString getFontWeightBytes() { } } /** - * - * *
        * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
        * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
        * 
* * string font_weight = 4; - * * @param value The fontWeight to set. * @return This builder for chaining. */ - public Builder setFontWeight(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFontWeight( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fontWeight_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
        * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
        * 
* * string font_weight = 4; - * * @return This builder for chaining. */ public Builder clearFontWeight() { @@ -3499,22 +3162,18 @@ public Builder clearFontWeight() { return this; } /** - * - * *
        * [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp).
        * Possible values are `normal`, `bold`, `bolder`, and `lighter`.
        * 
* * string font_weight = 4; - * * @param value The bytes for fontWeight to set. * @return This builder for chaining. */ - public Builder setFontWeightBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFontWeightBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fontWeight_ = value; bitField0_ |= 0x00000008; @@ -3524,21 +3183,19 @@ public Builder setFontWeightBytes(com.google.protobuf.ByteString value) { private java.lang.Object textStyle_ = ""; /** - * - * *
        * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
        * Possible values are `normal`, `italic`, and `oblique`.
        * 
* * string text_style = 5; - * * @return The textStyle. */ public java.lang.String getTextStyle() { java.lang.Object ref = textStyle_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); textStyle_ = s; return s; @@ -3547,22 +3204,21 @@ public java.lang.String getTextStyle() { } } /** - * - * *
        * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
        * Possible values are `normal`, `italic`, and `oblique`.
        * 
* * string text_style = 5; - * * @return The bytes for textStyle. */ - public com.google.protobuf.ByteString getTextStyleBytes() { + public com.google.protobuf.ByteString + getTextStyleBytes() { java.lang.Object ref = textStyle_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); textStyle_ = b; return b; } else { @@ -3570,37 +3226,30 @@ public com.google.protobuf.ByteString getTextStyleBytes() { } } /** - * - * *
        * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
        * Possible values are `normal`, `italic`, and `oblique`.
        * 
* * string text_style = 5; - * * @param value The textStyle to set. * @return This builder for chaining. */ - public Builder setTextStyle(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTextStyle( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } textStyle_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
        * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
        * Possible values are `normal`, `italic`, and `oblique`.
        * 
* * string text_style = 5; - * * @return This builder for chaining. */ public Builder clearTextStyle() { @@ -3610,22 +3259,18 @@ public Builder clearTextStyle() { return this; } /** - * - * *
        * [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
        * Possible values are `normal`, `italic`, and `oblique`.
        * 
* * string text_style = 5; - * * @param value The bytes for textStyle to set. * @return This builder for chaining. */ - public Builder setTextStyleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTextStyleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); textStyle_ = value; bitField0_ |= 0x00000010; @@ -3635,8 +3280,6 @@ public Builder setTextStyleBytes(com.google.protobuf.ByteString value) { private java.lang.Object textDecoration_ = ""; /** - * - * *
        * [Text
        * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -3645,13 +3288,13 @@ public Builder setTextStyleBytes(com.google.protobuf.ByteString value) {
        * 
* * string text_decoration = 6; - * * @return The textDecoration. */ public java.lang.String getTextDecoration() { java.lang.Object ref = textDecoration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); textDecoration_ = s; return s; @@ -3660,8 +3303,6 @@ public java.lang.String getTextDecoration() { } } /** - * - * *
        * [Text
        * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -3670,14 +3311,15 @@ public java.lang.String getTextDecoration() {
        * 
* * string text_decoration = 6; - * * @return The bytes for textDecoration. */ - public com.google.protobuf.ByteString getTextDecorationBytes() { + public com.google.protobuf.ByteString + getTextDecorationBytes() { java.lang.Object ref = textDecoration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); textDecoration_ = b; return b; } else { @@ -3685,8 +3327,6 @@ public com.google.protobuf.ByteString getTextDecorationBytes() { } } /** - * - * *
        * [Text
        * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -3695,22 +3335,18 @@ public com.google.protobuf.ByteString getTextDecorationBytes() {
        * 
* * string text_decoration = 6; - * * @param value The textDecoration to set. * @return This builder for chaining. */ - public Builder setTextDecoration(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTextDecoration( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } textDecoration_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
        * [Text
        * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -3719,7 +3355,6 @@ public Builder setTextDecoration(java.lang.String value) {
        * 
* * string text_decoration = 6; - * * @return This builder for chaining. */ public Builder clearTextDecoration() { @@ -3729,8 +3364,6 @@ public Builder clearTextDecoration() { return this; } /** - * - * *
        * [Text
        * decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp).
@@ -3739,14 +3372,12 @@ public Builder clearTextDecoration() {
        * 
* * string text_decoration = 6; - * * @param value The bytes for textDecoration to set. * @return This builder for chaining. */ - public Builder setTextDecorationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTextDecorationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); textDecoration_ = value; bitField0_ |= 0x00000020; @@ -3756,47 +3387,34 @@ public Builder setTextDecorationBytes(com.google.protobuf.ByteString value) { private com.google.cloud.documentai.v1.Document.Style.FontSize fontSize_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.Document.Style.FontSize, - com.google.cloud.documentai.v1.Document.Style.FontSize.Builder, - com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder> - fontSizeBuilder_; + com.google.cloud.documentai.v1.Document.Style.FontSize, com.google.cloud.documentai.v1.Document.Style.FontSize.Builder, com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder> fontSizeBuilder_; /** - * - * *
        * Font size.
        * 
* * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; - * * @return Whether the fontSize field is set. */ public boolean hasFontSize() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
        * Font size.
        * 
* * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; - * * @return The fontSize. */ public com.google.cloud.documentai.v1.Document.Style.FontSize getFontSize() { if (fontSizeBuilder_ == null) { - return fontSize_ == null - ? com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance() - : fontSize_; + return fontSize_ == null ? com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance() : fontSize_; } else { return fontSizeBuilder_.getMessage(); } } /** - * - * *
        * Font size.
        * 
@@ -3817,8 +3435,6 @@ public Builder setFontSize(com.google.cloud.documentai.v1.Document.Style.FontSiz return this; } /** - * - * *
        * Font size.
        * 
@@ -3837,8 +3453,6 @@ public Builder setFontSize( return this; } /** - * - * *
        * Font size.
        * 
@@ -3847,10 +3461,9 @@ public Builder setFontSize( */ public Builder mergeFontSize(com.google.cloud.documentai.v1.Document.Style.FontSize value) { if (fontSizeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && fontSize_ != null - && fontSize_ - != com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + fontSize_ != null && + fontSize_ != com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance()) { getFontSizeBuilder().mergeFrom(value); } else { fontSize_ = value; @@ -3863,8 +3476,6 @@ public Builder mergeFontSize(com.google.cloud.documentai.v1.Document.Style.FontS return this; } /** - * - * *
        * Font size.
        * 
@@ -3882,8 +3493,6 @@ public Builder clearFontSize() { return this; } /** - * - * *
        * Font size.
        * 
@@ -3896,27 +3505,21 @@ public com.google.cloud.documentai.v1.Document.Style.FontSize.Builder getFontSiz return getFontSizeFieldBuilder().getBuilder(); } /** - * - * *
        * Font size.
        * 
* * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; */ - public com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder - getFontSizeOrBuilder() { + public com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder getFontSizeOrBuilder() { if (fontSizeBuilder_ != null) { return fontSizeBuilder_.getMessageOrBuilder(); } else { - return fontSize_ == null - ? com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance() - : fontSize_; + return fontSize_ == null ? + com.google.cloud.documentai.v1.Document.Style.FontSize.getDefaultInstance() : fontSize_; } } /** - * - * *
        * Font size.
        * 
@@ -3924,17 +3527,14 @@ public com.google.cloud.documentai.v1.Document.Style.FontSize.Builder getFontSiz * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.Document.Style.FontSize, - com.google.cloud.documentai.v1.Document.Style.FontSize.Builder, - com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder> + com.google.cloud.documentai.v1.Document.Style.FontSize, com.google.cloud.documentai.v1.Document.Style.FontSize.Builder, com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder> getFontSizeFieldBuilder() { if (fontSizeBuilder_ == null) { - fontSizeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.documentai.v1.Document.Style.FontSize, - com.google.cloud.documentai.v1.Document.Style.FontSize.Builder, - com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder>( - getFontSize(), getParentForChildren(), isClean()); + fontSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.documentai.v1.Document.Style.FontSize, com.google.cloud.documentai.v1.Document.Style.FontSize.Builder, com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder>( + getFontSize(), + getParentForChildren(), + isClean()); fontSize_ = null; } return fontSizeBuilder_; @@ -3942,21 +3542,19 @@ public com.google.cloud.documentai.v1.Document.Style.FontSize.Builder getFontSiz private java.lang.Object fontFamily_ = ""; /** - * - * *
        * Font family such as `Arial`, `Times New Roman`.
        * https://www.w3schools.com/cssref/pr_font_font-family.asp
        * 
* * string font_family = 8; - * * @return The fontFamily. */ public java.lang.String getFontFamily() { java.lang.Object ref = fontFamily_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fontFamily_ = s; return s; @@ -3965,22 +3563,21 @@ public java.lang.String getFontFamily() { } } /** - * - * *
        * Font family such as `Arial`, `Times New Roman`.
        * https://www.w3schools.com/cssref/pr_font_font-family.asp
        * 
* * string font_family = 8; - * * @return The bytes for fontFamily. */ - public com.google.protobuf.ByteString getFontFamilyBytes() { + public com.google.protobuf.ByteString + getFontFamilyBytes() { java.lang.Object ref = fontFamily_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fontFamily_ = b; return b; } else { @@ -3988,37 +3585,30 @@ public com.google.protobuf.ByteString getFontFamilyBytes() { } } /** - * - * *
        * Font family such as `Arial`, `Times New Roman`.
        * https://www.w3schools.com/cssref/pr_font_font-family.asp
        * 
* * string font_family = 8; - * * @param value The fontFamily to set. * @return This builder for chaining. */ - public Builder setFontFamily(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFontFamily( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fontFamily_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
        * Font family such as `Arial`, `Times New Roman`.
        * https://www.w3schools.com/cssref/pr_font_font-family.asp
        * 
* * string font_family = 8; - * * @return This builder for chaining. */ public Builder clearFontFamily() { @@ -4028,29 +3618,24 @@ public Builder clearFontFamily() { return this; } /** - * - * *
        * Font family such as `Arial`, `Times New Roman`.
        * https://www.w3schools.com/cssref/pr_font_font-family.asp
        * 
* * string font_family = 8; - * * @param value The bytes for fontFamily to set. * @return This builder for chaining. */ - public Builder setFontFamilyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFontFamilyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fontFamily_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4063,12 +3648,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.documentai.v1.Document.Style) } // @@protoc_insertion_point(class_scope:google.cloud.documentai.v1.Document.Style) private static final com.google.cloud.documentai.v1.Document.Style DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.documentai.v1.Document.Style(); } @@ -4077,28 +3662,27 @@ public static com.google.cloud.documentai.v1.Document.Style getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser