From a0713c03608c526574cac3d716f63abf0936093d Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 8 Nov 2022 20:04:54 +0000 Subject: [PATCH] feat: added font_family to document.proto feat: added ImageQualityScores message to document.proto feat: added PropertyMetadata and EntityTypeMetadata to document_schema.proto PiperOrigin-RevId: 486975621 Source-Link: https://github.com/googleapis/googleapis/commit/398c9f9fccf4dea8d12e0b5a90ed671dec2ee387 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7cd1f5f4e435777cb824af268dc8d37134613e6a Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiN2NkMWY1ZjRlNDM1Nzc3Y2I4MjRhZjI2OGRjOGQzNzEzNDYxM2U2YSJ9 --- .../v1/DocumentProcessorServiceGrpc.java | 2339 -- .../v1beta3/DocumentProcessorServiceGrpc.java | 2366 -- .../cloud/documentai/v1/BarcodeOrBuilder.java | 160 - .../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/DocumentAiProcessor.java | 157 - .../v1/DocumentAiProcessorService.java | 826 - .../v1/DocumentAiProcessorType.java | 100 - .../cloud/documentai/v1/DocumentIoProto.java | 154 - .../cloud/documentai/v1/DocumentProto.java | 787 - .../v1/EnableProcessorRequestOrBuilder.java | 54 - .../v1/EnableProcessorResponseOrBuilder.java | 24 - .../FetchProcessorTypesRequestOrBuilder.java | 58 - .../documentai/v1/GcsPrefixOrBuilder.java | 50 - .../cloud/documentai/v1/GeometryProto.java | 95 - .../v1/GetProcessorRequestOrBuilder.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/DocumentAiProto.java | 362 - .../documentai/v1beta2/DocumentProto.java | 575 - .../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 - .../BatchProcessResponseOrBuilder.java | 24 - .../DeleteProcessorRequestOrBuilder.java | 54 - ...eleteProcessorVersionRequestOrBuilder.java | 54 - ...eployProcessorVersionRequestOrBuilder.java | 54 - ...ployProcessorVersionResponseOrBuilder.java | 24 - .../DisableProcessorRequestOrBuilder.java | 54 - .../DisableProcessorResponseOrBuilder.java | 24 - .../v1beta3/DocumentAiDocumentSchema.java | 150 - .../v1beta3/DocumentAiProcessor.java | 158 - .../v1beta3/DocumentAiProcessorService.java | 901 - .../v1beta3/DocumentAiProcessorType.java | 103 - .../documentai/v1beta3/DocumentIoProto.java | 155 - .../DocumentOutputConfigOrBuilder.java | 70 - .../documentai/v1beta3/DocumentProto.java | 817 - .../EnableProcessorRequestOrBuilder.java | 54 - .../EnableProcessorResponseOrBuilder.java | 24 - .../FetchProcessorTypesRequestOrBuilder.java | 58 - .../v1beta3/GcsPrefixOrBuilder.java | 50 - .../documentai/v1beta3/GeometryProto.java | 96 - .../v1beta3/GetProcessorRequestOrBuilder.java | 54 - .../GetProcessorVersionRequestOrBuilder.java | 54 - .../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 + ...entProcessorServiceClientHttpJsonTest.java | 2 + .../DocumentProcessorServiceClientTest.java | 2 + .../v1/MockDocumentProcessorService.java | 0 .../v1/MockDocumentProcessorServiceImpl.java | 0 .../cloud/documentai/v1/MockLocations.java | 0 .../documentai/v1/MockLocationsImpl.java | 0 .../v1/DocumentProcessorServiceGrpc.java | 1726 + .../google/cloud/documentai/v1/Barcode.java | 843 +- .../cloud/documentai/v1/BarcodeOrBuilder.java | 129 + .../cloud/documentai/v1/BarcodeProto.java | 54 + .../v1/BatchDocumentsInputConfig.java | 505 +- .../BatchDocumentsInputConfigOrBuilder.java | 40 +- .../documentai/v1/BatchProcessMetadata.java | 1663 +- .../v1/BatchProcessMetadataOrBuilder.java | 92 +- .../documentai/v1/BatchProcessRequest.java | 589 +- .../v1/BatchProcessRequestOrBuilder.java | 54 +- .../documentai/v1/BatchProcessResponse.java | 251 +- .../v1/BatchProcessResponseOrBuilder.java | 9 + .../cloud/documentai/v1/BoundingPoly.java | 541 +- .../documentai/v1/BoundingPolyOrBuilder.java | 51 +- .../v1/CommonOperationMetadata.java | 736 +- .../v1/CommonOperationMetadataOrBuilder.java | 58 +- .../documentai/v1/CreateProcessorRequest.java | 495 +- .../v1/CreateProcessorRequestOrBuilder.java | 55 +- .../v1/DeleteProcessorMetadata.java | 352 +- .../v1/DeleteProcessorMetadataOrBuilder.java | 26 +- .../documentai/v1/DeleteProcessorRequest.java | 358 +- .../v1/DeleteProcessorRequestOrBuilder.java | 29 + .../v1/DeleteProcessorVersionMetadata.java | 362 +- ...leteProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/DeleteProcessorVersionRequest.java | 365 +- ...eleteProcessorVersionRequestOrBuilder.java | 29 + .../v1/DeployProcessorVersionMetadata.java | 362 +- ...ployProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/DeployProcessorVersionRequest.java | 365 +- ...eployProcessorVersionRequestOrBuilder.java | 29 + .../v1/DeployProcessorVersionResponse.java | 264 +- ...ployProcessorVersionResponseOrBuilder.java | 9 + .../v1/DisableProcessorMetadata.java | 352 +- .../v1/DisableProcessorMetadataOrBuilder.java | 26 +- .../v1/DisableProcessorRequest.java | 358 +- .../v1/DisableProcessorRequestOrBuilder.java | 29 + .../v1/DisableProcessorResponse.java | 254 +- .../v1/DisableProcessorResponseOrBuilder.java | 9 + .../google/cloud/documentai/v1/Document.java | 29663 +++++++--------- .../v1/DocumentAiDocumentSchema.java | 121 + .../documentai/v1/DocumentAiProcessor.java | 129 + .../v1/DocumentAiProcessorService.java | 777 + .../v1/DocumentAiProcessorType.java | 84 + .../cloud/documentai/v1/DocumentIoProto.java | 137 + .../documentai/v1/DocumentOrBuilder.java | 205 +- .../documentai/v1/DocumentOutputConfig.java | 1098 +- .../v1/DocumentOutputConfigOrBuilder.java | 38 +- .../cloud/documentai/v1/DocumentProto.java | 680 + .../cloud/documentai/v1/DocumentSchema.java | 3251 +- .../v1/DocumentSchemaOrBuilder.java | 59 +- .../v1/EnableProcessorMetadata.java | 352 +- .../v1/EnableProcessorMetadataOrBuilder.java | 26 +- .../documentai/v1/EnableProcessorRequest.java | 358 +- .../v1/EnableProcessorRequestOrBuilder.java | 29 + .../v1/EnableProcessorResponse.java | 254 +- .../v1/EnableProcessorResponseOrBuilder.java | 9 + .../v1/FetchProcessorTypesRequest.java | 358 +- .../FetchProcessorTypesRequestOrBuilder.java | 33 + .../v1/FetchProcessorTypesResponse.java | 386 +- .../FetchProcessorTypesResponseOrBuilder.java | 36 +- .../cloud/documentai/v1/GcsDocument.java | 399 +- .../documentai/v1/GcsDocumentOrBuilder.java | 36 +- .../cloud/documentai/v1/GcsDocuments.java | 399 +- .../documentai/v1/GcsDocumentsOrBuilder.java | 36 +- .../google/cloud/documentai/v1/GcsPrefix.java | 317 +- .../documentai/v1/GcsPrefixOrBuilder.java | 29 + .../cloud/documentai/v1/GeometryProto.java | 80 + .../documentai/v1/GetProcessorRequest.java | 355 +- .../v1/GetProcessorRequestOrBuilder.java | 29 + .../v1/GetProcessorVersionRequest.java | 358 +- .../GetProcessorVersionRequestOrBuilder.java | 29 + .../documentai/v1/HumanReviewConfigName.java | 0 .../documentai/v1/HumanReviewStatus.java | 556 +- .../v1/HumanReviewStatusOrBuilder.java | 42 +- .../v1/ListProcessorTypesRequest.java | 472 +- .../ListProcessorTypesRequestOrBuilder.java | 47 +- .../v1/ListProcessorTypesResponse.java | 463 +- .../ListProcessorTypesResponseOrBuilder.java | 45 +- .../v1/ListProcessorVersionsRequest.java | 472 +- ...ListProcessorVersionsRequestOrBuilder.java | 47 +- .../v1/ListProcessorVersionsResponse.java | 479 +- ...istProcessorVersionsResponseOrBuilder.java | 45 +- .../documentai/v1/ListProcessorsRequest.java | 469 +- .../v1/ListProcessorsRequestOrBuilder.java | 47 +- .../documentai/v1/ListProcessorsResponse.java | 489 +- .../v1/ListProcessorsResponseOrBuilder.java | 45 +- .../cloud/documentai/v1/LocationName.java | 0 .../cloud/documentai/v1/NormalizedVertex.java | 327 +- .../v1/NormalizedVertexOrBuilder.java | 29 + .../documentai/v1/OperationMetadataProto.java | 65 + .../cloud/documentai/v1/ProcessRequest.java | 711 +- .../v1/ProcessRequestOrBuilder.java | 68 +- .../cloud/documentai/v1/ProcessResponse.java | 423 +- .../v1/ProcessResponseOrBuilder.java | 34 +- .../google/cloud/documentai/v1/Processor.java | 1064 +- .../cloud/documentai/v1/ProcessorName.java | 0 .../documentai/v1/ProcessorOrBuilder.java | 114 +- .../cloud/documentai/v1/ProcessorType.java | 1186 +- .../documentai/v1/ProcessorTypeName.java | 0 .../documentai/v1/ProcessorTypeOrBuilder.java | 91 +- .../cloud/documentai/v1/ProcessorVersion.java | 1688 +- .../documentai/v1/ProcessorVersionName.java | 0 .../v1/ProcessorVersionOrBuilder.java | 114 +- .../cloud/documentai/v1/RawDocument.java | 371 +- .../documentai/v1/RawDocumentOrBuilder.java | 34 +- .../v1/ReviewDocumentOperationMetadata.java | 448 +- ...iewDocumentOperationMetadataOrBuilder.java | 35 +- .../documentai/v1/ReviewDocumentRequest.java | 742 +- .../v1/ReviewDocumentRequestOrBuilder.java | 60 +- .../documentai/v1/ReviewDocumentResponse.java | 549 +- .../v1/ReviewDocumentResponseOrBuilder.java | 42 +- .../SetDefaultProcessorVersionMetadata.java | 383 +- ...aultProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/SetDefaultProcessorVersionRequest.java | 488 +- ...faultProcessorVersionRequestOrBuilder.java | 52 +- .../SetDefaultProcessorVersionResponse.java | 285 +- ...aultProcessorVersionResponseOrBuilder.java | 9 + .../v1/UndeployProcessorVersionMetadata.java | 375 +- ...ployProcessorVersionMetadataOrBuilder.java | 26 +- .../v1/UndeployProcessorVersionRequest.java | 378 +- ...eployProcessorVersionRequestOrBuilder.java | 29 + .../v1/UndeployProcessorVersionResponse.java | 277 +- ...ployProcessorVersionResponseOrBuilder.java | 9 + .../google/cloud/documentai/v1/Vertex.java | 310 +- .../cloud/documentai/v1/VertexOrBuilder.java | 29 + .../google/cloud/documentai/v1/barcode.proto | 56 +- .../google/cloud/documentai/v1/document.proto | 72 +- .../cloud/documentai/v1/document_io.proto | 11 +- .../v1/document_processor_service.proto | 2 + .../cloud/documentai/v1/document_schema.proto | 7 +- .../google/cloud/documentai/v1/geometry.proto | 0 .../documentai/v1/operation_metadata.proto | 0 .../cloud/documentai/v1/processor.proto | 14 +- .../cloud/documentai/v1/processor_type.proto | 4 +- .../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 .../AsyncFetchProcessorTypes.java | 0 .../SyncFetchProcessorTypes.java | 0 .../SyncFetchProcessorTypesLocationname.java | 0 .../SyncFetchProcessorTypesString.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 .../AsyncGetProcessorVersion.java | 0 .../SyncGetProcessorVersion.java | 0 ...tProcessorVersionProcessorversionname.java | 0 .../SyncGetProcessorVersionString.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 .../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 + ...ocumentUnderstandingServiceClientTest.java | 0 .../MockDocumentUnderstandingService.java | 0 .../MockDocumentUnderstandingServiceImpl.java | 0 .../DocumentUnderstandingServiceGrpc.java | 221 +- .../v1beta1/BatchProcessDocumentsRequest.java | 602 +- ...BatchProcessDocumentsRequestOrBuilder.java | 62 +- .../BatchProcessDocumentsResponse.java | 448 +- ...atchProcessDocumentsResponseOrBuilder.java | 33 +- .../documentai/v1beta1/BoundingPoly.java | 643 +- .../v1beta1/BoundingPolyOrBuilder.java | 66 +- .../cloud/documentai/v1beta1/Document.java | 17041 +++------ .../documentai/v1beta1/DocumentAiProto.java | 300 + .../documentai/v1beta1/DocumentOrBuilder.java | 153 +- .../documentai/v1beta1/DocumentProto.java | 419 + .../v1beta1/EntityExtractionParams.java | 368 +- .../EntityExtractionParamsOrBuilder.java | 30 +- .../v1beta1/FormExtractionParams.java | 596 +- .../FormExtractionParamsOrBuilder.java | 60 +- .../documentai/v1beta1/GcsDestination.java | 313 +- .../v1beta1/GcsDestinationOrBuilder.java | 21 + .../cloud/documentai/v1beta1/GcsSource.java | 306 +- .../v1beta1/GcsSourceOrBuilder.java | 21 + .../documentai/v1beta1/GeometryProto.java | 81 + .../cloud/documentai/v1beta1/InputConfig.java | 452 +- .../v1beta1/InputConfigOrBuilder.java | 35 +- .../documentai/v1beta1/KeyValuePairHint.java | 434 +- .../v1beta1/KeyValuePairHintOrBuilder.java | 45 +- .../documentai/v1beta1/NormalizedVertex.java | 331 +- .../v1beta1/NormalizedVertexOrBuilder.java | 29 + .../cloud/documentai/v1beta1/OcrParams.java | 348 +- .../v1beta1/OcrParamsOrBuilder.java | 36 +- .../documentai/v1beta1/OperationMetadata.java | 666 +- .../v1beta1/OperationMetadataOrBuilder.java | 49 +- .../documentai/v1beta1/OutputConfig.java | 419 +- .../v1beta1/OutputConfigOrBuilder.java | 29 +- .../v1beta1/ProcessDocumentRequest.java | 1095 +- .../ProcessDocumentRequestOrBuilder.java | 126 +- .../v1beta1/ProcessDocumentResponse.java | 426 +- .../ProcessDocumentResponseOrBuilder.java | 34 +- .../documentai/v1beta1/TableBoundHint.java | 372 +- .../v1beta1/TableBoundHintOrBuilder.java | 29 +- .../v1beta1/TableExtractionParams.java | 706 +- .../TableExtractionParamsOrBuilder.java | 83 +- .../cloud/documentai/v1beta1/Vertex.java | 314 +- .../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 + ...ocumentUnderstandingServiceClientTest.java | 0 .../MockDocumentUnderstandingService.java | 0 .../MockDocumentUnderstandingServiceImpl.java | 0 .../DocumentUnderstandingServiceGrpc.java | 330 +- .../documentai/v1beta2/AutoMlParams.java | 327 +- .../v1beta2/AutoMlParamsOrBuilder.java | 27 +- .../v1beta2/BatchProcessDocumentsRequest.java | 602 +- ...BatchProcessDocumentsRequestOrBuilder.java | 62 +- .../BatchProcessDocumentsResponse.java | 448 +- ...atchProcessDocumentsResponseOrBuilder.java | 33 +- .../documentai/v1beta2/BoundingPoly.java | 643 +- .../v1beta2/BoundingPolyOrBuilder.java | 66 +- .../cloud/documentai/v1beta2/Document.java | 19561 ++++------ .../documentai/v1beta2/DocumentAiProto.java | 324 + .../documentai/v1beta2/DocumentOrBuilder.java | 171 +- .../documentai/v1beta2/DocumentProto.java | 471 + .../v1beta2/EntityExtractionParams.java | 368 +- .../EntityExtractionParamsOrBuilder.java | 30 +- .../v1beta2/FormExtractionParams.java | 596 +- .../FormExtractionParamsOrBuilder.java | 60 +- .../documentai/v1beta2/GcsDestination.java | 313 +- .../v1beta2/GcsDestinationOrBuilder.java | 21 + .../cloud/documentai/v1beta2/GcsSource.java | 306 +- .../v1beta2/GcsSourceOrBuilder.java | 21 + .../documentai/v1beta2/GeometryProto.java | 81 + .../cloud/documentai/v1beta2/InputConfig.java | 509 +- .../v1beta2/InputConfigOrBuilder.java | 41 +- .../documentai/v1beta2/KeyValuePairHint.java | 434 +- .../v1beta2/KeyValuePairHintOrBuilder.java | 45 +- .../documentai/v1beta2/NormalizedVertex.java | 331 +- .../v1beta2/NormalizedVertexOrBuilder.java | 29 + .../cloud/documentai/v1beta2/OcrParams.java | 348 +- .../v1beta2/OcrParamsOrBuilder.java | 36 +- .../documentai/v1beta2/OperationMetadata.java | 666 +- .../v1beta2/OperationMetadataOrBuilder.java | 49 +- .../documentai/v1beta2/OutputConfig.java | 419 +- .../v1beta2/OutputConfigOrBuilder.java | 29 +- .../v1beta2/ProcessDocumentRequest.java | 1260 +- .../ProcessDocumentRequestOrBuilder.java | 143 +- .../v1beta2/ProcessDocumentResponse.java | 426 +- .../ProcessDocumentResponseOrBuilder.java | 34 +- .../documentai/v1beta2/TableBoundHint.java | 372 +- .../v1beta2/TableBoundHintOrBuilder.java | 29 +- .../v1beta2/TableExtractionParams.java | 706 +- .../TableExtractionParamsOrBuilder.java | 83 +- .../cloud/documentai/v1beta2/Vertex.java | 314 +- .../documentai/v1beta2/VertexOrBuilder.java | 29 + .../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 .../processdocument/AsyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../DocumentProcessorServiceClient.java | 0 .../DocumentProcessorServiceSettings.java | 1 + .../documentai/v1beta3/gapic_metadata.json | 0 .../documentai/v1beta3/package-info.java | 0 .../stub/DocumentProcessorServiceStub.java | 0 .../DocumentProcessorServiceStubSettings.java | 0 ...cumentProcessorServiceCallableFactory.java | 0 .../GrpcDocumentProcessorServiceStub.java | 1 + ...cumentProcessorServiceCallableFactory.java | 0 .../HttpJsonDocumentProcessorServiceStub.java | 1 + ...entProcessorServiceClientHttpJsonTest.java | 0 .../DocumentProcessorServiceClientTest.java | 0 .../v1beta3/MockDocumentProcessorService.java | 0 .../MockDocumentProcessorServiceImpl.java | 0 .../documentai/v1beta3/MockLocations.java | 0 .../documentai/v1beta3/MockLocationsImpl.java | 0 .../v1beta3/DocumentProcessorServiceGrpc.java | 1726 + .../cloud/documentai/v1beta3/Barcode.java | 474 +- .../documentai/v1beta3/BarcodeOrBuilder.java | 45 +- .../documentai/v1beta3/BarcodeProto.java | 55 + .../v1beta3/BatchDocumentsInputConfig.java | 485 +- .../BatchDocumentsInputConfigOrBuilder.java | 34 +- .../v1beta3/BatchProcessMetadata.java | 1849 +- .../BatchProcessMetadataOrBuilder.java | 93 +- .../v1beta3/BatchProcessRequest.java | 2065 +- .../v1beta3/BatchProcessRequestOrBuilder.java | 140 +- .../v1beta3/BatchProcessResponse.java | 254 +- .../BatchProcessResponseOrBuilder.java | 9 + .../documentai/v1beta3/BoundingPoly.java | 643 +- .../v1beta3/BoundingPolyOrBuilder.java | 66 +- .../v1beta3/CommonOperationMetadata.java | 739 +- .../CommonOperationMetadataOrBuilder.java | 58 +- .../v1beta3/CreateProcessorRequest.java | 492 +- .../CreateProcessorRequestOrBuilder.java | 55 +- .../v1beta3/DeleteProcessorMetadata.java | 356 +- .../DeleteProcessorMetadataOrBuilder.java | 26 +- .../v1beta3/DeleteProcessorRequest.java | 358 +- .../DeleteProcessorRequestOrBuilder.java | 29 + .../DeleteProcessorVersionMetadata.java | 391 +- ...leteProcessorVersionMetadataOrBuilder.java | 26 +- .../DeleteProcessorVersionRequest.java | 386 +- ...eleteProcessorVersionRequestOrBuilder.java | 29 + .../DeployProcessorVersionMetadata.java | 391 +- ...ployProcessorVersionMetadataOrBuilder.java | 26 +- .../DeployProcessorVersionRequest.java | 386 +- ...eployProcessorVersionRequestOrBuilder.java | 29 + .../DeployProcessorVersionResponse.java | 289 +- ...ployProcessorVersionResponseOrBuilder.java | 9 + .../v1beta3/DisableProcessorMetadata.java | 363 +- .../DisableProcessorMetadataOrBuilder.java | 26 +- .../v1beta3/DisableProcessorRequest.java | 358 +- .../DisableProcessorRequestOrBuilder.java | 29 + .../v1beta3/DisableProcessorResponse.java | 261 +- .../DisableProcessorResponseOrBuilder.java | 9 + .../cloud/documentai/v1beta3/Document.java | 27939 +++++---------- .../v1beta3/DocumentAiDocumentSchema.java | 122 + .../v1beta3/DocumentAiProcessor.java | 125 + .../v1beta3/DocumentAiProcessorService.java | 830 + .../v1beta3/DocumentAiProcessorType.java | 85 + .../documentai/v1beta3/DocumentIoProto.java | 134 + .../documentai/v1beta3/DocumentOrBuilder.java | 186 +- .../v1beta3/DocumentOutputConfig.java | 908 +- .../DocumentOutputConfigOrBuilder.java | 38 + .../documentai/v1beta3/DocumentProto.java | 658 + .../documentai/v1beta3/DocumentSchema.java | 3480 +- .../v1beta3/DocumentSchemaOrBuilder.java | 73 +- .../v1beta3/EnableProcessorMetadata.java | 356 +- .../EnableProcessorMetadataOrBuilder.java | 26 +- .../v1beta3/EnableProcessorRequest.java | 358 +- .../EnableProcessorRequestOrBuilder.java | 29 + .../v1beta3/EnableProcessorResponse.java | 254 +- .../EnableProcessorResponseOrBuilder.java | 9 + .../v1beta3/FetchProcessorTypesRequest.java | 375 +- .../FetchProcessorTypesRequestOrBuilder.java | 33 + .../v1beta3/FetchProcessorTypesResponse.java | 412 +- .../FetchProcessorTypesResponseOrBuilder.java | 36 +- .../cloud/documentai/v1beta3/GcsDocument.java | 402 +- .../v1beta3/GcsDocumentOrBuilder.java | 36 +- .../documentai/v1beta3/GcsDocuments.java | 404 +- .../v1beta3/GcsDocumentsOrBuilder.java | 36 +- .../cloud/documentai/v1beta3/GcsPrefix.java | 320 +- .../v1beta3/GcsPrefixOrBuilder.java | 29 + .../documentai/v1beta3/GeometryProto.java | 81 + .../v1beta3/GetProcessorRequest.java | 358 +- .../v1beta3/GetProcessorRequestOrBuilder.java | 29 + .../v1beta3/GetProcessorVersionRequest.java | 375 +- .../GetProcessorVersionRequestOrBuilder.java | 29 + .../v1beta3/HumanReviewConfigName.java | 0 .../documentai/v1beta3/HumanReviewStatus.java | 565 +- .../v1beta3/HumanReviewStatusOrBuilder.java | 42 +- .../v1beta3/ListProcessorTypesRequest.java | 479 +- .../ListProcessorTypesRequestOrBuilder.java | 47 +- .../v1beta3/ListProcessorTypesResponse.java | 486 +- .../ListProcessorTypesResponseOrBuilder.java | 45 +- .../v1beta3/ListProcessorVersionsRequest.java | 492 +- ...ListProcessorVersionsRequestOrBuilder.java | 47 +- .../ListProcessorVersionsResponse.java | 571 +- ...istProcessorVersionsResponseOrBuilder.java | 42 +- .../v1beta3/ListProcessorsRequest.java | 472 +- .../ListProcessorsRequestOrBuilder.java | 47 +- .../v1beta3/ListProcessorsResponse.java | 483 +- .../ListProcessorsResponseOrBuilder.java | 45 +- .../documentai/v1beta3/LocationName.java | 0 .../documentai/v1beta3/NormalizedVertex.java | 331 +- .../v1beta3/NormalizedVertexOrBuilder.java | 29 + .../v1beta3/OperationMetadataProto.java | 66 + .../documentai/v1beta3/ProcessRequest.java | 829 +- .../v1beta3/ProcessRequestOrBuilder.java | 87 +- .../documentai/v1beta3/ProcessResponse.java | 550 +- .../v1beta3/ProcessResponseOrBuilder.java | 55 +- .../cloud/documentai/v1beta3/Processor.java | 1051 +- .../documentai/v1beta3/ProcessorName.java | 0 .../v1beta3/ProcessorOrBuilder.java | 110 +- .../documentai/v1beta3/ProcessorType.java | 1190 +- .../documentai/v1beta3/ProcessorTypeName.java | 0 .../v1beta3/ProcessorTypeOrBuilder.java | 92 +- .../documentai/v1beta3/ProcessorVersion.java | 1494 +- .../v1beta3/ProcessorVersionName.java | 0 .../v1beta3/ProcessorVersionOrBuilder.java | 91 +- .../cloud/documentai/v1beta3/RawDocument.java | 360 +- .../v1beta3/RawDocumentOrBuilder.java | 30 +- .../ReviewDocumentOperationMetadata.java | 893 +- ...iewDocumentOperationMetadataOrBuilder.java | 66 +- .../v1beta3/ReviewDocumentRequest.java | 883 +- .../ReviewDocumentRequestOrBuilder.java | 85 +- .../v1beta3/ReviewDocumentResponse.java | 552 +- .../ReviewDocumentResponseOrBuilder.java | 42 +- .../SetDefaultProcessorVersionMetadata.java | 394 +- ...aultProcessorVersionMetadataOrBuilder.java | 26 +- .../SetDefaultProcessorVersionRequest.java | 500 +- ...faultProcessorVersionRequestOrBuilder.java | 52 +- .../SetDefaultProcessorVersionResponse.java | 292 +- ...aultProcessorVersionResponseOrBuilder.java | 9 + .../UndeployProcessorVersionMetadata.java | 391 +- ...ployProcessorVersionMetadataOrBuilder.java | 26 +- .../UndeployProcessorVersionRequest.java | 393 +- ...eployProcessorVersionRequestOrBuilder.java | 29 + .../UndeployProcessorVersionResponse.java | 289 +- ...ployProcessorVersionResponseOrBuilder.java | 9 + .../cloud/documentai/v1beta3/Vertex.java | 314 +- .../documentai/v1beta3/VertexOrBuilder.java | 29 + .../cloud/documentai/v1beta3/barcode.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 .../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 .../AsyncFetchProcessorTypes.java | 0 .../SyncFetchProcessorTypes.java | 0 .../SyncFetchProcessorTypesLocationname.java | 0 .../SyncFetchProcessorTypesString.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 .../AsyncGetProcessorVersion.java | 0 .../SyncGetProcessorVersion.java | 0 ...tProcessorVersionProcessorversionname.java | 0 .../SyncGetProcessorVersionString.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 .../AsyncUndeployProcessorVersion.java | 0 .../AsyncUndeployProcessorVersionLRO.java | 0 .../SyncUndeployProcessorVersion.java | 0 ...yProcessorVersionProcessorversionname.java | 0 .../SyncUndeployProcessorVersionString.java | 0 .../processdocument/SyncProcessDocument.java | 0 .../processdocument/SyncProcessDocument.java | 0 672 files changed, 78484 insertions(+), 127928 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/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.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/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/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/GetProcessorRequestOrBuilder.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/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/BatchProcessResponseOrBuilder.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/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/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/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/GetProcessorRequestOrBuilder.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/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/test/java/com/google/cloud/documentai/v1/DocumentProcessorServiceClientHttpJsonTest.java (99%) 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 (99%) 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 (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/BarcodeOrBuilder.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/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 (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/BatchDocumentsInputConfigOrBuilder.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/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 (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/BatchProcessRequestOrBuilder.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/BatchProcessResponse.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/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 (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/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 (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/CreateProcessorRequestOrBuilder.java (53%) 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 (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/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 (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/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 (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/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 (61%) 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 (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/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 (61%) 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 (61%) 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 (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/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 (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/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 (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/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/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 (84%) 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 (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/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 (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/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 (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/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 (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/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/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 (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/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/GetProcessorRequest.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/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/GetProcessorVersionRequest.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/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 (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/HumanReviewStatusOrBuilder.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/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 (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/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 (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/NormalizedVertexOrBuilder.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/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/ProcessRequest.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/ProcessRequestOrBuilder.java (78%) 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 (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/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 (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/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 (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/ProcessorType.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/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 (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/ProcessorVersion.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/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 (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/RawDocument.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/RawDocumentOrBuilder.java (53%) 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 (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/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 (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/ReviewDocumentResponse.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/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 (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/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 (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/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 (58%) 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/UndeployProcessorVersionMetadata.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/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 (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/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 (60%) 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 (93%) 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 (86%) 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 (96%) 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 (92%) 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 (94%) 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/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/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/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/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/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/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 (55%) 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 (52%) 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 (71%) 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 (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/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 (77%) 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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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/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}/grpc-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentUnderstandingServiceGrpc.java (51%) 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/BatchProcessDocumentsRequest.java (63%) 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 (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/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 (71%) 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 (87%) 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 (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/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 (78%) 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 (83%) 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 (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/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 (64%) 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 (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/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 (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/ProcessDocumentRequestOrBuilder.java (77%) 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 (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/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 (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/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 (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/Vertex.java (64%) 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/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/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/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/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/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/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/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/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 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 (78%) 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/BatchDocumentsInputConfig.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/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 (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/BatchProcessRequestOrBuilder.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/BatchProcessResponse.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/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 (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/CreateProcessorRequestOrBuilder.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/DeleteProcessorMetadata.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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (72%) 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/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 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/DocumentOrBuilder.java (88%) 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 (60%) 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 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 (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/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 (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/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 (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/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/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 (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/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/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 (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/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/GetProcessorRequest.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/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/GetProcessorVersionRequest.java (60%) 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 (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/HumanReviewStatusOrBuilder.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/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 (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/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 (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/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 (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/NormalizedVertexOrBuilder.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/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/ProcessRequest.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/ProcessRequestOrBuilder.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/ProcessResponse.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/ProcessResponseOrBuilder.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/Processor.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/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 (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/ProcessorType.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/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 (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/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/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 (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/RawDocument.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/RawDocumentOrBuilder.java (55%) 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 (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/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 (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/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/SetDefaultProcessorVersionMetadata.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/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 (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/SetDefaultProcessorVersionRequestOrBuilder.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/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/UndeployProcessorVersionMetadata.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/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 (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/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 (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/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/Vertex.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/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/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/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/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/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/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/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/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/stub/documentprocessorservicestubsettings/processdocument/SyncProcessDocument.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 0a13246edf20..000000000000 --- a/java-document-ai/grpc-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceGrpc.java +++ /dev/null @@ -1,2339 +0,0 @@ -/* - * Copyright 2020 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 Cloud DocumentAI 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 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.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.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; - } - - /** 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 Cloud DocumentAI 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 { - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - public 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.
-     * 
- */ - public 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 do not use ListProcessorTypes here
-     * because it is not paginated.
-     * 
- */ - public 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.
-     * 
- */ - public void listProcessorTypes( - com.google.cloud.documentai.v1.ListProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorTypesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - public void getProcessor( - com.google.cloud.documentai.v1.GetProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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 type processor that the user chose.
-     * 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.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.
-     * 
- */ - public void deleteProcessor( - com.google.cloud.documentai.v1.DeleteProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - public void enableProcessor( - com.google.cloud.documentai.v1.EnableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getEnableProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public void reviewDocument( - com.google.cloud.documentai.v1.ReviewDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReviewDocumentMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_PROCESS_DOCUMENT))) - .addMethod( - getBatchProcessDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.BatchProcessRequest, - com.google.longrunning.Operation>(this, 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>( - this, 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>( - this, METHODID_LIST_PROCESSOR_TYPES))) - .addMethod( - getListProcessorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.ListProcessorsRequest, - com.google.cloud.documentai.v1.ListProcessorsResponse>( - this, METHODID_LIST_PROCESSORS))) - .addMethod( - getGetProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.GetProcessorRequest, - com.google.cloud.documentai.v1.Processor>(this, METHODID_GET_PROCESSOR))) - .addMethod( - getGetProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.GetProcessorVersionRequest, - com.google.cloud.documentai.v1.ProcessorVersion>( - this, 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>( - this, METHODID_LIST_PROCESSOR_VERSIONS))) - .addMethod( - getDeleteProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.DeleteProcessorVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PROCESSOR_VERSION))) - .addMethod( - getDeployProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.DeployProcessorVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DEPLOY_PROCESSOR_VERSION))) - .addMethod( - getUndeployProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.UndeployProcessorVersionRequest, - com.google.longrunning.Operation>(this, 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>(this, METHODID_CREATE_PROCESSOR))) - .addMethod( - getDeleteProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.DeleteProcessorRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PROCESSOR))) - .addMethod( - getEnableProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.EnableProcessorRequest, - com.google.longrunning.Operation>(this, METHODID_ENABLE_PROCESSOR))) - .addMethod( - getDisableProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.DisableProcessorRequest, - com.google.longrunning.Operation>(this, METHODID_DISABLE_PROCESSOR))) - .addMethod( - getSetDefaultProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_SET_DEFAULT_PROCESSOR_VERSION))) - .addMethod( - getReviewDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1.ReviewDocumentRequest, - com.google.longrunning.Operation>(this, METHODID_REVIEW_DOCUMENT))) - .build(); - } - } - - /** - * - * - *
-   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
-     * because it is not 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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 type processor that the user chose.
-     * 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); - } - } - - /** - * - * - *
-   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
-     * because it is not 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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 type processor that the user chose.
-     * 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); - } - } - - /** - * - * - *
-   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
-     * because it is not 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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 type processor that the user chose.
-     * 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); - } - } - - 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_LIST_PROCESSORS = 4; - private static final int METHODID_GET_PROCESSOR = 5; - private static final int METHODID_GET_PROCESSOR_VERSION = 6; - private static final int METHODID_LIST_PROCESSOR_VERSIONS = 7; - private static final int METHODID_DELETE_PROCESSOR_VERSION = 8; - private static final int METHODID_DEPLOY_PROCESSOR_VERSION = 9; - private static final int METHODID_UNDEPLOY_PROCESSOR_VERSION = 10; - private static final int METHODID_CREATE_PROCESSOR = 11; - private static final int METHODID_DELETE_PROCESSOR = 12; - private static final int METHODID_ENABLE_PROCESSOR = 13; - private static final int METHODID_DISABLE_PROCESSOR = 14; - private static final int METHODID_SET_DEFAULT_PROCESSOR_VERSION = 15; - private static final int METHODID_REVIEW_DOCUMENT = 16; - - 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 DocumentProcessorServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DocumentProcessorServiceImplBase 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_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_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; - 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(); - } - } - } - - 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 String methodName; - - DocumentProcessorServiceMethodDescriptorSupplier(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(getListProcessorsMethod()) - .addMethod(getGetProcessorMethod()) - .addMethod(getGetProcessorVersionMethod()) - .addMethod(getListProcessorVersionsMethod()) - .addMethod(getDeleteProcessorVersionMethod()) - .addMethod(getDeployProcessorVersionMethod()) - .addMethod(getUndeployProcessorVersionMethod()) - .addMethod(getCreateProcessorMethod()) - .addMethod(getDeleteProcessorMethod()) - .addMethod(getEnableProcessorMethod()) - .addMethod(getDisableProcessorMethod()) - .addMethod(getSetDefaultProcessorVersionMethod()) - .addMethod(getReviewDocumentMethod()) - .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 6cd9101920e6..000000000000 --- a/java-document-ai/grpc-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceGrpc.java +++ /dev/null @@ -1,2366 +0,0 @@ -/* - * Copyright 2020 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 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 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.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.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; - } - - /** 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 Cloud DocumentAI 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 { - - /** - * - * - *
-     * Processes a single document.
-     * 
- */ - public 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.
-     * 
- */ - public 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 do not use ListProcessorTypes here
-     * because it is not paginated.
-     * 
- */ - public 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.
-     * 
- */ - public void listProcessorTypes( - com.google.cloud.documentai.v1beta3.ListProcessorTypesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorTypesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getListProcessorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor detail.
-     * 
- */ - public void getProcessor( - com.google.cloud.documentai.v1beta3.GetProcessorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a processor version detail.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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 type processor that the user chose.
-     * 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.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.
-     * 
- */ - public void deleteProcessor( - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Enables a processor
-     * 
- */ - public void enableProcessor( - com.google.cloud.documentai.v1beta3.EnableProcessorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getEnableProcessorMethod(), responseObserver); - } - - /** - * - * - *
-     * Disables a processor
-     * 
- */ - public 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].
-     * 
- */ - public 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.
-     * 
- */ - public void reviewDocument( - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReviewDocumentMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_PROCESS_DOCUMENT))) - .addMethod( - getBatchProcessDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.BatchProcessRequest, - com.google.longrunning.Operation>(this, 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>( - this, 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>( - this, METHODID_LIST_PROCESSOR_TYPES))) - .addMethod( - getListProcessorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ListProcessorsRequest, - com.google.cloud.documentai.v1beta3.ListProcessorsResponse>( - this, METHODID_LIST_PROCESSORS))) - .addMethod( - getGetProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.GetProcessorRequest, - com.google.cloud.documentai.v1beta3.Processor>(this, METHODID_GET_PROCESSOR))) - .addMethod( - getGetProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.GetProcessorVersionRequest, - com.google.cloud.documentai.v1beta3.ProcessorVersion>( - this, 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>( - this, METHODID_LIST_PROCESSOR_VERSIONS))) - .addMethod( - getDeleteProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PROCESSOR_VERSION))) - .addMethod( - getDeployProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DEPLOY_PROCESSOR_VERSION))) - .addMethod( - getUndeployProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest, - com.google.longrunning.Operation>(this, 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>( - this, METHODID_CREATE_PROCESSOR))) - .addMethod( - getDeleteProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.DeleteProcessorRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PROCESSOR))) - .addMethod( - getEnableProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.EnableProcessorRequest, - com.google.longrunning.Operation>(this, METHODID_ENABLE_PROCESSOR))) - .addMethod( - getDisableProcessorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.DisableProcessorRequest, - com.google.longrunning.Operation>(this, METHODID_DISABLE_PROCESSOR))) - .addMethod( - getSetDefaultProcessorVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_SET_DEFAULT_PROCESSOR_VERSION))) - .addMethod( - getReviewDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.documentai.v1beta3.ReviewDocumentRequest, - com.google.longrunning.Operation>(this, METHODID_REVIEW_DOCUMENT))) - .build(); - } - } - - /** - * - * - *
-   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
-     * because it is not 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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 type processor that the user chose.
-     * 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); - } - } - - /** - * - * - *
-   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
-     * because it is not 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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 type processor that the user chose.
-     * 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); - } - } - - /** - * - * - *
-   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
-     * because it is not 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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 type processor that the user chose.
-     * 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); - } - } - - 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_LIST_PROCESSORS = 4; - private static final int METHODID_GET_PROCESSOR = 5; - private static final int METHODID_GET_PROCESSOR_VERSION = 6; - private static final int METHODID_LIST_PROCESSOR_VERSIONS = 7; - private static final int METHODID_DELETE_PROCESSOR_VERSION = 8; - private static final int METHODID_DEPLOY_PROCESSOR_VERSION = 9; - private static final int METHODID_UNDEPLOY_PROCESSOR_VERSION = 10; - private static final int METHODID_CREATE_PROCESSOR = 11; - private static final int METHODID_DELETE_PROCESSOR = 12; - private static final int METHODID_ENABLE_PROCESSOR = 13; - private static final int METHODID_DISABLE_PROCESSOR = 14; - private static final int METHODID_SET_DEFAULT_PROCESSOR_VERSION = 15; - private static final int METHODID_REVIEW_DOCUMENT = 16; - - 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 DocumentProcessorServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DocumentProcessorServiceImplBase 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_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_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; - 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(); - } - } - } - - 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 String methodName; - - DocumentProcessorServiceMethodDescriptorSupplier(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(getListProcessorsMethod()) - .addMethod(getGetProcessorMethod()) - .addMethod(getGetProcessorVersionMethod()) - .addMethod(getListProcessorVersionsMethod()) - .addMethod(getDeleteProcessorVersionMethod()) - .addMethod(getDeployProcessorVersionMethod()) - .addMethod(getUndeployProcessorVersionMethod()) - .addMethod(getCreateProcessorMethod()) - .addMethod(getDeleteProcessorMethod()) - .addMethod(getEnableProcessorMethod()) - .addMethod(getDisableProcessorMethod()) - .addMethod(getSetDefaultProcessorVersionMethod()) - .addMethod(getReviewDocumentMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java deleted file mode 100644 index d78760717509..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2020 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 - // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.Barcode) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Format of a barcode.
-   * The supported formats are:
-   *   CODE_128: Code 128 type.
-   *   CODE_39: Code 39 type.
-   *   CODE_93: Code 93 type.
-   *   CODABAR: Codabar type.
-   *   DATA_MATRIX: 2D Data Matrix type.
-   *   ITF: ITF type.
-   *   EAN_13: EAN-13 type.
-   *   EAN_8: EAN-8 type.
-   *   QR_CODE: 2D QR code type.
-   *   UPC_A: UPC-A type.
-   *   UPC_E: UPC-E type.
-   *   PDF417: PDF417 type.
-   *   AZTEC: 2D Aztec code type.
-   *   DATABAR: GS1 DataBar code type.
-   * 
- * - * string format = 1; - * - * @return The format. - */ - java.lang.String getFormat(); - /** - * - * - *
-   * Format of a barcode.
-   * The supported formats are:
-   *   CODE_128: Code 128 type.
-   *   CODE_39: Code 39 type.
-   *   CODE_93: Code 93 type.
-   *   CODABAR: Codabar type.
-   *   DATA_MATRIX: 2D Data Matrix type.
-   *   ITF: ITF type.
-   *   EAN_13: EAN-13 type.
-   *   EAN_8: EAN-8 type.
-   *   QR_CODE: 2D QR code type.
-   *   UPC_A: UPC-A type.
-   *   UPC_E: UPC-E type.
-   *   PDF417: PDF417 type.
-   *   AZTEC: 2D Aztec code type.
-   *   DATABAR: GS1 DataBar code type.
-   * 
- * - * string format = 1; - * - * @return The bytes for format. - */ - com.google.protobuf.ByteString getFormatBytes(); - - /** - * - * - *
-   * Value format describes the format of the value that a barcode
-   * encodes.
-   * The supported formats are:
-   *   CONTACT_INFO: Contact information.
-   *   EMAIL: Email address.
-   *   ISBN: ISBN identifier.
-   *   PHONE: Phone number.
-   *   PRODUCT: Product.
-   *   SMS: SMS message.
-   *   TEXT: Text string.
-   *   URL: URL address.
-   *   WIFI: Wifi information.
-   *   GEO: Geo-localization.
-   *   CALENDAR_EVENT: Calendar event.
-   *   DRIVER_LICENSE: Driver's license.
-   * 
- * - * string value_format = 2; - * - * @return The valueFormat. - */ - java.lang.String getValueFormat(); - /** - * - * - *
-   * Value format describes the format of the value that a barcode
-   * encodes.
-   * The supported formats are:
-   *   CONTACT_INFO: Contact information.
-   *   EMAIL: Email address.
-   *   ISBN: ISBN identifier.
-   *   PHONE: Phone number.
-   *   PRODUCT: Product.
-   *   SMS: SMS message.
-   *   TEXT: Text string.
-   *   URL: URL address.
-   *   WIFI: Wifi information.
-   *   GEO: Geo-localization.
-   *   CALENDAR_EVENT: Calendar event.
-   *   DRIVER_LICENSE: Driver's license.
-   * 
- * - * string value_format = 2; - * - * @return The bytes for valueFormat. - */ - 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(); -} 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 9fcd7e6dc0ec..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 2020 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\320\001\n\036com.google.cloud." - + "documentai.v1B\014BarcodeProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/docum" - + "entai/v1;documentai\252\002\032Google.Cloud.Docum" - + "entAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035" - + "Google::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 8932ad635343..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 2020 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 fea88a7e9751..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 2020 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 d47142a9f0c4..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 2020 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 7a9f374535f5..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 2020 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 2a1f42dbe038..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 2020 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 11fcfc1c743d..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 2020 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 b7bee03b644c..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 2020 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 42e7216de3c3..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 2020 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\334\001\n\036com.google.cloud.do" - + "cumentai.v1B\030DocumentAiDocumentSchemaP\001Z" - + "Dgoogle.golang.org/genproto/googleapis/c" - + "loud/documentai/v1;documentai\252\002\032Google.C" - + "loud.DocumentAI.V1\312\002\032Google\\Cloud\\Docume" - + "ntAI\\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_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/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 fe83bc6da090..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Copyright 2020 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_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\032\037google/protobuf/timestamp." - + "proto\"\220\006\n\020ProcessorVersion\022\014\n\004name\030\001 \001(\t" - + "\022\024\n\014display_name\030\002 \001(\t\022A\n\005state\030\006 \001(\01622." - + "google.cloud.documentai.v1.ProcessorVers" - + "ion.State\022/\n\013create_time\030\007 \001(\0132\032.google." - + "protobuf.Timestamp\022\024\n\014kms_key_name\030\t \001(\t" - + "\022\034\n\024kms_key_version_name\030\n \001(\t\022\026\n\016google" - + "_managed\030\013 \001(\010\022V\n\020deprecation_info\030\r \001(\013" - + "2<.google.cloud.documentai.v1.ProcessorV" - + "ersion.DeprecationInfo\032\237\001\n\017DeprecationIn" - + "fo\0224\n\020deprecation_time\030\001 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022V\n\035replacement_processo" - + "r_version\030\002 \001(\tB/\372A,\n*documentai.googlea" - + "pis.com/ProcessorVersion\"\204\001\n\005State\022\025\n\021ST" - + "ATE_UNSPECIFIED\020\000\022\014\n\010DEPLOYED\020\001\022\r\n\tDEPLO" - + "YING\020\002\022\016\n\nUNDEPLOYED\020\003\022\017\n\013UNDEPLOYING\020\004\022" - + "\014\n\010CREATING\020\005\022\014\n\010DELETING\020\006\022\n\n\006FAILED\020\007:" - + "\226\001\352A\222\001\n*documentai.googleapis.com/Proces" - + "sorVersion\022dprojects/{project}/locations" - + "/{location}/processors/{processor}/proce" - + "ssorVersions/{processor_version}\"\255\004\n\tPro" - + "cessor\022\024\n\004name\030\001 \001(\tB\006\340A\005\340A\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.documentai.v1.Processor.S" - + "tateB\003\340A\003\022R\n\031default_processor_version\030\t" - + " \001(\tB/\372A,\n*documentai.googleapis.com/Pro" - + "cessorVersion\022 \n\020process_endpoint\030\006 \001(\tB" - + "\006\340A\003\340A\005\022/\n\013create_time\030\007 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\"~" - + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007ENABLE" - + "D\020\001\022\014\n\010DISABLED\020\002\022\014\n\010ENABLING\020\003\022\r\n\tDISAB" - + "LING\020\004\022\014\n\010CREATING\020\005\022\n\n\006FAILED\020\006\022\014\n\010DELE" - + "TING\020\007:h\352Ae\n#documentai.googleapis.com/P" - + "rocessor\022>projects/{project}/locations/{" - + "location}/processors/{processor}B\327\001\n\036com" - + ".google.cloud.documentai.v1B\023DocumentAiP" - + "rocessorP\001ZDgoogle.golang.org/genproto/g" - + "oogleapis/cloud/documentai/v1;documentai" - + "\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Google\\C" - + "loud\\DocumentAI\\V1\352\002\035Google::Cloud::Docu" - + "mentAI::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.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", - "State", - "CreateTime", - "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_Processor_descriptor = - getDescriptor().getMessageTypes().get(1); - 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", - "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.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 dd8f7ce997b1..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java +++ /dev/null @@ -1,826 +0,0 @@ -/* - * Copyright 2020 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_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_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_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; - - 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\0323google/cloud/do" - + "cumentai/v1/operation_metadata.proto\032*go" - + "ogle/cloud/documentai/v1/processor.proto" - + "\032/google/cloud/documentai/v1/processor_t" - + "ype.proto\032#google/longrunning/operations" - + ".proto\032 google/protobuf/field_mask.proto" - + "\032\037google/protobuf/timestamp.proto\032\027googl" - + "e/rpc/status.proto\"\200\002\n\016ProcessRequest\022?\n" - + "\017inline_document\030\004 \001(\0132$.google.cloud.do" - + "cumentai.v1.DocumentH\000\022?\n\014raw_document\030\005" - + " \001(\0132\'.google.cloud.documentai.v1.RawDoc" - + "umentH\000\022\027\n\004name\030\001 \001(\tB\t\340A\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.protobuf.FieldMaskB\010\n\006source\"\356\001" - + "\n\021HumanReviewStatus\022B\n\005state\030\001 \001(\01623.goo" - + "gle.cloud.documentai.v1.HumanReviewStatu" - + "s.State\022\025\n\rstate_message\030\002 \001(\t\022\036\n\026human_" - + "review_operation\030\003 \001(\t\"^\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\013\n\007SKIPPED\020\001\022\025\n\021VALIDATIO" - + "N_PASSED\020\002\022\017\n\013IN_PROGRESS\020\003\022\t\n\005ERROR\020\004\"\225" - + "\001\n\017ProcessResponse\0226\n\010document\030\001 \001(\0132$.g" - + "oogle.cloud.documentai.v1.Document\022J\n\023hu" - + "man_review_status\030\003 \001(\0132-.google.cloud.d" - + "ocumentai.v1.HumanReviewStatus\"\353\001\n\023Batch" - + "ProcessRequest\022\027\n\004name\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022" - + "N\n\017input_documents\030\005 \001(\01325.google.cloud." - + "documentai.v1.BatchDocumentsInputConfig\022" - + "P\n\026document_output_config\030\006 \001(\01320.google" - + ".cloud.documentai.v1.DocumentOutputConfi" - + "g\022\031\n\021skip_human_review\030\004 \001(\010\"\026\n\024BatchPro" - + "cessResponse\"\377\004\n\024BatchProcessMetadata\022E\n" - + "\005state\030\001 \001(\01626.google.cloud.documentai.v" - + "1.BatchProcessMetadata.State\022\025\n\rstate_me" - + "ssage\030\002 \001(\t\022/\n\013create_time\030\003 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022/\n\013update_time\030\004 \001(" - + "\0132\032.google.protobuf.Timestamp\022m\n\033individ" - + "ual_process_statuses\030\005 \003(\0132H.google.clou" - + "d.documentai.v1.BatchProcessMetadata.Ind" - + "ividualProcessStatus\032\303\001\n\027IndividualProce" - + "ssStatus\022\030\n\020input_gcs_source\030\001 \001(\t\022\"\n\006st" - + "atus\030\002 \001(\0132\022.google.rpc.Status\022\036\n\026output" - + "_gcs_destination\030\003 \001(\t\022J\n\023human_review_s" - + "tatus\030\005 \001(\0132-.google.cloud.documentai.v1" - + ".HumanReviewStatus\"r\n\005State\022\025\n\021STATE_UNS" - + "PECIFIED\020\000\022\013\n\007WAITING\020\001\022\013\n\007RUNNING\020\002\022\r\n\t" - + "SUCCEEDED\020\003\022\016\n\nCANCELLING\020\004\022\r\n\tCANCELLED" - + "\020\005\022\n\n\006FAILED\020\006\"]\n\032FetchProcessorTypesReq" - + "uest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'documentai" - + ".googleapis.com/ProcessorType\"a\n\033FetchPr" - + "ocessorTypesResponse\022B\n\017processor_types\030" - + "\001 \003(\0132).google.cloud.documentai.v1.Proce" - + "ssorType\"\203\001\n\031ListProcessorTypesRequest\022?" - + "\n\006parent\030\001 \001(\tB/\340A\002\372A)\022\'documentai.googl" - + "eapis.com/ProcessorType\022\021\n\tpage_size\030\002 \001" - + "(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\032ListProcessorT" - + "ypesResponse\022B\n\017processor_types\030\001 \003(\0132)." - + "google.cloud.documentai.v1.ProcessorType" - + "\022\027\n\017next_page_token\030\002 \001(\t\"{\n\025ListProcess" - + "orsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#docu" - + "mentai.googleapis.com/Processor\022\021\n\tpage_" - + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"l\n\026ListPr" - + "ocessorsResponse\0229\n\nprocessors\030\001 \003(\0132%.g" - + "oogle.cloud.documentai.v1.Processor\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\"P\n\023GetProcessorRequ" - + "est\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#documentai.go" - + "ogleapis.com/Processor\"^\n\032GetProcessorVe" - + "rsionRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*docu" - + "mentai.googleapis.com/ProcessorVersion\"\211" - + "\001\n\034ListProcessorVersionsRequest\022B\n\006paren" - + "t\030\001 \001(\tB2\340A\002\372A,\022*documentai.googleapis.c" - + "om/ProcessorVersion\022\021\n\tpage_size\030\002 \001(\005\022\022" - + "\n\npage_token\030\003 \001(\t\"\202\001\n\035ListProcessorVers" - + "ionsResponse\022H\n\022processor_versions\030\001 \003(\013" - + "2,.google.cloud.documentai.v1.ProcessorV" - + "ersion\022\027\n\017next_page_token\030\002 \001(\t\"a\n\035Delet" - + "eProcessorVersionRequest\022@\n\004name\030\001 \001(\tB2" - + "\340A\002\372A,\n*documentai.googleapis.com/Proces" - + "sorVersion\"n\n\036DeleteProcessorVersionMeta" - + "data\022L\n\017common_metadata\030\001 \001(\01323.google.c" - + "loud.documentai.v1.CommonOperationMetada" - + "ta\"a\n\035DeployProcessorVersionRequest\022@\n\004n" - + "ame\030\001 \001(\tB2\340A\002\372A,\n*documentai.googleapis" - + ".com/ProcessorVersion\" \n\036DeployProcessor" - + "VersionResponse\"n\n\036DeployProcessorVersio" - + "nMetadata\022L\n\017common_metadata\030\001 \001(\01323.goo" - + "gle.cloud.documentai.v1.CommonOperationM" - + "etadata\"c\n\037UndeployProcessorVersionReque" - + "st\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*documentai.goo" - + "gleapis.com/ProcessorVersion\"\"\n Undeploy" - + "ProcessorVersionResponse\"p\n UndeployProc" - + "essorVersionMetadata\022L\n\017common_metadata\030" - + "\001 \001(\01323.google.cloud.documentai.v1.Commo" - + "nOperationMetadata\"\224\001\n\026CreateProcessorRe" - + "quest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#documenta" - + "i.googleapis.com/Processor\022=\n\tprocessor\030" - + "\002 \001(\0132%.google.cloud.documentai.v1.Proce" - + "ssorB\003\340A\002\"S\n\026DeleteProcessorRequest\0229\n\004n" - + "ame\030\001 \001(\tB+\340A\002\372A%\n#documentai.googleapis" - + ".com/Processor\"g\n\027DeleteProcessorMetadat" - + "a\022L\n\017common_metadata\030\005 \001(\01323.google.clou" - + "d.documentai.v1.CommonOperationMetadata\"" - + "S\n\026EnableProcessorRequest\0229\n\004name\030\001 \001(\tB" - + "+\340A\002\372A%\n#documentai.googleapis.com/Proce" - + "ssor\"\031\n\027EnableProcessorResponse\"g\n\027Enabl" - + "eProcessorMetadata\022L\n\017common_metadata\030\005 " - + "\001(\01323.google.cloud.documentai.v1.CommonO" - + "perationMetadata\"T\n\027DisableProcessorRequ" - + "est\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#documentai.go" - + "ogleapis.com/Processor\"\032\n\030DisableProcess" - + "orResponse\"h\n\030DisableProcessorMetadata\022L" - + "\n\017common_metadata\030\005 \001(\01323.google.cloud.d" - + "ocumentai.v1.CommonOperationMetadata\"\272\001\n" - + "!SetDefaultProcessorVersionRequest\022>\n\tpr" - + "ocessor\030\001 \001(\tB+\340A\002\372A%\n#documentai.google" - + "apis.com/Processor\022U\n\031default_processor_" - + "version\030\002 \001(\tB2\340A\002\372A,\n*documentai.google" - + "apis.com/ProcessorVersion\"$\n\"SetDefaultP" - + "rocessorVersionResponse\"r\n\"SetDefaultPro" - + "cessorVersionMetadata\022L\n\017common_metadata" - + "\030\001 \001(\01323.google.cloud.documentai.v1.Comm" - + "onOperationMetadata\"\216\003\n\025ReviewDocumentRe" - + "quest\022?\n\017inline_document\030\004 \001(\0132$.google." - + "cloud.documentai.v1.DocumentH\000\022P\n\023human_" - + "review_config\030\001 \001(\tB3\340A\002\372A-\n+documentai." - + "googleapis.com/HumanReviewConfig\022 \n\030enab" - + "le_schema_validation\030\003 \001(\010\022L\n\010priority\030\005" - + " \001(\0162:.google.cloud.documentai.v1.Review" - + "DocumentRequest.Priority\022C\n\017document_sch" - + "ema\030\006 \001(\0132*.google.cloud.documentai.v1.D" - + "ocumentSchema\"#\n\010Priority\022\013\n\007DEFAULT\020\000\022\n" - + "\n\006URGENT\020\001B\010\n\006source\"\321\001\n\026ReviewDocumentR" - + "esponse\022\027\n\017gcs_destination\030\001 \001(\t\022G\n\005stat" - + "e\030\002 \001(\01628.google.cloud.documentai.v1.Rev" - + "iewDocumentResponse.State\022\030\n\020rejection_r" - + "eason\030\003 \001(\t\";\n\005State\022\025\n\021STATE_UNSPECIFIE" - + "D\020\000\022\014\n\010REJECTED\020\001\022\r\n\tSUCCEEDED\020\002\"\204\001\n\037Rev" - + "iewDocumentOperationMetadata\022L\n\017common_m" - + "etadata\030\005 \001(\01323.google.cloud.documentai." - + "v1.CommonOperationMetadata\022\023\n\013question_i" - + "d\030\006 \001(\t2\310 \n\030DocumentProcessorService\022\207\002\n" - + "\017ProcessDocument\022*.google.cloud.document" - + "ai.v1.ProcessRequest\032+.google.cloud.docu" - + "mentai.v1.ProcessResponse\"\232\001\202\323\344\223\002\214\001\"6/v1" - + "/{name=projects/*/locations/*/processors" - + "/*}:process:\001*ZO\"J/v1/{name=projects/*/l" - + "ocations/*/processors/*/processorVersion" - + "s/*}:process:\001*\332A\004name\022\275\002\n\025BatchProcessD" - + "ocuments\022/.google.cloud.documentai.v1.Ba" - + "tchProcessRequest\032\035.google.longrunning.O" - + "peration\"\323\001\202\323\344\223\002\226\001\";/v1/{name=projects/*" - + "/locations/*/processors/*}:batchProcess:" - + "\001*ZT\"O/v1/{name=projects/*/locations/*/p" - + "rocessors/*/processorVersions/*}:batchPr" - + "ocess:\001*\332A\004name\312A,\n\024BatchProcessResponse" - + "\022\024BatchProcessMetadata\022\320\001\n\023FetchProcesso" - + "rTypes\0226.google.cloud.documentai.v1.Fetc" - + "hProcessorTypesRequest\0327.google.cloud.do" - + "cumentai.v1.FetchProcessorTypesResponse\"" - + "H\202\323\344\223\0029\0227/v1/{parent=projects/*/location" - + "s/*}:fetchProcessorTypes\332A\006parent\022\310\001\n\022Li" - + "stProcessorTypes\0225.google.cloud.document" - + "ai.v1.ListProcessorTypesRequest\0326.google" - + ".cloud.documentai.v1.ListProcessorTypesR" - + "esponse\"C\202\323\344\223\0024\0222/v1/{parent=projects/*/" - + "locations/*}/processorTypes\332A\006parent\022\270\001\n" - + "\016ListProcessors\0221.google.cloud.documenta" - + "i.v1.ListProcessorsRequest\0322.google.clou" - + "d.documentai.v1.ListProcessorsResponse\"?" - + "\202\323\344\223\0020\022./v1/{parent=projects/*/locations" - + "/*}/processors\332A\006parent\022\245\001\n\014GetProcessor" - + "\022/.google.cloud.documentai.v1.GetProcess" - + "orRequest\032%.google.cloud.documentai.v1.P" - + "rocessor\"=\202\323\344\223\0020\022./v1/{name=projects/*/l" - + "ocations/*/processors/*}\332A\004name\022\316\001\n\023GetP" - + "rocessorVersion\0226.google.cloud.documenta" - + "i.v1.GetProcessorVersionRequest\032,.google" - + ".cloud.documentai.v1.ProcessorVersion\"Q\202" - + "\323\344\223\002D\022B/v1/{name=projects/*/locations/*/" - + "processors/*/processorVersions/*}\332A\004name" - + "\022\341\001\n\025ListProcessorVersions\0228.google.clou" - + "d.documentai.v1.ListProcessorVersionsReq" - + "uest\0329.google.cloud.documentai.v1.ListPr" - + "ocessorVersionsResponse\"S\202\323\344\223\002D\022B/v1/{pa" - + "rent=projects/*/locations/*/processors/*" - + "}/processorVersions\332A\006parent\022\200\002\n\026DeleteP" - + "rocessorVersion\0229.google.cloud.documenta" - + "i.v1.DeleteProcessorVersionRequest\032\035.goo" - + "gle.longrunning.Operation\"\213\001\202\323\344\223\002D*B/v1/" - + "{name=projects/*/locations/*/processors/" - + "*/processorVersions/*}\332A\004name\312A7\n\025google" - + ".protobuf.Empty\022\036DeleteProcessorVersionM" - + "etadata\022\223\002\n\026DeployProcessorVersion\0229.goo" - + "gle.cloud.documentai.v1.DeployProcessorV" - + "ersionRequest\032\035.google.longrunning.Opera" - + "tion\"\236\001\202\323\344\223\002N\"I/v1/{name=projects/*/loca" - + "tions/*/processors/*/processorVersions/*" - + "}:deploy:\001*\332A\004name\312A@\n\036DeployProcessorVe" - + "rsionResponse\022\036DeployProcessorVersionMet" - + "adata\022\235\002\n\030UndeployProcessorVersion\022;.goo" - + "gle.cloud.documentai.v1.UndeployProcesso" - + "rVersionRequest\032\035.google.longrunning.Ope" - + "ration\"\244\001\202\323\344\223\002P\"K/v1/{name=projects/*/lo" - + "cations/*/processors/*/processorVersions" - + "/*}:undeploy:\001*\332A\004name\312AD\n UndeployProce" - + "ssorVersionResponse\022 UndeployProcessorVe" - + "rsionMetadata\022\302\001\n\017CreateProcessor\0222.goog" - + "le.cloud.documentai.v1.CreateProcessorRe" - + "quest\032%.google.cloud.documentai.v1.Proce" - + "ssor\"T\202\323\344\223\002;\"./v1/{parent=projects/*/loc" - + "ations/*}/processors:\tprocessor\332A\020parent" - + ",processor\022\326\001\n\017DeleteProcessor\0222.google." - + "cloud.documentai.v1.DeleteProcessorReque" - + "st\032\035.google.longrunning.Operation\"p\202\323\344\223\002" - + "0*./v1/{name=projects/*/locations/*/proc" - + "essors/*}\332A\004name\312A0\n\025google.protobuf.Emp" - + "ty\022\027DeleteProcessorMetadata\022\333\001\n\017EnablePr" - + "ocessor\0222.google.cloud.documentai.v1.Ena" - + "bleProcessorRequest\032\035.google.longrunning" - + ".Operation\"u\202\323\344\223\002:\"5/v1/{name=projects/*" - + "/locations/*/processors/*}:enable:\001*\312A2\n" - + "\027EnableProcessorResponse\022\027EnableProcesso" - + "rMetadata\022\340\001\n\020DisableProcessor\0223.google." - + "cloud.documentai.v1.DisableProcessorRequ" - + "est\032\035.google.longrunning.Operation\"x\202\323\344\223" - + "\002;\"6/v1/{name=projects/*/locations/*/pro" - + "cessors/*}:disable:\001*\312A4\n\030DisableProcess" - + "orResponse\022\030DisableProcessorMetadata\022\241\002\n" - + "\032SetDefaultProcessorVersion\022=.google.clo" - + "ud.documentai.v1.SetDefaultProcessorVers" - + "ionRequest\032\035.google.longrunning.Operatio" - + "n\"\244\001\202\323\344\223\002S\"N/v1/{processor=projects/*/lo" - + "cations/*/processors/*}:setDefaultProces" - + "sorVersion:\001*\312AH\n\"SetDefaultProcessorVer" - + "sionResponse\022\"SetDefaultProcessorVersion" - + "Metadata\022\240\002\n\016ReviewDocument\0221.google.clo" - + "ud.documentai.v1.ReviewDocumentRequest\032\035" - + ".google.longrunning.Operation\"\273\001\202\323\344\223\002c\"^" - + "/v1/{human_review_config=projects/*/loca" - + "tions/*/processors/*/humanReviewConfig}:" - + "reviewDocument:\001*\332A\023human_review_config\312" - + "A9\n\026ReviewDocumentResponse\022\037ReviewDocume" - + "ntOperationMetadata\032M\312A\031documentai.googl" - + "eapis.com\322A.https://www.googleapis.com/a" - + "uth/cloud-platformB\260\003\n\036com.google.cloud." - + "documentai.v1B\032DocumentAiProcessorServic" - + "eP\001ZDgoogle.golang.org/genproto/googleap" - + "is/cloud/documentai/v1;documentai\252\002\032Goog" - + "le.Cloud.DocumentAI.V1\312\002\032Google\\Cloud\\Do" - + "cumentAI\\V1\352\002\035Google::Cloud::DocumentAI:" - + ":V1\352A\177\n+documentai.googleapis.com/HumanR" - + "eviewConfig\022Pprojects/{project}/location" - + "s/{location}/processors/{processor}/huma" - + "nReviewConfig\352AM\n\"documentai.googleapis." - + "com/Location\022\'projects/{project}/locatio" - + "ns/{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.v1.DocumentProto.getDescriptor(), - com.google.cloud.documentai.v1.DocumentIoProto.getDescriptor(), - com.google.cloud.documentai.v1.DocumentAiDocumentSchema.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.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1_ProcessRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - 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", "Name", "SkipHumanReview", "FieldMask", "Source", - }); - internal_static_google_cloud_documentai_v1_HumanReviewStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - 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(2); - 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(3); - 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", - }); - internal_static_google_cloud_documentai_v1_BatchProcessResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - 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(5); - 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(6); - 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(7); - 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(8); - 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(9); - 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(10); - 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(11); - 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_GetProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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_ReviewDocumentRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - 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(37); - 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(38); - 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", - }); - 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.OperationMetadataProto.getDescriptor(); - com.google.cloud.documentai.v1.DocumentAiProcessor.getDescriptor(); - com.google.cloud.documentai.v1.DocumentAiProcessorType.getDescriptor(); - com.google.longrunning.OperationsProto.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 68ffba2a1b0a..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2020 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\"\365\002\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\032#\n\014L" - + "ocationInfo\022\023\n\013location_id\030\001 \001(\t:u\352Ar\n\'d" - + "ocumentai.googleapis.com/ProcessorType\022G" - + "projects/{project}/locations/{location}/" - + "processorTypes/{processor_type}B\333\001\n\036com." - + "google.cloud.documentai.v1B\027DocumentAiPr" - + "ocessorTypeP\001ZDgoogle.golang.org/genprot" - + "o/googleapis/cloud/documentai/v1;documen" - + "tai\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Googl" - + "e\\Cloud\\DocumentAI\\V1\352\002\035Google::Cloud::D" - + "ocumentAI::V1b\006proto3" - }; - 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", - }); - 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 ae3b00d31a22..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Copyright 2020 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; - - 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\"1\n\013Ra" - + "wDocument\022\017\n\007content\030\001 \001(\014\022\021\n\tmime_type\030" - + "\002 \001(\t\"1\n\013GcsDocument\022\017\n\007gcs_uri\030\001 \001(\t\022\021\n" - + "\tmime_type\030\002 \001(\t\"J\n\014GcsDocuments\022:\n\tdocu" - + "ments\030\001 \003(\0132\'.google.cloud.documentai.v1" - + ".GcsDocument\"#\n\tGcsPrefix\022\026\n\016gcs_uri_pre" - + "fix\030\001 \001(\t\"\245\001\n\031BatchDocumentsInputConfig\022" - + ";\n\ngcs_prefix\030\001 \001(\0132%.google.cloud.docum" - + "entai.v1.GcsPrefixH\000\022A\n\rgcs_documents\030\002 " - + "\001(\0132(.google.cloud.documentai.v1.GcsDocu" - + "mentsH\000B\010\n\006source\"\250\001\n\024DocumentOutputConf" - + "ig\022]\n\021gcs_output_config\030\001 \001(\0132@.google.c" - + "loud.documentai.v1.DocumentOutputConfig." - + "GcsOutputConfigH\000\032\"\n\017GcsOutputConfig\022\017\n\007" - + "gcs_uri\030\001 \001(\tB\r\n\013destinationB\323\001\n\036com.goo" - + "gle.cloud.documentai.v1B\017DocumentIoProto" - + "P\001ZDgoogle.golang.org/genproto/googleapi" - + "s/cloud/documentai/v1;documentai\252\002\032Googl" - + "e.Cloud.DocumentAI.V1\312\002\032Google\\Cloud\\Doc" - + "umentAI\\V1\352\002\035Google::Cloud::DocumentAI::" - + "V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - 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", - }); - 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", - }); - } - - // @@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 c65a6f017d2f..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java +++ /dev/null @@ -1,787 +0,0 @@ -/* - * Copyright 2020 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_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_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\"\230>\n\010Document\022\022\n\003" - + "uri\030\001 \001(\tB\003\340A\001H\000\022\026\n\007content\030\002 \001(\014B\003\340A\001H\000" - + "\022\021\n\tmime_type\030\003 \001(\t\022\021\n\004text\030\004 \001(\tB\003\340A\001\022?" - + "\n\013text_styles\030\005 \003(\0132*.google.cloud.docum" - + "entai.v1.Document.Style\0228\n\005pages\030\006 \003(\0132)" - + ".google.cloud.documentai.v1.Document.Pag" - + "e\022=\n\010entities\030\007 \003(\0132+.google.cloud.docum" - + "entai.v1.Document.Entity\022M\n\020entity_relat" - + "ions\030\010 \003(\01323.google.cloud.documentai.v1." - + "Document.EntityRelation\022E\n\014text_changes\030" - + "\016 \003(\0132/.google.cloud.documentai.v1.Docum" - + "ent.TextChange\022B\n\nshard_info\030\t \001(\0132..goo" - + "gle.cloud.documentai.v1.Document.ShardIn" - + "fo\022!\n\005error\030\n \001(\0132\022.google.rpc.Status\022@\n" - + "\trevisions\030\r \003(\0132-.google.cloud.document" - + "ai.v1.Document.Revision\032J\n\tShardInfo\022\023\n\013" - + "shard_index\030\001 \001(\003\022\023\n\013shard_count\030\002 \001(\003\022\023" - + "\n\013text_offset\030\003 \001(\003\032\320\002\n\005Style\022D\n\013text_an" - + "chor\030\001 \001(\0132/.google.cloud.documentai.v1." - + "Document.TextAnchor\022!\n\005color\030\002 \001(\0132\022.goo" - + "gle.type.Color\022,\n\020background_color\030\003 \001(\013" - + "2\022.google.type.Color\022\023\n\013font_weight\030\004 \001(" - + "\t\022\022\n\ntext_style\030\005 \001(\t\022\027\n\017text_decoration" - + "\030\006 \001(\t\022F\n\tfont_size\030\007 \001(\01323.google.cloud" - + ".documentai.v1.Document.Style.FontSize\032&" - + "\n\010FontSize\022\014\n\004size\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\214" - + "#\n\004Page\022\023\n\013page_number\030\001 \001(\005\022>\n\005image\030\r " - + "\001(\0132/.google.cloud.documentai.v1.Documen" - + "t.Page.Image\022D\n\ntransforms\030\016 \003(\01320.googl" - + "e.cloud.documentai.v1.Document.Page.Matr" - + "ix\022F\n\tdimension\030\002 \001(\01323.google.cloud.doc" - + "umentai.v1.Document.Page.Dimension\022@\n\006la" - + "yout\030\003 \001(\01320.google.cloud.documentai.v1." - + "Document.Page.Layout\022V\n\022detected_languag" - + "es\030\004 \003(\0132:.google.cloud.documentai.v1.Do" - + "cument.Page.DetectedLanguage\022?\n\006blocks\030\005" - + " \003(\0132/.google.cloud.documentai.v1.Docume" - + "nt.Page.Block\022G\n\nparagraphs\030\006 \003(\01323.goog" - + "le.cloud.documentai.v1.Document.Page.Par" - + "agraph\022=\n\005lines\030\007 \003(\0132..google.cloud.doc" - + "umentai.v1.Document.Page.Line\022?\n\006tokens\030" - + "\010 \003(\0132/.google.cloud.documentai.v1.Docum" - + "ent.Page.Token\022P\n\017visual_elements\030\t \003(\0132" - + "7.google.cloud.documentai.v1.Document.Pa" - + "ge.VisualElement\022?\n\006tables\030\n \003(\0132/.googl" - + "e.cloud.documentai.v1.Document.Page.Tabl" - + "e\022H\n\013form_fields\030\013 \003(\01323.google.cloud.do" - + "cumentai.v1.Document.Page.FormField\022A\n\007s" - + "ymbols\030\014 \003(\01320.google.cloud.documentai.v" - + "1.Document.Page.Symbol\022T\n\021detected_barco" - + "des\030\017 \003(\01329.google.cloud.documentai.v1.D" - + "ocument.Page.DetectedBarcode\022C\n\nprovenan" - + "ce\030\020 \001(\0132/.google.cloud.documentai.v1.Do" - + "cument.Provenance\0328\n\tDimension\022\r\n\005width\030" - + "\001 \001(\002\022\016\n\006height\030\002 \001(\002\022\014\n\004unit\030\003 \001(\t\032J\n\005I" - + "mage\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\006Matri" - + "x\022\014\n\004rows\030\001 \001(\005\022\014\n\004cols\030\002 \001(\005\022\014\n\004type\030\003 " - + "\001(\005\022\014\n\004data\030\004 \001(\014\032\335\002\n\006Layout\022D\n\013text_anc" - + "hor\030\001 \001(\0132/.google.cloud.documentai.v1.D" - + "ocument.TextAnchor\022\022\n\nconfidence\030\002 \001(\002\022?" - + "\n\rbounding_poly\030\003 \001(\0132(.google.cloud.doc" - + "umentai.v1.BoundingPoly\022Q\n\013orientation\030\004" - + " \001(\0162<.google.cloud.documentai.v1.Docume" - + "nt.Page.Layout.Orientation\"e\n\013Orientatio" - + "n\022\033\n\027ORIENTATION_UNSPECIFIED\020\000\022\013\n\007PAGE_U" - + "P\020\001\022\016\n\nPAGE_RIGHT\020\002\022\r\n\tPAGE_DOWN\020\003\022\r\n\tPA" - + "GE_LEFT\020\004\032\346\001\n\005Block\022@\n\006layout\030\001 \001(\01320.go" - + "ogle.cloud.documentai.v1.Document.Page.L" - + "ayout\022V\n\022detected_languages\030\002 \003(\0132:.goog" - + "le.cloud.documentai.v1.Document.Page.Det" - + "ectedLanguage\022C\n\nprovenance\030\003 \001(\0132/.goog" - + "le.cloud.documentai.v1.Document.Provenan" - + "ce\032\352\001\n\tParagraph\022@\n\006layout\030\001 \001(\01320.googl" - + "e.cloud.documentai.v1.Document.Page.Layo" - + "ut\022V\n\022detected_languages\030\002 \003(\0132:.google." - + "cloud.documentai.v1.Document.Page.Detect" - + "edLanguage\022C\n\nprovenance\030\003 \001(\0132/.google." - + "cloud.documentai.v1.Document.Provenance\032" - + "\345\001\n\004Line\022@\n\006layout\030\001 \001(\01320.google.cloud." - + "documentai.v1.Document.Page.Layout\022V\n\022de" - + "tected_languages\030\002 \003(\0132:.google.cloud.do" - + "cumentai.v1.Document.Page.DetectedLangua" - + "ge\022C\n\nprovenance\030\003 \001(\0132/.google.cloud.do" - + "cumentai.v1.Document.Provenance\032\346\003\n\005Toke" - + "n\022@\n\006layout\030\001 \001(\01320.google.cloud.documen" - + "tai.v1.Document.Page.Layout\022U\n\016detected_" - + "break\030\002 \001(\0132=.google.cloud.documentai.v1" - + ".Document.Page.Token.DetectedBreak\022V\n\022de" - + "tected_languages\030\003 \003(\0132:.google.cloud.do" - + "cumentai.v1.Document.Page.DetectedLangua" - + "ge\022C\n\nprovenance\030\004 \001(\0132/.google.cloud.do" - + "cumentai.v1.Document.Provenance\032\246\001\n\rDete" - + "ctedBreak\022P\n\004type\030\001 \001(\0162B.google.cloud.d" - + "ocumentai.v1.Document.Page.Token.Detecte" - + "dBreak.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\242\001\n\006Symbol\022@\n\006layout\030\001 \001(\01320.google.clo" - + "ud.documentai.v1.Document.Page.Layout\022V\n" - + "\022detected_languages\030\002 \003(\0132:.google.cloud" - + ".documentai.v1.Document.Page.DetectedLan" - + "guage\032\267\001\n\rVisualElement\022@\n\006layout\030\001 \001(\0132" - + "0.google.cloud.documentai.v1.Document.Pa" - + "ge.Layout\022\014\n\004type\030\002 \001(\t\022V\n\022detected_lang" - + "uages\030\003 \003(\0132:.google.cloud.documentai.v1" - + ".Document.Page.DetectedLanguage\032\337\004\n\005Tabl" - + "e\022@\n\006layout\030\001 \001(\01320.google.cloud.documen" - + "tai.v1.Document.Page.Layout\022M\n\013header_ro" - + "ws\030\002 \003(\01328.google.cloud.documentai.v1.Do" - + "cument.Page.Table.TableRow\022K\n\tbody_rows\030" - + "\003 \003(\01328.google.cloud.documentai.v1.Docum" - + "ent.Page.Table.TableRow\022V\n\022detected_lang" - + "uages\030\004 \003(\0132:.google.cloud.documentai.v1" - + ".Document.Page.DetectedLanguage\032T\n\010Table" - + "Row\022H\n\005cells\030\001 \003(\01329.google.cloud.docume" - + "ntai.v1.Document.Page.Table.TableCell\032\311\001" - + "\n\tTableCell\022@\n\006layout\030\001 \001(\01320.google.clo" - + "ud.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\022det" - + "ected_languages\030\004 \003(\0132:.google.cloud.doc" - + "umentai.v1.Document.Page.DetectedLanguag" - + "e\032\346\003\n\tFormField\022D\n\nfield_name\030\001 \001(\01320.go" - + "ogle.cloud.documentai.v1.Document.Page.L" - + "ayout\022E\n\013field_value\030\002 \001(\01320.google.clou" - + "d.documentai.v1.Document.Page.Layout\022[\n\027" - + "name_detected_languages\030\003 \003(\0132:.google.c" - + "loud.documentai.v1.Document.Page.Detecte" - + "dLanguage\022\\\n\030value_detected_languages\030\004 " - + "\003(\0132:.google.cloud.documentai.v1.Documen" - + "t.Page.DetectedLanguage\022\022\n\nvalue_type\030\005 " - + "\001(\t\022\032\n\022corrected_key_text\030\006 \001(\t\022\034\n\024corre" - + "cted_value_text\030\007 \001(\t\022C\n\nprovenance\030\010 \001(" - + "\0132/.google.cloud.documentai.v1.Document." - + "Provenance\032\211\001\n\017DetectedBarcode\022@\n\006layout" - + "\030\001 \001(\01320.google.cloud.documentai.v1.Docu" - + "ment.Page.Layout\0224\n\007barcode\030\002 \001(\0132#.goog" - + "le.cloud.documentai.v1.Barcode\032=\n\020Detect" - + "edLanguage\022\025\n\rlanguage_code\030\001 \001(\t\022\022\n\ncon" - + "fidence\030\002 \001(\002\032\320\006\n\006Entity\022I\n\013text_anchor\030" - + "\001 \001(\0132/.google.cloud.documentai.v1.Docum" - + "ent.TextAnchorB\003\340A\001\022\021\n\004type\030\002 \001(\tB\003\340A\002\022\031" - + "\n\014mention_text\030\003 \001(\tB\003\340A\001\022\027\n\nmention_id\030" - + "\004 \001(\tB\003\340A\001\022\027\n\nconfidence\030\005 \001(\002B\003\340A\001\022I\n\013p" - + "age_anchor\030\006 \001(\0132/.google.cloud.document" - + "ai.v1.Document.PageAnchorB\003\340A\001\022\017\n\002id\030\007 \001" - + "(\tB\003\340A\001\022Z\n\020normalized_value\030\t \001(\0132;.goog" - + "le.cloud.documentai.v1.Document.Entity.N" - + "ormalizedValueB\003\340A\001\022D\n\nproperties\030\n \003(\0132" - + "+.google.cloud.documentai.v1.Document.En" - + "tityB\003\340A\001\022H\n\nprovenance\030\013 \001(\0132/.google.c" - + "loud.documentai.v1.Document.ProvenanceB\003" - + "\340A\001\022\025\n\010redacted\030\014 \001(\010B\003\340A\001\032\273\002\n\017Normalize" - + "dValue\022)\n\013money_value\030\002 \001(\0132\022.google.typ" - + "e.MoneyH\000\022\'\n\ndate_value\030\003 \001(\0132\021.google.t" - + "ype.DateH\000\022/\n\016datetime_value\030\004 \001(\0132\025.goo" - + "gle.type.DateTimeH\000\0223\n\raddress_value\030\005 \001" - + "(\0132\032.google.type.PostalAddressH\000\022\027\n\rbool" - + "ean_value\030\006 \001(\010H\000\022\027\n\rinteger_value\030\007 \001(\005" - + "H\000\022\025\n\013float_value\030\010 \001(\002H\000\022\021\n\004text\030\001 \001(\tB" - + "\003\340A\001B\022\n\020structured_value\032I\n\016EntityRelati" - + "on\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\rte" - + "xt_segments\030\001 \003(\0132;.google.cloud.documen" - + "tai.v1.Document.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\330\003\n\nPageA" - + "nchor\022J\n\tpage_refs\030\001 \003(\01327.google.cloud." - + "documentai.v1.Document.PageAnchor.PageRe" - + "f\032\375\002\n\007PageRef\022\021\n\004page\030\001 \001(\003B\003\340A\002\022\\\n\013layo" - + "ut_type\030\002 \001(\0162B.google.cloud.documentai." - + "v1.Document.PageAnchor.PageRef.LayoutTyp" - + "eB\003\340A\001\022\030\n\tlayout_id\030\003 \001(\tB\005\030\001\340A\001\022D\n\rboun" - + "ding_poly\030\004 \001(\0132(.google.cloud.documenta" - + "i.v1.BoundingPolyB\003\340A\001\022\027\n\nconfidence\030\005 \001" - + "(\002B\003\340A\001\"\207\001\n\nLayoutType\022\033\n\027LAYOUT_TYPE_UN" - + "SPECIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n" - + "\004LINE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_ELEMENT\020\005\022\t" - + "\n\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007\032\214\003\n\nProvenance" - + "\022\020\n\010revision\030\001 \001(\005\022\016\n\002id\030\002 \001(\005B\002\030\001\022G\n\007pa" - + "rents\030\003 \003(\01326.google.cloud.documentai.v1" - + ".Document.Provenance.Parent\022K\n\004type\030\004 \001(" - + "\0162=.google.cloud.documentai.v1.Document." - + "Provenance.OperationType\0329\n\006Parent\022\020\n\010re" - + "vision\030\001 \001(\005\022\r\n\005index\030\003 \001(\005\022\016\n\002id\030\002 \001(\005B" - + "\002\030\001\"\212\001\n\rOperationType\022\036\n\032OPERATION_TYPE_" - + "UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n\007RE" - + "PLACE\020\003\022\022\n\016EVAL_REQUESTED\020\004\022\021\n\rEVAL_APPR" - + "OVED\020\005\022\020\n\014EVAL_SKIPPED\020\006\032\245\002\n\010Revision\022\017\n" - + "\005agent\030\004 \001(\tH\000\022\023\n\tprocessor\030\005 \001(\tH\000\022\n\n\002i" - + "d\030\001 \001(\t\022\022\n\006parent\030\002 \003(\005B\002\030\001\022\022\n\nparent_id" - + "s\030\007 \003(\t\022/\n\013create_time\030\003 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022O\n\014human_review\030\006 \001(\01329" - + ".google.cloud.documentai.v1.Document.Rev" - + "ision.HumanReview\0323\n\013HumanReview\022\r\n\005stat" - + "e\030\001 \001(\t\022\025\n\rstate_message\030\002 \001(\tB\010\n\006source" - + "\032\255\001\n\nTextChange\022D\n\013text_anchor\030\001 \001(\0132/.g" - + "oogle.cloud.documentai.v1.Document.TextA" - + "nchor\022\024\n\014changed_text\030\002 \001(\t\022C\n\nprovenanc" - + "e\030\003 \003(\0132/.google.cloud.documentai.v1.Doc" - + "ument.ProvenanceB\010\n\006sourceB\321\001\n\036com.googl" - + "e.cloud.documentai.v1B\rDocumentProtoP\001ZD" - + "google.golang.org/genproto/googleapis/cl" - + "oud/documentai/v1;documentai\252\002\032Google.Cl" - + "oud.DocumentAI.V1\312\002\032Google\\Cloud\\Documen" - + "tAI\\V1\352\002\035Google::Cloud::DocumentAI::V1b\006" - + "proto3" - }; - 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", - }); - 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", - "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", - }); - 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_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", - }); - 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_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 4203db2277b7..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 2020 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 2573fec38086..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 2020 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/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 4804da767112..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/FetchProcessorTypesRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 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 project of processor type to list.
-   * The available processor types may depend on the allow-listing on projects.
-   * 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 project of processor type to list.
-   * The available processor types may depend on the allow-listing on projects.
-   * 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 b7fe9258a26c..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 2020 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 0bc43038d0a4..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 2020 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\321\001\n\036com.google.cloud.documen" - + "tai.v1B\rGeometryProtoP\001ZDgoogle.golang.o" - + "rg/genproto/googleapis/cloud/documentai/" - + "v1;documentai\252\002\032Google.Cloud.DocumentAI." - + "V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035Google" - + "::Cloud::DocumentAI::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - 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/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 dea8bd9dcaab..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 2020 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/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 75e045b8bd3e..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 2020 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 bba4e87e3e11..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 2020 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 8b6c56dfc7d7..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 2020 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\332\001\n\036com.google.cloud." - + "documentai.v1B\026OperationMetadataProtoP\001Z" - + "Dgoogle.golang.org/genproto/googleapis/c" - + "loud/documentai/v1;documentai\252\002\032Google.C" - + "loud.DocumentAI.V1\312\002\032Google\\Cloud\\Docume" - + "ntAI\\V1\352\002\035Google::Cloud::DocumentAI::V1b" - + "\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - 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 11236239a982..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 2020 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 651afabbb932..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 2020 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 48fa03e1a8f3..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 2020 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 08534b37d51c..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 2020 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 b79e4ed0e007..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 2020 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*.goo" - + "gle.cloud.documentai.v1beta1.OcrParams\"l" - + "\n\035BatchProcessDocumentsResponse\022K\n\trespo" - + "nses\030\001 \003(\01328.google.cloud.documentai.v1b" - + "eta1.ProcessDocumentResponse\"\243\001\n\027Process" - + "DocumentResponse\022B\n\014input_config\030\001 \001(\0132," - + ".google.cloud.documentai.v1beta1.InputCo" - + "nfig\022D\n\routput_config\030\002 \001(\0132-.google.clo" - + "ud.documentai.v1beta1.OutputConfig\"#\n\tOc" - + "rParams\022\026\n\016language_hints\030\001 \003(\t\"\253\001\n\025Tabl" - + "eExtractionParams\022\017\n\007enabled\030\001 \001(\010\022O\n\021ta" - + "ble_bound_hints\030\002 \003(\0132/.google.cloud.doc" - + "umentai.v1beta1.TableBoundHintB\003\340A\001\022\031\n\014h" - + "eader_hints\030\003 \003(\tB\003\340A\001\022\025\n\rmodel_version\030" - + "\004 \001(\t\"o\n\016TableBoundHint\022\030\n\013page_number\030\001" - + " \001(\005B\003\340A\001\022C\n\014bounding_box\030\002 \001(\0132-.google" - + ".cloud.documentai.v1beta1.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.v1beta1.KeyValuePairHin" - + "t\022\025\n\rmodel_version\030\003 \001(\t\"4\n\020KeyValuePair" - + "Hint\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\"q\n\013InputConfig\022" - + "@\n\ngcs_source\030\001 \001(\0132*.google.cloud.docum" - + "entai.v1beta1.GcsSourceH\000\022\026\n\tmime_type\030\002" - + " \001(\tB\003\340A\002B\010\n\006source\"\202\001\n\014OutputConfig\022J\n\017" - + "gcs_destination\030\001 \001(\0132/.google.cloud.doc" - + "umentai.v1beta1.GcsDestinationH\000\022\027\n\017page" - + "s_per_shard\030\002 \001(\005B\r\n\013destination\"\035\n\tGcsS" - + "ource\022\020\n\003uri\030\001 \001(\tB\003\340A\002\"\"\n\016GcsDestinatio" - + "n\022\020\n\003uri\030\001 \001(\tB\003\340A\002\"\307\002\n\021OperationMetadat" - + "a\022G\n\005state\030\001 \001(\01628.google.cloud.document" - + "ai.v1beta1.OperationMetadata.State\022\025\n\rst" - + "ate_message\030\002 \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\"p\n\005S" - + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010ACCEPTED\020" - + "\001\022\013\n\007WAITING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED" - + "\020\004\022\r\n\tCANCELLED\020\005\022\n\n\006FAILED\020\0062\254\003\n\034Docume" - + "ntUnderstandingService\022\274\002\n\025BatchProcessD" - + "ocuments\022=.google.cloud.documentai.v1bet" - + "a1.BatchProcessDocumentsRequest\032\035.google" - + ".longrunning.Operation\"\304\001\202\323\344\223\002~\"?/v1beta" - + "1/{parent=projects/*/locations/*}/docume" - + "nts:batchProcess:\001*Z8\"3/v1beta1/{parent=" - + "projects/*}/documents:batchProcess:\001*\332A\010" - + "requests\312A2\n\035BatchProcessDocumentsRespon" - + "se\022\021OperationMetadata\032M\312A\031documentai.goo" - + "gleapis.com\322A.https://www.googleapis.com" - + "/auth/cloud-platformB\354\001\n#com.google.clou" - + "d.documentai.v1beta1B\017DocumentAiProtoP\001Z" - + "Igoogle.golang.org/genproto/googleapis/c" - + "loud/documentai/v1beta1;documentai\252\002\037Goo" - + "gle.Cloud.DocumentAI.V1Beta1\312\002\037Google\\Cl" - + "oud\\DocumentAI\\V1beta1\352\002\"Google::Cloud::" - + "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 5f9bc91bcb8b..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 2020 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\"\377$\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" - + "\220\001\n\006Entity\022I\n\013text_anchor\030\001 \001(\01324.google" - + ".cloud.documentai.v1beta1.Document.TextA" - + "nchor\022\021\n\004type\030\002 \001(\tB\003\340A\002\022\024\n\014mention_text" - + "\030\003 \001(\t\022\022\n\nmention_id\030\004 \001(\t\032I\n\016EntityRela" - + "tion\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\r" - + "text_segments\030\001 \003(\0132@.google.cloud.docum" - + "entai.v1beta1.Document.TextAnchor.TextSe" - + "gment\0325\n\013TextSegment\022\023\n\013start_index\030\001 \001(" - + "\003\022\021\n\tend_index\030\002 \001(\003B\010\n\006sourceB\352\001\n#com.g" - + "oogle.cloud.documentai.v1beta1B\rDocument" - + "ProtoP\001ZIgoogle.golang.org/genproto/goog" - + "leapis/cloud/documentai/v1beta1;document" - + "ai\252\002\037Google.Cloud.DocumentAI.V1Beta1\312\002\037G" - + "oogle\\Cloud\\DocumentAI\\V1beta1\352\002\"Google:" - + ":Cloud::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 1f58b3ae1cb3..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 2020 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 a488b810ceaf..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 2020 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 8842ff2300d4..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 2020 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\352\001\n#com." - + "google.cloud.documentai.v1beta1B\rGeometr" - + "yProtoP\001ZIgoogle.golang.org/genproto/goo" - + "gleapis/cloud/documentai/v1beta1;documen" - + "tai\252\002\037Google.Cloud.DocumentAI.V1Beta1\312\002\037" - + "Google\\Cloud\\DocumentAI\\V1beta1\352\002\"Google" - + "::Cloud::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 36b0030b6d5b..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 2020 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 49c899ee36b3..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 2020 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/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 97d40c62cb11..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 2020 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\nocr_params\030\007 \001(\0132*.google.cloud.docume" - + "ntai.v1beta2.OcrParams\022D\n\rautoml_params\030" - + "\010 \001(\0132-.google.cloud.documentai.v1beta2." - + "AutoMlParams\"l\n\035BatchProcessDocumentsRes" - + "ponse\022K\n\tresponses\030\001 \003(\01328.google.cloud." - + "documentai.v1beta2.ProcessDocumentRespon" - + "se\"\243\001\n\027ProcessDocumentResponse\022B\n\014input_" - + "config\030\001 \001(\0132,.google.cloud.documentai.v" - + "1beta2.InputConfig\022D\n\routput_config\030\002 \001(" - + "\0132-.google.cloud.documentai.v1beta2.Outp" - + "utConfig\"#\n\tOcrParams\022\026\n\016language_hints\030" - + "\001 \003(\t\"\253\001\n\025TableExtractionParams\022\017\n\007enabl" - + "ed\030\001 \001(\010\022O\n\021table_bound_hints\030\002 \003(\0132/.go" - + "ogle.cloud.documentai.v1beta2.TableBound" - + "HintB\003\340A\001\022\031\n\014header_hints\030\003 \003(\tB\003\340A\001\022\025\n\r" - + "model_version\030\004 \001(\t\"o\n\016TableBoundHint\022\030\n" - + "\013page_number\030\001 \001(\005B\003\340A\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\"\205\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\026\n\tmime_type\030\002 \001(\tB\003\340A\002B\010\n\006s" - + "ource\"\202\001\n\014OutputConfig\022J\n\017gcs_destinatio" - + "n\030\001 \001(\0132/.google.cloud.documentai.v1beta" - + "2.GcsDestinationH\000\022\027\n\017pages_per_shard\030\002 " - + "\001(\005B\r\n\013destination\"\035\n\tGcsSource\022\020\n\003uri\030\001" - + " \001(\tB\003\340A\002\"\"\n\016GcsDestination\022\020\n\003uri\030\001 \001(\t" - + "B\003\340A\002\"\307\002\n\021OperationMetadata\022G\n\005state\030\001 \001" - + "(\01628.google.cloud.documentai.v1beta2.Ope" - + "rationMetadata.State\022\025\n\rstate_message\030\002 " - + "\001(\t\022/\n\013create_time\030\003 \001(\0132\032.google.protob" - + "uf.Timestamp\022/\n\013update_time\030\004 \001(\0132\032.goog" - + "le.protobuf.Timestamp\"p\n\005State\022\025\n\021STATE_" - + "UNSPECIFIED\020\000\022\014\n\010ACCEPTED\020\001\022\013\n\007WAITING\020\002" - + "\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020\004\022\r\n\tCANCELLE" - + "D\020\005\022\n\n\006FAILED\020\0062\240\005\n\034DocumentUnderstandin" - + "gService\022\274\002\n\025BatchProcessDocuments\022=.goo" - + "gle.cloud.documentai.v1beta2.BatchProces" - + "sDocumentsRequest\032\035.google.longrunning.O" - + "peration\"\304\001\202\323\344\223\002~\"?/v1beta2/{parent=proj" - + "ects/*/locations/*}/documents:batchProce" - + "ss:\001*Z8\"3/v1beta2/{parent=projects/*}/do" - + "cuments:batchProcess:\001*\332A\010requests\312A2\n\035B" - + "atchProcessDocumentsResponse\022\021OperationM" - + "etadata\022\361\001\n\017ProcessDocument\0227.google.clo" - + "ud.documentai.v1beta2.ProcessDocumentReq" - + "uest\032).google.cloud.documentai.v1beta2.D" - + "ocument\"z\202\323\344\223\002t\":/v1beta2/{parent=projec" - + "ts/*/locations/*}/documents:process:\001*Z3" - + "\"./v1beta2/{parent=projects/*}/documents" - + ":process:\001*\032M\312A\031documentai.googleapis.co" - + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformB\354\001\n#com.google.cloud.document" - + "ai.v1beta2B\017DocumentAiProtoP\001ZIgoogle.go" - + "lang.org/genproto/googleapis/cloud/docum" - + "entai/v1beta2;documentai\252\002\037Google.Cloud." - + "DocumentAI.V1Beta2\312\002\037Google\\Cloud\\Docume" - + "ntAI\\V1beta2\352\002\"Google::Cloud::DocumentAI" - + "::V1beta2b\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 5522d999c985..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java +++ /dev/null @@ -1,575 +0,0 @@ -/* - * Copyright 2020 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_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_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_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_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_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; - - 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/geometry.pro" - + "to\032\027google/rpc/status.proto\032\027google/type" - + "/color.proto\"\373*\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.v1beta2.Document.Sty" - + "le\022=\n\005pages\030\006 \003(\0132..google.cloud.documen" - + "tai.v1beta2.Document.Page\022B\n\010entities\030\007 " - + "\003(\01320.google.cloud.documentai.v1beta2.Do" - + "cument.Entity\022R\n\020entity_relations\030\010 \003(\0132" - + "8.google.cloud.documentai.v1beta2.Docume" - + "nt.EntityRelation\022G\n\nshard_info\030\t \001(\01323." - + "google.cloud.documentai.v1beta2.Document" - + ".ShardInfo\022?\n\006labels\030\013 \003(\0132/.google.clou" - + "d.documentai.v1beta2.Document.Label\022!\n\005e" - + "rror\030\n \001(\0132\022.google.rpc.Status\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\332\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\032&\n\010FontSize\022\014\n\004size\030\001 \001(\002\022\014" - + "\n\004unit\030\002 \001(\t\032\325\033\n\004Page\022\023\n\013page_number\030\001 \001" - + "(\005\022K\n\tdimension\030\002 \001(\01328.google.cloud.doc" - + "umentai.v1beta2.Document.Page.Dimension\022" - + "E\n\006layout\030\003 \001(\01325.google.cloud.documenta" - + "i.v1beta2.Document.Page.Layout\022[\n\022detect" - + "ed_languages\030\004 \003(\0132?.google.cloud.docume" - + "ntai.v1beta2.Document.Page.DetectedLangu" - + "age\022D\n\006blocks\030\005 \003(\01324.google.cloud.docum" - + "entai.v1beta2.Document.Page.Block\022L\n\npar" - + "agraphs\030\006 \003(\01328.google.cloud.documentai." - + "v1beta2.Document.Page.Paragraph\022B\n\005lines" - + "\030\007 \003(\01323.google.cloud.documentai.v1beta2" - + ".Document.Page.Line\022D\n\006tokens\030\010 \003(\01324.go" - + "ogle.cloud.documentai.v1beta2.Document.P" - + "age.Token\022U\n\017visual_elements\030\t \003(\0132<.goo" - + "gle.cloud.documentai.v1beta2.Document.Pa" - + "ge.VisualElement\022D\n\006tables\030\n \003(\01324.googl" - + "e.cloud.documentai.v1beta2.Document.Page" - + ".Table\022M\n\013form_fields\030\013 \003(\01328.google.clo" - + "ud.documentai.v1beta2.Document.Page.Form" - + "Field\0328\n\tDimension\022\r\n\005width\030\001 \001(\002\022\016\n\006hei" - + "ght\030\002 \001(\002\022\014\n\004unit\030\003 \001(\t\032\375\002\n\006Layout\022I\n\013te" - + "xt_anchor\030\001 \001(\01324.google.cloud.documenta" - + "i.v1beta2.Document.TextAnchor\022\022\n\nconfide" - + "nce\030\002 \001(\002\022D\n\rbounding_poly\030\003 \001(\0132-.googl" - + "e.cloud.documentai.v1beta2.BoundingPoly\022" - + "V\n\013orientation\030\004 \001(\0162A.google.cloud.docu" - + "mentai.v1beta2.Document.Page.Layout.Orie" - + "ntation\022\017\n\002id\030\005 \001(\tB\003\340A\001\"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\tPAGE" - + "_LEFT\020\004\032\253\001\n\005Block\022E\n\006layout\030\001 \001(\01325.goog" - + "le.cloud.documentai.v1beta2.Document.Pag" - + "e.Layout\022[\n\022detected_languages\030\002 \003(\0132?.g" - + "oogle.cloud.documentai.v1beta2.Document." - + "Page.DetectedLanguage\032\257\001\n\tParagraph\022E\n\006l" - + "ayout\030\001 \001(\01325.google.cloud.documentai.v1" - + "beta2.Document.Page.Layout\022[\n\022detected_l" - + "anguages\030\002 \003(\0132?.google.cloud.documentai" - + ".v1beta2.Document.Page.DetectedLanguage\032" - + "\252\001\n\004Line\022E\n\006layout\030\001 \001(\01325.google.cloud." - + "documentai.v1beta2.Document.Page.Layout\022" - + "[\n\022detected_languages\030\002 \003(\0132?.google.clo" - + "ud.documentai.v1beta2.Document.Page.Dete" - + "ctedLanguage\032\265\003\n\005Token\022E\n\006layout\030\001 \001(\01325" - + ".google.cloud.documentai.v1beta2.Documen" - + "t.Page.Layout\022Z\n\016detected_break\030\002 \001(\0132B." - + "google.cloud.documentai.v1beta2.Document" - + ".Page.Token.DetectedBreak\022[\n\022detected_la" - + "nguages\030\003 \003(\0132?.google.cloud.documentai." - + "v1beta2.Document.Page.DetectedLanguage\032\253" - + "\001\n\rDetectedBreak\022U\n\004type\030\001 \001(\0162G.google." - + "cloud.documentai.v1beta2.Document.Page.T" - + "oken.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\006layout" - + "\030\001 \001(\01325.google.cloud.documentai.v1beta2" - + ".Document.Page.Layout\022\014\n\004type\030\002 \001(\t\022[\n\022d" - + "etected_languages\030\003 \003(\0132?.google.cloud.d" - + "ocumentai.v1beta2.Document.Page.Detected" - + "Language\032\202\005\n\005Table\022E\n\006layout\030\001 \001(\01325.goo" - + "gle.cloud.documentai.v1beta2.Document.Pa" - + "ge.Layout\022R\n\013header_rows\030\002 \003(\0132=.google." - + "cloud.documentai.v1beta2.Document.Page.T" - + "able.TableRow\022P\n\tbody_rows\030\003 \003(\0132=.googl" - + "e.cloud.documentai.v1beta2.Document.Page" - + ".Table.TableRow\022[\n\022detected_languages\030\004 " - + "\003(\0132?.google.cloud.documentai.v1beta2.Do" - + "cument.Page.DetectedLanguage\032Y\n\010TableRow" - + "\022M\n\005cells\030\001 \003(\0132>.google.cloud.documenta" - + "i.v1beta2.Document.Page.Table.TableCell\032" - + "\323\001\n\tTableCell\022E\n\006layout\030\001 \001(\01325.google.c" - + "loud.documentai.v1beta2.Document.Page.La" - + "yout\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.cl" - + "oud.documentai.v1beta2.Document.Page.Det" - + "ectedLanguage\032\265\003\n\tFormField\022I\n\nfield_nam" - + "e\030\001 \001(\01325.google.cloud.documentai.v1beta" - + "2.Document.Page.Layout\022J\n\013field_value\030\002 " - + "\001(\01325.google.cloud.documentai.v1beta2.Do" - + "cument.Page.Layout\022`\n\027name_detected_lang" - + "uages\030\003 \003(\0132?.google.cloud.documentai.v1" - + "beta2.Document.Page.DetectedLanguage\022a\n\030" - + "value_detected_languages\030\004 \003(\0132?.google." - + "cloud.documentai.v1beta2.Document.Page.D" - + "etectedLanguage\022\022\n\nvalue_type\030\005 \001(\t\022\032\n\022c" - + "orrected_key_text\030\006 \001(\t\022\034\n\024corrected_val" - + "ue_text\030\007 \001(\t\032=\n\020DetectedLanguage\022\025\n\rlan" - + "guage_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\032\212\002\n" - + "\006Entity\022I\n\013text_anchor\030\001 \001(\01324.google.cl" - + "oud.documentai.v1beta2.Document.TextAnch" - + "or\022\021\n\004type\030\002 \001(\tB\003\340A\002\022\024\n\014mention_text\030\003 " - + "\001(\t\022\022\n\nmention_id\030\004 \001(\t\022\027\n\nconfidence\030\005 " - + "\001(\002B\003\340A\001\022N\n\013page_anchor\030\006 \001(\01324.google.c" - + "loud.documentai.v1beta2.Document.PageAnc" - + "horB\003\340A\001\022\017\n\002id\030\007 \001(\tB\003\340A\001\032I\n\016EntityRelat" - + "ion\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\rt" - + "ext_segments\030\001 \003(\0132@.google.cloud.docume" - + "ntai.v1beta2.Document.TextAnchor.TextSeg" - + "ment\022\017\n\007content\030\002 \001(\t\0325\n\013TextSegment\022\023\n\013" - + "start_index\030\001 \001(\003\022\021\n\tend_index\030\002 \001(\003\032\201\003\n" - + "\nPageAnchor\022O\n\tpage_refs\030\001 \003(\0132<.google." - + "cloud.documentai.v1beta2.Document.PageAn" - + "chor.PageRef\032\241\002\n\007PageRef\022\021\n\004page\030\001 \001(\003B\003" - + "\340A\002\022a\n\013layout_type\030\002 \001(\0162G.google.cloud." - + "documentai.v1beta2.Document.PageAnchor.P" - + "ageRef.LayoutTypeB\003\340A\001\022\026\n\tlayout_id\030\003 \001(" - + "\tB\003\340A\001\"\207\001\n\nLayoutType\022\033\n\027LAYOUT_TYPE_UNS" - + "PECIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n\004" - + "LINE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_ELEMENT\020\005\022\t\n" - + "\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007B\010\n\006sourceB\352\001\n#c" - + "om.google.cloud.documentai.v1beta2B\rDocu" - + "mentProtoP\001ZIgoogle.golang.org/genproto/" - + "googleapis/cloud/documentai/v1beta2;docu" - + "mentai\252\002\037Google.Cloud.DocumentAI.V1Beta2" - + "\312\002\037Google\\Cloud\\DocumentAI\\V1beta2\352\002\"Goo" - + "gle::Cloud::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.GeometryProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.ColorProto.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", - "ShardInfo", - "Labels", - "Error", - "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", - }); - 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", - "Dimension", - "Layout", - "DetectedLanguages", - "Blocks", - "Paragraphs", - "Lines", - "Tokens", - "VisualElements", - "Tables", - "FormFields", - }); - 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_Layout_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(1); - 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", "Id", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Block_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(2); - 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", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Paragraph_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(3); - 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", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Line_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(4); - 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", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_Token_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(5); - 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", - }); - 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_VisualElement_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(6); - 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(7); - 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", - }); - 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(8); - 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", - }); - internal_static_google_cloud_documentai_v1beta2_Document_Page_DetectedLanguage_descriptor = - internal_static_google_cloud_documentai_v1beta2_Document_Page_descriptor - .getNestedTypes() - .get(9); - 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_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", - }); - 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", - }); - 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.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-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 5ed1fa22889f..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 2020 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 2809c979dc6c..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 2020 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 f621d144c51e..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 2020 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\352\001\n#com." - + "google.cloud.documentai.v1beta2B\rGeometr" - + "yProtoP\001ZIgoogle.golang.org/genproto/goo" - + "gleapis/cloud/documentai/v1beta2;documen" - + "tai\252\002\037Google.Cloud.DocumentAI.V1Beta2\312\002\037" - + "Google\\Cloud\\DocumentAI\\V1beta2\352\002\"Google" - + "::Cloud::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 f275de6a8f2c..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 2020 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.
-   * 
- * - * 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 56b2b514623d..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 2020 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.
-   * 
- * - * 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 0fd83ea0b7c1..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 2020 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\351\001\n#com.goo" - + "gle.cloud.documentai.v1beta3B\014BarcodePro" - + "toP\001ZIgoogle.golang.org/genproto/googlea" - + "pis/cloud/documentai/v1beta3;documentai\252" - + "\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037Goog" - + "le\\Cloud\\DocumentAI\\V1beta3\352\002\"Google::Cl" - + "oud::DocumentAI::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/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 35d5d0c0a98c..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 2020 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/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 89fd0d2d9236..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 2020 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 40ab438e906a..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 2020 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 1f227a61e143..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 2020 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 a37dfd116b2f..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 2020 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 e9f04327f977..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 2020 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 ab943270a4e5..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 2020 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 d9489edda6a4..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2020 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_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\"\300\007\n\016DocumentSchema\022\024\n\014display_n" - + "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022P\n\014entity" - + "_types\030\003 \003(\0132:.google.cloud.documentai.v" - + "1beta3.DocumentSchema.EntityType\022J\n\010meta" - + "data\030\004 \001(\01328.google.cloud.documentai.v1b" - + "eta3.DocumentSchema.Metadata\032\315\004\n\nEntityT" - + "ype\022\\\n\013enum_values\030\016 \001(\0132E.google.cloud." - + "documentai.v1beta3.DocumentSchema.Entity" - + "Type.EnumValuesH\000\022\024\n\014display_name\030\r \001(\t\022" - + "\014\n\004name\030\001 \001(\t\022\022\n\nbase_types\030\002 \003(\t\022W\n\npro" - + "perties\030\006 \003(\0132C.google.cloud.documentai." - + "v1beta3.DocumentSchema.EntityType.Proper" - + "ty\032\034\n\nEnumValues\022\016\n\006values\030\001 \003(\t\032\241\002\n\010Pro" - + "perty\022\014\n\004name\030\001 \001(\t\022\022\n\nvalue_type\030\002 \001(\t\022" - + "k\n\017occurrence_type\030\003 \001(\0162R.google.cloud." - + "documentai.v1beta3.DocumentSchema.Entity" - + "Type.Property.OccurrenceType\"\205\001\n\016Occurre" - + "nceType\022\037\n\033OCCURRENCE_TYPE_UNSPECIFIED\020\000" - + "\022\021\n\rOPTIONAL_ONCE\020\001\022\025\n\021OPTIONAL_MULTIPLE" - + "\020\002\022\021\n\rREQUIRED_ONCE\020\003\022\025\n\021REQUIRED_MULTIP" - + "LE\020\004B\016\n\014value_source\032\224\001\n\010Metadata\022\031\n\021doc" - + "ument_splitter\030\001 \001(\010\022&\n\036document_allow_m" - + "ultiple_labels\030\002 \001(\010\022%\n\035prefixed_naming_" - + "on_properties\030\006 \001(\010\022\036\n\026skip_naming_valid" - + "ation\030\007 \001(\010B\365\001\n#com.google.cloud.documen" - + "tai.v1beta3B\030DocumentAiDocumentSchemaP\001Z" - + "Igoogle.golang.org/genproto/googleapis/c" - + "loud/documentai/v1beta3;documentai\252\002\037Goo" - + "gle.Cloud.DocumentAI.V1Beta3\312\002\037Google\\Cl" - + "oud\\DocumentAI\\V1beta3\352\002\"Google::Cloud::" - + "DocumentAI::V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_documentai_v1beta3_DocumentSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - 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", "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", - }); - 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/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 5fdd89f2fc30..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Copyright 2020 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_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\032\037google/protobuf/" - + "timestamp.proto\"\232\006\n\020ProcessorVersion\022\014\n\004" - + "name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022F\n\005stat" - + "e\030\006 \001(\01627.google.cloud.documentai.v1beta" - + "3.ProcessorVersion.State\022/\n\013create_time\030" - + "\007 \001(\0132\032.google.protobuf.Timestamp\022\024\n\014kms" - + "_key_name\030\t \001(\t\022\034\n\024kms_key_version_name\030" - + "\n \001(\t\022\026\n\016google_managed\030\013 \001(\010\022[\n\020depreca" - + "tion_info\030\r \001(\0132A.google.cloud.documenta" - + "i.v1beta3.ProcessorVersion.DeprecationIn" - + "fo\032\237\001\n\017DeprecationInfo\0224\n\020deprecation_ti" - + "me\030\001 \001(\0132\032.google.protobuf.Timestamp\022V\n\035" - + "replacement_processor_version\030\002 \001(\tB/\372A," - + "\n*documentai.googleapis.com/ProcessorVer" - + "sion\"\204\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\013UNDEPLOYING\020\004\022\014\n\010CREATING\020\005\022\014\n\010DEL" - + "ETING\020\006\022\n\n\006FAILED\020\007:\226\001\352A\222\001\n*documentai.g" - + "oogleapis.com/ProcessorVersion\022dprojects" - + "/{project}/locations/{location}/processo" - + "rs/{processor}/processorVersions/{proces" - + "sor_version}\"\262\004\n\tProcessor\022\024\n\004name\030\001 \001(\t" - + "B\006\340A\005\340A\003\022\014\n\004type\030\002 \001(\t\022\024\n\014display_name\030\003" - + " \001(\t\022D\n\005state\030\004 \001(\01620.google.cloud.docum" - + "entai.v1beta3.Processor.StateB\003\340A\003\022R\n\031de" - + "fault_processor_version\030\t \001(\tB/\372A,\n*docu" - + "mentai.googleapis.com/ProcessorVersion\022 " - + "\n\020process_endpoint\030\006 \001(\tB\006\340A\003\340A\005\022/\n\013crea" - + "te_time\030\007 \001(\0132\032.google.protobuf.Timestam" - + "p\022\024\n\014kms_key_name\030\010 \001(\t\"~\n\005State\022\025\n\021STAT" - + "E_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DISABLED" - + "\020\002\022\014\n\010ENABLING\020\003\022\r\n\tDISABLING\020\004\022\014\n\010CREAT" - + "ING\020\005\022\n\n\006FAILED\020\006\022\014\n\010DELETING\020\007:h\352Ae\n#do" - + "cumentai.googleapis.com/Processor\022>proje" - + "cts/{project}/locations/{location}/proce" - + "ssors/{processor}B\360\001\n#com.google.cloud.d" - + "ocumentai.v1beta3B\023DocumentAiProcessorP\001" - + "ZIgoogle.golang.org/genproto/googleapis/" - + "cloud/documentai/v1beta3;documentai\252\002\037Go" - + "ogle.Cloud.DocumentAI.V1Beta3\312\002\037Google\\C" - + "loud\\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.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", - "State", - "CreateTime", - "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_Processor_descriptor = - getDescriptor().getMessageTypes().get(1); - 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", - "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.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 51df45e7298f..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java +++ /dev/null @@ -1,901 +0,0 @@ -/* - * Copyright 2020 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_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_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_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; - - 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\0328google/cloud/documentai/v1beta" - + "3/operation_metadata.proto\032/google/cloud" - + "/documentai/v1beta3/processor.proto\0324goo" - + "gle/cloud/documentai/v1beta3/processor_t" - + "ype.proto\032#google/longrunning/operations" - + ".proto\032 google/protobuf/field_mask.proto" - + "\032\037google/protobuf/timestamp.proto\032\027googl" - + "e/rpc/status.proto\"\313\002\n\016ProcessRequest\022D\n" - + "\017inline_document\030\004 \001(\0132).google.cloud.do" - + "cumentai.v1beta3.DocumentH\000\022D\n\014raw_docum" - + "ent\030\005 \001(\0132,.google.cloud.documentai.v1be" - + "ta3.RawDocumentH\000\022\027\n\004name\030\001 \001(\tB\t\340A\002\372A\003\n" - + "\001*\022?\n\010document\030\002 \001(\0132).google.cloud.docu" - + "mentai.v1beta3.DocumentB\002\030\001\022\031\n\021skip_huma" - + "n_review\030\003 \001(\010\022.\n\nfield_mask\030\006 \001(\0132\032.goo" - + "gle.protobuf.FieldMaskB\010\n\006source\"\363\001\n\021Hum" - + "anReviewStatus\022G\n\005state\030\001 \001(\01628.google.c" - + "loud.documentai.v1beta3.HumanReviewStatu" - + "s.State\022\025\n\rstate_message\030\002 \001(\t\022\036\n\026human_" - + "review_operation\030\003 \001(\t\"^\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\013\n\007SKIPPED\020\001\022\025\n\021VALIDATIO" - + "N_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).g" - + "oogle.cloud.documentai.v1beta3.Document\022" - + "\"\n\026human_review_operation\030\002 \001(\tB\002\030\001\022O\n\023h" - + "uman_review_status\030\003 \001(\01322.google.cloud." - + "documentai.v1beta3.HumanReviewStatus\"\253\004\n" - + "\023BatchProcessRequest\022\027\n\004name\030\001 \001(\tB\t\340A\002\372" - + "A\003\n\001*\022`\n\rinput_configs\030\002 \003(\0132E.google.cl" - + "oud.documentai.v1beta3.BatchProcessReque" - + "st.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.clo" - + "ud.documentai.v1beta3.BatchDocumentsInpu" - + "tConfig\022U\n\026document_output_config\030\006 \001(\0132" - + "5.google.cloud.documentai.v1beta3.Docume" - + "ntOutputConfig\022\031\n\021skip_human_review\030\004 \001(" - + "\010\032=\n\020BatchInputConfig\022\022\n\ngcs_source\030\001 \001(" - + "\t\022\021\n\tmime_type\030\002 \001(\t:\002\030\001\0320\n\021BatchOutputC" - + "onfig\022\027\n\017gcs_destination\030\001 \001(\t:\002\030\001\"\026\n\024Ba" - + "tchProcessResponse\"\262\005\n\024BatchProcessMetad" - + "ata\022J\n\005state\030\001 \001(\0162;.google.cloud.docume" - + "ntai.v1beta3.BatchProcessMetadata.State\022" - + "\025\n\rstate_message\030\002 \001(\t\022/\n\013create_time\030\003 " - + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013updat" - + "e_time\030\004 \001(\0132\032.google.protobuf.Timestamp" - + "\022r\n\033individual_process_statuses\030\005 \003(\0132M." - + "google.cloud.documentai.v1beta3.BatchPro" - + "cessMetadata.IndividualProcessStatus\032\354\001\n" - + "\027IndividualProcessStatus\022\030\n\020input_gcs_so" - + "urce\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\023hu" - + "man_review_status\030\005 \001(\01322.google.cloud.d" - + "ocumentai.v1beta3.HumanReviewStatus\"r\n\005S" - + "tate\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\nCANCELLI" - + "NG\020\004\022\r\n\tCANCELLED\020\005\022\n\n\006FAILED\020\006\"]\n\032Fetch" - + "ProcessorTypesRequest\022?\n\006parent\030\001 \001(\tB/\340" - + "A\002\372A)\022\'documentai.googleapis.com/Process" - + "orType\"f\n\033FetchProcessorTypesResponse\022G\n" - + "\017processor_types\030\001 \003(\0132..google.cloud.do" - + "cumentai.v1beta3.ProcessorType\"\203\001\n\031ListP" - + "rocessorTypesRequest\022?\n\006parent\030\001 \001(\tB/\340A" - + "\002\372A)\022\'documentai.googleapis.com/Processo" - + "rType\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" - + " \001(\t\"~\n\032ListProcessorTypesResponse\022G\n\017pr" - + "ocessor_types\030\001 \003(\0132..google.cloud.docum" - + "entai.v1beta3.ProcessorType\022\027\n\017next_page" - + "_token\030\002 \001(\t\"{\n\025ListProcessorsRequest\022;\n" - + "\006parent\030\001 \001(\tB+\340A\002\372A%\022#documentai.google" - + "apis.com/Processor\022\021\n\tpage_size\030\002 \001(\005\022\022\n" - + "\npage_token\030\003 \001(\t\"q\n\026ListProcessorsRespo" - + "nse\022>\n\nprocessors\030\001 \003(\0132*.google.cloud.d" - + "ocumentai.v1beta3.Processor\022\027\n\017next_page" - + "_token\030\002 \001(\t\"P\n\023GetProcessorRequest\0229\n\004n" - + "ame\030\001 \001(\tB+\340A\002\372A%\n#documentai.googleapis" - + ".com/Processor\"^\n\032GetProcessorVersionReq" - + "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*documentai.g" - + "oogleapis.com/ProcessorVersion\"\211\001\n\034ListP" - + "rocessorVersionsRequest\022B\n\006parent\030\001 \001(\tB" - + "2\340A\002\372A,\022*documentai.googleapis.com/Proce" - + "ssorVersion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\"\207\001\n\035ListProcessorVersionsResp" - + "onse\022M\n\022processor_versions\030\001 \003(\01321.googl" - + "e.cloud.documentai.v1beta3.ProcessorVers" - + "ion\022\027\n\017next_page_token\030\002 \001(\t\"a\n\035DeletePr" - + "ocessorVersionRequest\022@\n\004name\030\001 \001(\tB2\340A\002" - + "\372A,\n*documentai.googleapis.com/Processor" - + "Version\"s\n\036DeleteProcessorVersionMetadat" - + "a\022Q\n\017common_metadata\030\001 \001(\01328.google.clou" - + "d.documentai.v1beta3.CommonOperationMeta" - + "data\"a\n\035DeployProcessorVersionRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n*documentai.googleap" - + "is.com/ProcessorVersion\" \n\036DeployProcess" - + "orVersionResponse\"s\n\036DeployProcessorVers" - + "ionMetadata\022Q\n\017common_metadata\030\001 \001(\01328.g" - + "oogle.cloud.documentai.v1beta3.CommonOpe" - + "rationMetadata\"c\n\037UndeployProcessorVersi" - + "onRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*documen" - + "tai.googleapis.com/ProcessorVersion\"\"\n U" - + "ndeployProcessorVersionResponse\"u\n Undep" - + "loyProcessorVersionMetadata\022Q\n\017common_me" - + "tadata\030\001 \001(\01328.google.cloud.documentai.v" - + "1beta3.CommonOperationMetadata\"\231\001\n\026Creat" - + "eProcessorRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A" - + "%\022#documentai.googleapis.com/Processor\022B" - + "\n\tprocessor\030\002 \001(\0132*.google.cloud.documen" - + "tai.v1beta3.ProcessorB\003\340A\002\"S\n\026DeleteProc" - + "essorRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#docu" - + "mentai.googleapis.com/Processor\"l\n\027Delet" - + "eProcessorMetadata\022Q\n\017common_metadata\030\005 " - + "\001(\01328.google.cloud.documentai.v1beta3.Co" - + "mmonOperationMetadata\"S\n\026EnableProcessor" - + "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#documenta" - + "i.googleapis.com/Processor\"\031\n\027EnableProc" - + "essorResponse\"l\n\027EnableProcessorMetadata" - + "\022Q\n\017common_metadata\030\005 \001(\01328.google.cloud" - + ".documentai.v1beta3.CommonOperationMetad" - + "ata\"T\n\027DisableProcessorRequest\0229\n\004name\030\001" - + " \001(\tB+\340A\002\372A%\n#documentai.googleapis.com/" - + "Processor\"\032\n\030DisableProcessorResponse\"m\n" - + "\030DisableProcessorMetadata\022Q\n\017common_meta" - + "data\030\005 \001(\01328.google.cloud.documentai.v1b" - + "eta3.CommonOperationMetadata\"\272\001\n!SetDefa" - + "ultProcessorVersionRequest\022>\n\tprocessor\030" - + "\001 \001(\tB+\340A\002\372A%\n#documentai.googleapis.com" - + "/Processor\022U\n\031default_processor_version\030" - + "\002 \001(\tB2\340A\002\372A,\n*documentai.googleapis.com" - + "/ProcessorVersion\"$\n\"SetDefaultProcessor" - + "VersionResponse\"w\n\"SetDefaultProcessorVe" - + "rsionMetadata\022Q\n\017common_metadata\030\001 \001(\01328" - + ".google.cloud.documentai.v1beta3.CommonO" - + "perationMetadata\"\336\003\n\025ReviewDocumentReque" - + "st\022D\n\017inline_document\030\004 \001(\0132).google.clo" - + "ud.documentai.v1beta3.DocumentH\000\022P\n\023huma" - + "n_review_config\030\001 \001(\tB3\340A\002\372A-\n+documenta" - + "i.googleapis.com/HumanReviewConfig\022?\n\010do" - + "cument\030\002 \001(\0132).google.cloud.documentai.v" - + "1beta3.DocumentB\002\030\001\022 \n\030enable_schema_val" - + "idation\030\003 \001(\010\022Q\n\010priority\030\005 \001(\0162?.google" - + ".cloud.documentai.v1beta3.ReviewDocument" - + "Request.Priority\022H\n\017document_schema\030\006 \001(" - + "\0132/.google.cloud.documentai.v1beta3.Docu" - + "mentSchema\"#\n\010Priority\022\013\n\007DEFAULT\020\000\022\n\n\006U" - + "RGENT\020\001B\010\n\006source\"\326\001\n\026ReviewDocumentResp" - + "onse\022\027\n\017gcs_destination\030\001 \001(\t\022L\n\005state\030\002" - + " \001(\0162=.google.cloud.documentai.v1beta3.R" - + "eviewDocumentResponse.State\022\030\n\020rejection" - + "_reason\030\003 \001(\t\";\n\005State\022\025\n\021STATE_UNSPECIF" - + "IED\020\000\022\014\n\010REJECTED\020\001\022\r\n\tSUCCEEDED\020\002\"\300\003\n\037R" - + "eviewDocumentOperationMetadata\022U\n\005state\030" - + "\001 \001(\0162F.google.cloud.documentai.v1beta3." - + "ReviewDocumentOperationMetadata.State\022\025\n" - + "\rstate_message\030\002 \001(\t\022/\n\013create_time\030\003 \001(" - + "\0132\032.google.protobuf.Timestamp\022/\n\013update_" - + "time\030\004 \001(\0132\032.google.protobuf.Timestamp\022Q" - + "\n\017common_metadata\030\005 \001(\01328.google.cloud.d" - + "ocumentai.v1beta3.CommonOperationMetadat" - + "a\022\023\n\013question_id\030\006 \001(\t\"e\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\016\n\nCANCELLIN" - + "G\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCEL" - + "LED\020\0052\244\"\n\030DocumentProcessorService\022\233\002\n\017P" - + "rocessDocument\022/.google.cloud.documentai" - + ".v1beta3.ProcessRequest\0320.google.cloud.d" - + "ocumentai.v1beta3.ProcessResponse\"\244\001\202\323\344\223" - + "\002\226\001\";/v1beta3/{name=projects/*/locations" - + "/*/processors/*}:process:\001*ZT\"O/v1beta3/" - + "{name=projects/*/locations/*/processors/" - + "*/processorVersions/*}:process:\001*\332A\004name" - + "\022\314\002\n\025BatchProcessDocuments\0224.google.clou" - + "d.documentai.v1beta3.BatchProcessRequest" - + "\032\035.google.longrunning.Operation\"\335\001\202\323\344\223\002\240" - + "\001\"@/v1beta3/{name=projects/*/locations/*" - + "/processors/*}:batchProcess:\001*ZY\"T/v1bet" - + "a3/{name=projects/*/locations/*/processo" - + "rs/*/processorVersions/*}:batchProcess:\001" - + "*\332A\004name\312A,\n\024BatchProcessResponse\022\024Batch" - + "ProcessMetadata\022\337\001\n\023FetchProcessorTypes\022" - + ";.google.cloud.documentai.v1beta3.FetchP" - + "rocessorTypesRequest\032<.google.cloud.docu" - + "mentai.v1beta3.FetchProcessorTypesRespon" - + "se\"M\202\323\344\223\002>\022." - + "google.cloud.documentai.v1beta3.ListProc" - + "essorVersionsResponse\"X\202\323\344\223\002I\022G/v1beta3/" - + "{parent=projects/*/locations/*/processor" - + "s/*}/processorVersions\332A\006parent\022\212\002\n\026Dele" - + "teProcessorVersion\022>.google.cloud.docume" - + "ntai.v1beta3.DeleteProcessorVersionReque" - + "st\032\035.google.longrunning.Operation\"\220\001\202\323\344\223" - + "\002I*G/v1beta3/{name=projects/*/locations/" - + "*/processors/*/processorVersions/*}\332A\004na" - + "me\312A7\n\025google.protobuf.Empty\022\036DeleteProc" - + "essorVersionMetadata\022\235\002\n\026DeployProcessor" - + "Version\022>.google.cloud.documentai.v1beta" - + "3.DeployProcessorVersionRequest\032\035.google" - + ".longrunning.Operation\"\243\001\202\323\344\223\002S\"N/v1beta" - + "3/{name=projects/*/locations/*/processor" - + "s/*/processorVersions/*}:deploy:\001*\332A\004nam" - + "e\312A@\n\036DeployProcessorVersionResponse\022\036De" - + "ployProcessorVersionMetadata\022\247\002\n\030Undeplo" - + "yProcessorVersion\022@.google.cloud.documen" - + "tai.v1beta3.UndeployProcessorVersionRequ" - + "est\032\035.google.longrunning.Operation\"\251\001\202\323\344" - + "\223\002U\"P/v1beta3/{name=projects/*/locations" - + "/*/processors/*/processorVersions/*}:und" - + "eploy:\001*\332A\004name\312AD\n UndeployProcessorVer" - + "sionResponse\022 UndeployProcessorVersionMe" - + "tadata\022\321\001\n\017CreateProcessor\0227.google.clou" - + "d.documentai.v1beta3.CreateProcessorRequ" - + "est\032*.google.cloud.documentai.v1beta3.Pr" - + "ocessor\"Y\202\323\344\223\002@\"3/v1beta3/{parent=projec" - + "ts/*/locations/*}/processors:\tprocessor\332" - + "A\020parent,processor\022\340\001\n\017DeleteProcessor\0227" - + ".google.cloud.documentai.v1beta3.DeleteP" - + "rocessorRequest\032\035.google.longrunning.Ope" - + "ration\"u\202\323\344\223\0025*3/v1beta3/{name=projects/" - + "*/locations/*/processors/*}\332A\004name\312A0\n\025g" - + "oogle.protobuf.Empty\022\027DeleteProcessorMet" - + "adata\022\345\001\n\017EnableProcessor\0227.google.cloud" - + ".documentai.v1beta3.EnableProcessorReque" - + "st\032\035.google.longrunning.Operation\"z\202\323\344\223\002" - + "?\":/v1beta3/{name=projects/*/locations/*" - + "/processors/*}:enable:\001*\312A2\n\027EnableProce" - + "ssorResponse\022\027EnableProcessorMetadata\022\352\001" - + "\n\020DisableProcessor\0228.google.cloud.docume" - + "ntai.v1beta3.DisableProcessorRequest\032\035.g" - + "oogle.longrunning.Operation\"}\202\323\344\223\002@\";/v1" - + "beta3/{name=projects/*/locations/*/proce" - + "ssors/*}:disable:\001*\312A4\n\030DisableProcessor" - + "Response\022\030DisableProcessorMetadata\022\253\002\n\032S" - + "etDefaultProcessorVersion\022B.google.cloud" - + ".documentai.v1beta3.SetDefaultProcessorV" - + "ersionRequest\032\035.google.longrunning.Opera" - + "tion\"\251\001\202\323\344\223\002X\"S/v1beta3/{processor=proje" - + "cts/*/locations/*/processors/*}:setDefau" - + "ltProcessorVersion:\001*\312AH\n\"SetDefaultProc" - + "essorVersionResponse\022\"SetDefaultProcesso" - + "rVersionMetadata\022\252\002\n\016ReviewDocument\0226.go" - + "ogle.cloud.documentai.v1beta3.ReviewDocu" - + "mentRequest\032\035.google.longrunning.Operati" - + "on\"\300\001\202\323\344\223\002h\"c/v1beta3/{human_review_conf" - + "ig=projects/*/locations/*/processors/*/h" - + "umanReviewConfig}:reviewDocument:\001*\332A\023hu" - + "man_review_config\312A9\n\026ReviewDocumentResp" - + "onse\022\037ReviewDocumentOperationMetadata\032M\312" - + "A\031documentai.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platformB\311\003\n" - + "#com.google.cloud.documentai.v1beta3B\032Do" - + "cumentAiProcessorServiceP\001ZIgoogle.golan" - + "g.org/genproto/googleapis/cloud/document" - + "ai/v1beta3;documentai\252\002\037Google.Cloud.Doc" - + "umentAI.V1Beta3\312\002\037Google\\Cloud\\DocumentA" - + "I\\V1beta3\352\002\"Google::Cloud::DocumentAI::V" - + "1beta3\352A\177\n+documentai.googleapis.com/Hum" - + "anReviewConfig\022Pprojects/{project}/locat" - + "ions/{location}/processors/{processor}/h" - + "umanReviewConfig\352AM\n\"documentai.googleap" - + "is.com/Location\022\'projects/{project}/loca" - + "tions/{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.OperationMetadataProto.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiProcessor.getDescriptor(), - com.google.cloud.documentai.v1beta3.DocumentAiProcessorType.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_documentai_v1beta3_ProcessRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - 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", - "Name", - "Document", - "SkipHumanReview", - "FieldMask", - "Source", - }); - internal_static_google_cloud_documentai_v1beta3_HumanReviewStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - 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(2); - 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(3); - 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", - }); - 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(4); - 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(5); - 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(6); - 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(7); - 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(8); - 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(9); - 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(10); - 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(11); - 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_GetProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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_ReviewDocumentRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - 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(37); - 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(38); - 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", - }); - 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.OperationMetadataProto.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiProcessor.getDescriptor(); - com.google.cloud.documentai.v1beta3.DocumentAiProcessorType.getDescriptor(); - com.google.longrunning.OperationsProto.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 e600dad175b0..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright 2020 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\"\372\002\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\032#\n\014LocationInfo\022\023\n\013location_i" - + "d\030\001 \001(\t:u\352Ar\n\'documentai.googleapis.com/" - + "ProcessorType\022Gprojects/{project}/locati" - + "ons/{location}/processorTypes/{processor" - + "_type}B\364\001\n#com.google.cloud.documentai.v" - + "1beta3B\027DocumentAiProcessorTypeP\001ZIgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "ocumentai/v1beta3;documentai\252\002\037Google.Cl" - + "oud.DocumentAI.V1Beta3\312\002\037Google\\Cloud\\Do" - + "cumentAI\\V1beta3\352\002\"Google::Cloud::Docume" - + "ntAI::V1beta3b\006proto3" - }; - 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", - }); - 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 40cfc4b5ca8c..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Copyright 2020 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; - - 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\"1\n\013RawDocument\022\017\n\007content\030\001 \001(\014\022\021\n\t" - + "mime_type\030\002 \001(\t\"1\n\013GcsDocument\022\017\n\007gcs_ur" - + "i\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\"O\n\014GcsDocumen" - + "ts\022?\n\tdocuments\030\001 \003(\0132,.google.cloud.doc" - + "umentai.v1beta3.GcsDocument\"#\n\tGcsPrefix" - + "\022\026\n\016gcs_uri_prefix\030\001 \001(\t\"\257\001\n\031BatchDocume" - + "ntsInputConfig\022@\n\ngcs_prefix\030\001 \001(\0132*.goo" - + "gle.cloud.documentai.v1beta3.GcsPrefixH\000" - + "\022F\n\rgcs_documents\030\002 \001(\0132-.google.cloud.d" - + "ocumentai.v1beta3.GcsDocumentsH\000B\010\n\006sour" - + "ce\"\255\001\n\024DocumentOutputConfig\022b\n\021gcs_outpu" - + "t_config\030\001 \001(\0132E.google.cloud.documentai" - + ".v1beta3.DocumentOutputConfig.GcsOutputC" - + "onfigH\000\032\"\n\017GcsOutputConfig\022\017\n\007gcs_uri\030\001 " - + "\001(\tB\r\n\013destinationB\354\001\n#com.google.cloud." - + "documentai.v1beta3B\017DocumentIoProtoP\001ZIg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/documentai/v1beta3;documentai\252\002\037Googl" - + "e.Cloud.DocumentAI.V1Beta3\312\002\037Google\\Clou" - + "d\\DocumentAI\\V1beta3\352\002\"Google::Cloud::Do" - + "cumentAI::V1beta3b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - 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", - }); - 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", - }); - } - - // @@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 df1a5921ae7b..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOutputConfigOrBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2020 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(); - - public 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/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 1ac6f86cdaaa..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java +++ /dev/null @@ -1,817 +0,0 @@ -/* - * Copyright 2020 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_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_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; - - 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\"\205A\n\010Document\022\022\n\003uri\030\001 \001(\tB\003\340A\001H\000\022\026\n\007" - + "content\030\002 \001(\014B\003\340A\001H\000\022\021\n\tmime_type\030\003 \001(\t\022" - + "\021\n\004text\030\004 \001(\tB\003\340A\001\022D\n\013text_styles\030\005 \003(\0132" - + "/.google.cloud.documentai.v1beta3.Docume" - + "nt.Style\022=\n\005pages\030\006 \003(\0132..google.cloud.d" - + "ocumentai.v1beta3.Document.Page\022B\n\010entit" - + "ies\030\007 \003(\01320.google.cloud.documentai.v1be" - + "ta3.Document.Entity\022R\n\020entity_relations\030" - + "\010 \003(\01328.google.cloud.documentai.v1beta3." - + "Document.EntityRelation\022J\n\014text_changes\030" - + "\016 \003(\01324.google.cloud.documentai.v1beta3." - + "Document.TextChange\022G\n\nshard_info\030\t \001(\0132" - + "3.google.cloud.documentai.v1beta3.Docume" - + "nt.ShardInfo\022!\n\005error\030\n \001(\0132\022.google.rpc" - + ".Status\022E\n\trevisions\030\r \003(\01322.google.clou" - + "d.documentai.v1beta3.Document.Revision\032J" - + "\n\tShardInfo\022\023\n\013shard_index\030\001 \001(\003\022\023\n\013shar" - + "d_count\030\002 \001(\003\022\023\n\013text_offset\030\003 \001(\003\032\332\002\n\005S" - + "tyle\022I\n\013text_anchor\030\001 \001(\01324.google.cloud" - + ".documentai.v1beta3.Document.TextAnchor\022" - + "!\n\005color\030\002 \001(\0132\022.google.type.Color\022,\n\020ba" - + "ckground_color\030\003 \001(\0132\022.google.type.Color" - + "\022\023\n\013font_weight\030\004 \001(\t\022\022\n\ntext_style\030\005 \001(" - + "\t\022\027\n\017text_decoration\030\006 \001(\t\022K\n\tfont_size\030" - + "\007 \001(\01328.google.cloud.documentai.v1beta3." - + "Document.Style.FontSize\032&\n\010FontSize\022\014\n\004s" - + "ize\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\206%\n\004Page\022\023\n\013page" - + "_number\030\001 \001(\005\022C\n\005image\030\r \001(\01324.google.cl" - + "oud.documentai.v1beta3.Document.Page.Ima" - + "ge\022I\n\ntransforms\030\016 \003(\01325.google.cloud.do" - + "cumentai.v1beta3.Document.Page.Matrix\022K\n" - + "\tdimension\030\002 \001(\01328.google.cloud.document" - + "ai.v1beta3.Document.Page.Dimension\022E\n\006la" - + "yout\030\003 \001(\01325.google.cloud.documentai.v1b" - + "eta3.Document.Page.Layout\022[\n\022detected_la" - + "nguages\030\004 \003(\0132?.google.cloud.documentai." - + "v1beta3.Document.Page.DetectedLanguage\022D" - + "\n\006blocks\030\005 \003(\01324.google.cloud.documentai" - + ".v1beta3.Document.Page.Block\022L\n\nparagrap" - + "hs\030\006 \003(\01328.google.cloud.documentai.v1bet" - + "a3.Document.Page.Paragraph\022B\n\005lines\030\007 \003(" - + "\01323.google.cloud.documentai.v1beta3.Docu" - + "ment.Page.Line\022D\n\006tokens\030\010 \003(\01324.google." - + "cloud.documentai.v1beta3.Document.Page.T" - + "oken\022U\n\017visual_elements\030\t \003(\0132<.google.c" - + "loud.documentai.v1beta3.Document.Page.Vi" - + "sualElement\022D\n\006tables\030\n \003(\01324.google.clo" - + "ud.documentai.v1beta3.Document.Page.Tabl" - + "e\022M\n\013form_fields\030\013 \003(\01328.google.cloud.do" - + "cumentai.v1beta3.Document.Page.FormField" - + "\022F\n\007symbols\030\014 \003(\01325.google.cloud.documen" - + "tai.v1beta3.Document.Page.Symbol\022Y\n\021dete" - + "cted_barcodes\030\017 \003(\0132>.google.cloud.docum" - + "entai.v1beta3.Document.Page.DetectedBarc" - + "ode\022H\n\nprovenance\030\020 \001(\01324.google.cloud.d" - + "ocumentai.v1beta3.Document.Provenance\0328\n" - + "\tDimension\022\r\n\005width\030\001 \001(\002\022\016\n\006height\030\002 \001(" - + "\002\022\014\n\004unit\030\003 \001(\t\032J\n\005Image\022\017\n\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\006h" - + "eight\030\004 \001(\005\032@\n\006Matrix\022\014\n\004rows\030\001 \001(\005\022\014\n\004c" - + "ols\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.c" - + "loud.documentai.v1beta3.Document.TextAnc" - + "hor\022\022\n\nconfidence\030\002 \001(\002\022D\n\rbounding_poly" - + "\030\003 \001(\0132-.google.cloud.documentai.v1beta3" - + ".BoundingPoly\022V\n\013orientation\030\004 \001(\0162A.goo" - + "gle.cloud.documentai.v1beta3.Document.Pa" - + "ge.Layout.Orientation\"e\n\013Orientation\022\033\n\027" - + "ORIENTATION_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\tPAGE_LE" - + "FT\020\004\032\365\001\n\005Block\022E\n\006layout\030\001 \001(\01325.google." - + "cloud.documentai.v1beta3.Document.Page.L" - + "ayout\022[\n\022detected_languages\030\002 \003(\0132?.goog" - + "le.cloud.documentai.v1beta3.Document.Pag" - + "e.DetectedLanguage\022H\n\nprovenance\030\003 \001(\01324" - + ".google.cloud.documentai.v1beta3.Documen" - + "t.Provenance\032\371\001\n\tParagraph\022E\n\006layout\030\001 \001" - + "(\01325.google.cloud.documentai.v1beta3.Doc" - + "ument.Page.Layout\022[\n\022detected_languages\030" - + "\002 \003(\0132?.google.cloud.documentai.v1beta3." - + "Document.Page.DetectedLanguage\022H\n\nproven" - + "ance\030\003 \001(\01324.google.cloud.documentai.v1b" - + "eta3.Document.Provenance\032\364\001\n\004Line\022E\n\006lay" - + "out\030\001 \001(\01325.google.cloud.documentai.v1be" - + "ta3.Document.Page.Layout\022[\n\022detected_lan" - + "guages\030\002 \003(\0132?.google.cloud.documentai.v" - + "1beta3.Document.Page.DetectedLanguage\022H\n" - + "\nprovenance\030\003 \001(\01324.google.cloud.documen" - + "tai.v1beta3.Document.Provenance\032\377\003\n\005Toke" - + "n\022E\n\006layout\030\001 \001(\01325.google.cloud.documen" - + "tai.v1beta3.Document.Page.Layout\022Z\n\016dete" - + "cted_break\030\002 \001(\0132B.google.cloud.document" - + "ai.v1beta3.Document.Page.Token.DetectedB" - + "reak\022[\n\022detected_languages\030\003 \003(\0132?.googl" - + "e.cloud.documentai.v1beta3.Document.Page" - + ".DetectedLanguage\022H\n\nprovenance\030\004 \001(\01324." - + "google.cloud.documentai.v1beta3.Document" - + ".Provenance\032\253\001\n\rDetectedBreak\022U\n\004type\030\001 " - + "\001(\0162G.google.cloud.documentai.v1beta3.Do" - + "cument.Page.Token.DetectedBreak.Type\"C\n\004" - + "Type\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\254\001\n\006Symbol\022E\n\006" - + "layout\030\001 \001(\01325.google.cloud.documentai.v" - + "1beta3.Document.Page.Layout\022[\n\022detected_" - + "languages\030\002 \003(\0132?.google.cloud.documenta" - + "i.v1beta3.Document.Page.DetectedLanguage" - + "\032\301\001\n\rVisualElement\022E\n\006layout\030\001 \001(\01325.goo" - + "gle.cloud.documentai.v1beta3.Document.Pa" - + "ge.Layout\022\014\n\004type\030\002 \001(\t\022[\n\022detected_lang" - + "uages\030\003 \003(\0132?.google.cloud.documentai.v1" - + "beta3.Document.Page.DetectedLanguage\032\202\005\n" - + "\005Table\022E\n\006layout\030\001 \001(\01325.google.cloud.do" - + "cumentai.v1beta3.Document.Page.Layout\022R\n" - + "\013header_rows\030\002 \003(\0132=.google.cloud.docume" - + "ntai.v1beta3.Document.Page.Table.TableRo" - + "w\022P\n\tbody_rows\030\003 \003(\0132=.google.cloud.docu" - + "mentai.v1beta3.Document.Page.Table.Table" - + "Row\022[\n\022detected_languages\030\004 \003(\0132?.google" - + ".cloud.documentai.v1beta3.Document.Page." - + "DetectedLanguage\032Y\n\010TableRow\022M\n\005cells\030\001 " - + "\003(\0132>.google.cloud.documentai.v1beta3.Do" - + "cument.Page.Table.TableCell\032\323\001\n\tTableCel" - + "l\022E\n\006layout\030\001 \001(\01325.google.cloud.documen" - + "tai.v1beta3.Document.Page.Layout\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.cloud.document" - + "ai.v1beta3.Document.Page.DetectedLanguag" - + "e\032\377\003\n\tFormField\022I\n\nfield_name\030\001 \001(\01325.go" - + "ogle.cloud.documentai.v1beta3.Document.P" - + "age.Layout\022J\n\013field_value\030\002 \001(\01325.google" - + ".cloud.documentai.v1beta3.Document.Page." - + "Layout\022`\n\027name_detected_languages\030\003 \003(\0132" - + "?.google.cloud.documentai.v1beta3.Docume" - + "nt.Page.DetectedLanguage\022a\n\030value_detect" - + "ed_languages\030\004 \003(\0132?.google.cloud.docume" - + "ntai.v1beta3.Document.Page.DetectedLangu" - + "age\022\022\n\nvalue_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\022H\n\nprovenance\030\010 \001(\01324.google.cloud.doc" - + "umentai.v1beta3.Document.Provenance\032\223\001\n\017" - + "DetectedBarcode\022E\n\006layout\030\001 \001(\01325.google" - + ".cloud.documentai.v1beta3.Document.Page." - + "Layout\0229\n\007barcode\030\002 \001(\0132(.google.cloud.d" - + "ocumentai.v1beta3.Barcode\032=\n\020DetectedLan" - + "guage\022\025\n\rlanguage_code\030\001 \001(\t\022\022\n\nconfiden" - + "ce\030\002 \001(\002\032\351\006\n\006Entity\022N\n\013text_anchor\030\001 \001(\013" - + "24.google.cloud.documentai.v1beta3.Docum" - + "ent.TextAnchorB\003\340A\001\022\021\n\004type\030\002 \001(\tB\003\340A\002\022\031" - + "\n\014mention_text\030\003 \001(\tB\003\340A\001\022\027\n\nmention_id\030" - + "\004 \001(\tB\003\340A\001\022\027\n\nconfidence\030\005 \001(\002B\003\340A\001\022N\n\013p" - + "age_anchor\030\006 \001(\01324.google.cloud.document" - + "ai.v1beta3.Document.PageAnchorB\003\340A\001\022\017\n\002i" - + "d\030\007 \001(\tB\003\340A\001\022_\n\020normalized_value\030\t \001(\0132@" - + ".google.cloud.documentai.v1beta3.Documen" - + "t.Entity.NormalizedValueB\003\340A\001\022I\n\npropert" - + "ies\030\n \003(\01320.google.cloud.documentai.v1be" - + "ta3.Document.EntityB\003\340A\001\022M\n\nprovenance\030\013" - + " \001(\01324.google.cloud.documentai.v1beta3.D" - + "ocument.ProvenanceB\003\340A\001\022\025\n\010redacted\030\014 \001(" - + "\010B\003\340A\001\032\273\002\n\017NormalizedValue\022)\n\013money_valu" - + "e\030\002 \001(\0132\022.google.type.MoneyH\000\022\'\n\ndate_va" - + "lue\030\003 \001(\0132\021.google.type.DateH\000\022/\n\016dateti" - + "me_value\030\004 \001(\0132\025.google.type.DateTimeH\000\022" - + "3\n\raddress_value\030\005 \001(\0132\032.google.type.Pos" - + "talAddressH\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\021\n\004text\030\001 \001(\tB\003\340A\001B\022\n\020structured_v" - + "alue\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.Document" - + ".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\t" - + "end_index\030\002 \001(\003\032\347\003\n\nPageAnchor\022O\n\tpage_r" - + "efs\030\001 \003(\0132<.google.cloud.documentai.v1be" - + "ta3.Document.PageAnchor.PageRef\032\207\003\n\007Page" - + "Ref\022\021\n\004page\030\001 \001(\003B\003\340A\002\022a\n\013layout_type\030\002 " - + "\001(\0162G.google.cloud.documentai.v1beta3.Do" - + "cument.PageAnchor.PageRef.LayoutTypeB\003\340A" - + "\001\022\030\n\tlayout_id\030\003 \001(\tB\005\030\001\340A\001\022I\n\rbounding_" - + "poly\030\004 \001(\0132-.google.cloud.documentai.v1b" - + "eta3.BoundingPolyB\003\340A\001\022\027\n\nconfidence\030\005 \001" - + "(\002B\003\340A\001\"\207\001\n\nLayoutType\022\033\n\027LAYOUT_TYPE_UN" - + "SPECIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n" - + "\004LINE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_ELEMENT\020\005\022\t" - + "\n\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007\032\226\003\n\nProvenance" - + "\022\020\n\010revision\030\001 \001(\005\022\016\n\002id\030\002 \001(\005B\002\030\001\022L\n\007pa" - + "rents\030\003 \003(\0132;.google.cloud.documentai.v1" - + "beta3.Document.Provenance.Parent\022P\n\004type" - + "\030\004 \001(\0162B.google.cloud.documentai.v1beta3" - + ".Document.Provenance.OperationType\0329\n\006Pa" - + "rent\022\020\n\010revision\030\001 \001(\005\022\r\n\005index\030\003 \001(\005\022\016\n" - + "\002id\030\002 \001(\005B\002\030\001\"\212\001\n\rOperationType\022\036\n\032OPERA" - + "TION_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMO" - + "VE\020\002\022\013\n\007REPLACE\020\003\022\022\n\016EVAL_REQUESTED\020\004\022\021\n" - + "\rEVAL_APPROVED\020\005\022\020\n\014EVAL_SKIPPED\020\006\032\252\002\n\010R" - + "evision\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" - + "\nparent_ids\030\007 \003(\t\022/\n\013create_time\030\003 \001(\0132\032" - + ".google.protobuf.Timestamp\022T\n\014human_revi" - + "ew\030\006 \001(\0132>.google.cloud.documentai.v1bet" - + "a3.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\267\001\n\nTextChange\022I\n\013text_a" - + "nchor\030\001 \001(\01324.google.cloud.documentai.v1" - + "beta3.Document.TextAnchor\022\024\n\014changed_tex" - + "t\030\002 \001(\t\022H\n\nprovenance\030\003 \003(\01324.google.clo" - + "ud.documentai.v1beta3.Document.Provenanc" - + "eB\010\n\006sourceB\352\001\n#com.google.cloud.documen" - + "tai.v1beta3B\rDocumentProtoP\001ZIgoogle.gol" - + "ang.org/genproto/googleapis/cloud/docume" - + "ntai/v1beta3;documentai\252\002\037Google.Cloud.D" - + "ocumentAI.V1Beta3\312\002\037Google\\Cloud\\Documen" - + "tAI\\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", - }); - 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", - "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", - }); - 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_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", - }); - 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_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", - }); - 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 4db207653209..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 2020 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 04127ba6593d..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 2020 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/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 53c65f500128..000000000000 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/FetchProcessorTypesRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 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 project of processor type to list.
-   * The available processor types may depend on the allow-listing on projects.
-   * 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 project of processor type to list.
-   * The available processor types may depend on the allow-listing on projects.
-   * 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 04bdf0048e6f..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 2020 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 bd6472ec9bf2..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 2020 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\352\001\n#com." - + "google.cloud.documentai.v1beta3B\rGeometr" - + "yProtoP\001ZIgoogle.golang.org/genproto/goo" - + "gleapis/cloud/documentai/v1beta3;documen" - + "tai\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037" - + "Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Google" - + "::Cloud::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/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 2c3c7109a9fd..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 2020 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/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 9e38322f8245..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 2020 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/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 ef165ec38594..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 2020 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 24eeb64bfd7f..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 2020 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\363\001\n#co" - + "m.google.cloud.documentai.v1beta3B\026Opera" - + "tionMetadataProtoP\001ZIgoogle.golang.org/g" - + "enproto/googleapis/cloud/documentai/v1be" - + "ta3;documentai\252\002\037Google.Cloud.DocumentAI" - + ".V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1bet" - + "a3\352\002\"Google::Cloud::DocumentAI::V1beta3b" - + "\006proto3" - }; - 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 972c3db07da8..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 2020 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 b085d5f67604..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 2020 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 2a423269cf4c..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 2020 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 846d9e108954..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 2020 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 710abecd6b1e..bb3422aaa2b6 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 @@ -32,6 +32,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 c8bcdc0cc3d9..098ee2e1315e 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 @@ -79,6 +79,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 b28b45c5d6d5..34e7b14c9635 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 @@ -33,6 +33,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.UnaryCallable; 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 99% 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 index d1f43171dee2..481abe081218 100644 --- 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 @@ -675,6 +675,7 @@ public void getProcessorVersionTest() throws Exception { "[PROJECT]", "[LOCATION]", "[PROCESSOR]", "[PROCESSOR_VERSION]") .toString()) .setDisplayName("displayName1714148973") + .setDocumentSchema(DocumentSchema.newBuilder().build()) .setCreateTime(Timestamp.newBuilder().build()) .setKmsKeyName("kmsKeyName412586233") .setKmsKeyVersionName("kmsKeyVersionName-1798811307") @@ -730,6 +731,7 @@ public void getProcessorVersionTest2() throws Exception { "[PROJECT]", "[LOCATION]", "[PROCESSOR]", "[PROCESSOR_VERSION]") .toString()) .setDisplayName("displayName1714148973") + .setDocumentSchema(DocumentSchema.newBuilder().build()) .setCreateTime(Timestamp.newBuilder().build()) .setKmsKeyName("kmsKeyName412586233") .setKmsKeyVersionName("kmsKeyVersionName-1798811307") 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 99% 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 index 48dbb3e79fbc..69530eedde9b 100644 --- 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 @@ -616,6 +616,7 @@ public void getProcessorVersionTest() throws Exception { "[PROJECT]", "[LOCATION]", "[PROCESSOR]", "[PROCESSOR_VERSION]") .toString()) .setDisplayName("displayName1714148973") + .setDocumentSchema(DocumentSchema.newBuilder().build()) .setCreateTime(Timestamp.newBuilder().build()) .setKmsKeyName("kmsKeyName412586233") .setKmsKeyVersionName("kmsKeyVersionName-1798811307") @@ -665,6 +666,7 @@ public void getProcessorVersionTest2() throws Exception { "[PROJECT]", "[LOCATION]", "[PROCESSOR]", "[PROCESSOR_VERSION]") .toString()) .setDisplayName("displayName1714148973") + .setDocumentSchema(DocumentSchema.newBuilder().build()) .setCreateTime(Timestamp.newBuilder().build()) .setKmsKeyName("kmsKeyName412586233") .setKmsKeyVersionName("kmsKeyVersionName-1798811307") 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..45162ba81770 --- /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,1726 @@ +package com.google.cloud.documentai.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service to call Cloud DocumentAI 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 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 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 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; + } + + /** + * 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 Cloud DocumentAI 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 { + + /** + *
+     * Processes a single document.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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 do not use ListProcessorTypes here
+     * because it is not paginated.
+     * 
+ */ + public 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.
+     * 
+ */ + public void listProcessorTypes(com.google.cloud.documentai.v1.ListProcessorTypesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListProcessorTypesMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getListProcessorsMethod(), responseObserver); + } + + /** + *
+     * Gets a processor detail.
+     * 
+ */ + public void getProcessor(com.google.cloud.documentai.v1.GetProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProcessorMethod(), responseObserver); + } + + /** + *
+     * Gets a processor version detail.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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 type processor that the user chose.
+     * 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.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.
+     * 
+ */ + public void deleteProcessor(com.google.cloud.documentai.v1.DeleteProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteProcessorMethod(), responseObserver); + } + + /** + *
+     * Enables a processor
+     * 
+ */ + public void enableProcessor(com.google.cloud.documentai.v1.EnableProcessorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEnableProcessorMethod(), responseObserver); + } + + /** + *
+     * Disables a processor
+     * 
+ */ + public 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].
+     * 
+ */ + public 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.
+     * 
+ */ + public void reviewDocument(com.google.cloud.documentai.v1.ReviewDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReviewDocumentMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_PROCESS_DOCUMENT))) + .addMethod( + getBatchProcessDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.BatchProcessRequest, + com.google.longrunning.Operation>( + this, 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>( + this, 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>( + this, METHODID_LIST_PROCESSOR_TYPES))) + .addMethod( + getListProcessorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.ListProcessorsRequest, + com.google.cloud.documentai.v1.ListProcessorsResponse>( + this, METHODID_LIST_PROCESSORS))) + .addMethod( + getGetProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.GetProcessorRequest, + com.google.cloud.documentai.v1.Processor>( + this, METHODID_GET_PROCESSOR))) + .addMethod( + getGetProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.GetProcessorVersionRequest, + com.google.cloud.documentai.v1.ProcessorVersion>( + this, 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>( + this, METHODID_LIST_PROCESSOR_VERSIONS))) + .addMethod( + getDeleteProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.DeleteProcessorVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PROCESSOR_VERSION))) + .addMethod( + getDeployProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.DeployProcessorVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DEPLOY_PROCESSOR_VERSION))) + .addMethod( + getUndeployProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.UndeployProcessorVersionRequest, + com.google.longrunning.Operation>( + this, 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>( + this, METHODID_CREATE_PROCESSOR))) + .addMethod( + getDeleteProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.DeleteProcessorRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PROCESSOR))) + .addMethod( + getEnableProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.EnableProcessorRequest, + com.google.longrunning.Operation>( + this, METHODID_ENABLE_PROCESSOR))) + .addMethod( + getDisableProcessorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.DisableProcessorRequest, + com.google.longrunning.Operation>( + this, METHODID_DISABLE_PROCESSOR))) + .addMethod( + getSetDefaultProcessorVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.SetDefaultProcessorVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_SET_DEFAULT_PROCESSOR_VERSION))) + .addMethod( + getReviewDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.documentai.v1.ReviewDocumentRequest, + com.google.longrunning.Operation>( + this, METHODID_REVIEW_DOCUMENT))) + .build(); + } + } + + /** + *
+   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
+     * because it is not 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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 type processor that the user chose.
+     * 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); + } + } + + /** + *
+   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
+     * because it is not 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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 type processor that the user chose.
+     * 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); + } + } + + /** + *
+   * Service to call Cloud DocumentAI 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 do not use ListProcessorTypes here
+     * because it is not 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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 type processor that the user chose.
+     * 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); + } + } + + 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_LIST_PROCESSORS = 4; + private static final int METHODID_GET_PROCESSOR = 5; + private static final int METHODID_GET_PROCESSOR_VERSION = 6; + private static final int METHODID_LIST_PROCESSOR_VERSIONS = 7; + private static final int METHODID_DELETE_PROCESSOR_VERSION = 8; + private static final int METHODID_DEPLOY_PROCESSOR_VERSION = 9; + private static final int METHODID_UNDEPLOY_PROCESSOR_VERSION = 10; + private static final int METHODID_CREATE_PROCESSOR = 11; + private static final int METHODID_DELETE_PROCESSOR = 12; + private static final int METHODID_ENABLE_PROCESSOR = 13; + private static final int METHODID_DISABLE_PROCESSOR = 14; + private static final int METHODID_SET_DEFAULT_PROCESSOR_VERSION = 15; + private static final int METHODID_REVIEW_DOCUMENT = 16; + + 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 DocumentProcessorServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DocumentProcessorServiceImplBase 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_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_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; + 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(); + } + } + } + + 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 String methodName; + + DocumentProcessorServiceMethodDescriptorSupplier(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(getListProcessorsMethod()) + .addMethod(getGetProcessorMethod()) + .addMethod(getGetProcessorVersionMethod()) + .addMethod(getListProcessorVersionsMethod()) + .addMethod(getDeleteProcessorVersionMethod()) + .addMethod(getDeployProcessorVersionMethod()) + .addMethod(getUndeployProcessorVersionMethod()) + .addMethod(getCreateProcessorMethod()) + .addMethod(getDeleteProcessorMethod()) + .addMethod(getEnableProcessorMethod()) + .addMethod(getDisableProcessorMethod()) + .addMethod(getSetDefaultProcessorVersionMethod()) + .addMethod(getReviewDocumentMethod()) + .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 56% 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 6ac73f9d41fd..cd94f7703a87 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 2020 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,56 +27,52 @@ private Barcode() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Barcode(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object format_; /** - * - * *
    * Format of a barcode.
    * The supported formats are:
-   *   CODE_128: Code 128 type.
-   *   CODE_39: Code 39 type.
-   *   CODE_93: Code 93 type.
-   *   CODABAR: Codabar type.
-   *   DATA_MATRIX: 2D Data Matrix type.
-   *   ITF: ITF type.
-   *   EAN_13: EAN-13 type.
-   *   EAN_8: EAN-8 type.
-   *   QR_CODE: 2D QR code type.
-   *   UPC_A: UPC-A type.
-   *   UPC_E: UPC-E type.
-   *   PDF417: PDF417 type.
-   *   AZTEC: 2D Aztec code type.
-   *   DATABAR: GS1 DataBar code type.
+   * - `CODE_128`: Code 128 type.
+   * - `CODE_39`: Code 39 type.
+   * - `CODE_93`: Code 93 type.
+   * - `CODABAR`: Codabar type.
+   * - `DATA_MATRIX`: 2D Data Matrix type.
+   * - `ITF`: ITF type.
+   * - `EAN_13`: EAN-13 type.
+   * - `EAN_8`: EAN-8 type.
+   * - `QR_CODE`: 2D QR code type.
+   * - `UPC_A`: UPC-A type.
+   * - `UPC_E`: UPC-E type.
+   * - `PDF417`: PDF417 type.
+   * - `AZTEC`: 2D Aztec code type.
+   * - `DATABAR`: GS1 DataBar code type.
    * 
* * string format = 1; - * * @return The format. */ @java.lang.Override @@ -103,44 +81,44 @@ 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:
-   *   CODE_128: Code 128 type.
-   *   CODE_39: Code 39 type.
-   *   CODE_93: Code 93 type.
-   *   CODABAR: Codabar type.
-   *   DATA_MATRIX: 2D Data Matrix type.
-   *   ITF: ITF type.
-   *   EAN_13: EAN-13 type.
-   *   EAN_8: EAN-8 type.
-   *   QR_CODE: 2D QR code type.
-   *   UPC_A: UPC-A type.
-   *   UPC_E: UPC-E type.
-   *   PDF417: PDF417 type.
-   *   AZTEC: 2D Aztec code type.
-   *   DATABAR: GS1 DataBar code type.
+   * - `CODE_128`: Code 128 type.
+   * - `CODE_39`: Code 39 type.
+   * - `CODE_93`: Code 93 type.
+   * - `CODABAR`: Codabar type.
+   * - `DATA_MATRIX`: 2D Data Matrix type.
+   * - `ITF`: ITF type.
+   * - `EAN_13`: EAN-13 type.
+   * - `EAN_8`: EAN-8 type.
+   * - `QR_CODE`: 2D QR code type.
+   * - `UPC_A`: UPC-A type.
+   * - `UPC_E`: UPC-E type.
+   * - `PDF417`: PDF417 type.
+   * - `AZTEC`: 2D Aztec code type.
+   * - `DATABAR`: GS1 DataBar code type.
    * 
* * 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 { @@ -151,28 +129,25 @@ public com.google.protobuf.ByteString getFormatBytes() { public static final int VALUE_FORMAT_FIELD_NUMBER = 2; private volatile java.lang.Object valueFormat_; /** - * - * *
    * Value format describes the format of the value that a barcode
    * encodes.
    * The supported formats are:
-   *   CONTACT_INFO: Contact information.
-   *   EMAIL: Email address.
-   *   ISBN: ISBN identifier.
-   *   PHONE: Phone number.
-   *   PRODUCT: Product.
-   *   SMS: SMS message.
-   *   TEXT: Text string.
-   *   URL: URL address.
-   *   WIFI: Wifi information.
-   *   GEO: Geo-localization.
-   *   CALENDAR_EVENT: Calendar event.
-   *   DRIVER_LICENSE: Driver's license.
+   * - `CONTACT_INFO`: Contact information.
+   * - `EMAIL`: Email address.
+   * - `ISBN`: ISBN identifier.
+   * - `PHONE`: Phone number.
+   * - `PRODUCT`: Product.
+   * - `SMS`: SMS message.
+   * - `TEXT`: Text string.
+   * - `URL`: URL address.
+   * - `WIFI`: Wifi information.
+   * - `GEO`: Geo-localization.
+   * - `CALENDAR_EVENT`: Calendar event.
+   * - `DRIVER_LICENSE`: Driver's license.
    * 
* * string value_format = 2; - * * @return The valueFormat. */ @java.lang.Override @@ -181,43 +156,43 @@ 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.
    * The supported formats are:
-   *   CONTACT_INFO: Contact information.
-   *   EMAIL: Email address.
-   *   ISBN: ISBN identifier.
-   *   PHONE: Phone number.
-   *   PRODUCT: Product.
-   *   SMS: SMS message.
-   *   TEXT: Text string.
-   *   URL: URL address.
-   *   WIFI: Wifi information.
-   *   GEO: Geo-localization.
-   *   CALENDAR_EVENT: Calendar event.
-   *   DRIVER_LICENSE: Driver's license.
+   * - `CONTACT_INFO`: Contact information.
+   * - `EMAIL`: Email address.
+   * - `ISBN`: ISBN identifier.
+   * - `PHONE`: Phone number.
+   * - `PRODUCT`: Product.
+   * - `SMS`: SMS message.
+   * - `TEXT`: Text string.
+   * - `URL`: URL address.
+   * - `WIFI`: Wifi information.
+   * - `GEO`: Geo-localization.
+   * - `CALENDAR_EVENT`: Calendar event.
+   * - `DRIVER_LICENSE`: Driver's license.
    * 
* * 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 { @@ -228,15 +203,12 @@ public com.google.protobuf.ByteString getValueFormatBytes() { public static final int RAW_VALUE_FIELD_NUMBER = 3; private volatile java.lang.Object rawValue_; /** - * - * *
    * Raw value encoded in the barcode.
-   * For example, 'MEBKM:TITLE:Google;URL:https://www.google.com;;'.
+   * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
    * 
* * string raw_value = 3; - * * @return The rawValue. */ @java.lang.Override @@ -245,30 +217,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;;'.
+   * 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 { @@ -277,7 +249,6 @@ public com.google.protobuf.ByteString getRawValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +260,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_); } @@ -325,16 +297,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; } @@ -357,136 +332,130 @@ 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(); @@ -500,9 +469,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 @@ -521,8 +490,7 @@ 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); + com.google.cloud.documentai.v1.Barcode result = new com.google.cloud.documentai.v1.Barcode(this); result.format_ = format_; result.valueFormat_ = valueFormat_; result.rawValue_ = rawValue_; @@ -534,39 +502,38 @@ public com.google.cloud.documentai.v1.Barcode 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.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; @@ -613,31 +580,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - format_ = input.readStringRequireUtf8(); + case 10: { + format_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - valueFormat_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + valueFormat_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - rawValue_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + rawValue_ = input.readStringRequireUtf8(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -650,35 +613,33 @@ public Builder mergeFrom( private java.lang.Object format_ = ""; /** - * - * *
      * Format of a barcode.
      * The supported formats are:
-     *   CODE_128: Code 128 type.
-     *   CODE_39: Code 39 type.
-     *   CODE_93: Code 93 type.
-     *   CODABAR: Codabar type.
-     *   DATA_MATRIX: 2D Data Matrix type.
-     *   ITF: ITF type.
-     *   EAN_13: EAN-13 type.
-     *   EAN_8: EAN-8 type.
-     *   QR_CODE: 2D QR code type.
-     *   UPC_A: UPC-A type.
-     *   UPC_E: UPC-E type.
-     *   PDF417: PDF417 type.
-     *   AZTEC: 2D Aztec code type.
-     *   DATABAR: GS1 DataBar code type.
+     * - `CODE_128`: Code 128 type.
+     * - `CODE_39`: Code 39 type.
+     * - `CODE_93`: Code 93 type.
+     * - `CODABAR`: Codabar type.
+     * - `DATA_MATRIX`: 2D Data Matrix type.
+     * - `ITF`: ITF type.
+     * - `EAN_13`: EAN-13 type.
+     * - `EAN_8`: EAN-8 type.
+     * - `QR_CODE`: 2D QR code type.
+     * - `UPC_A`: UPC-A type.
+     * - `UPC_E`: UPC-E type.
+     * - `PDF417`: PDF417 type.
+     * - `AZTEC`: 2D Aztec code type.
+     * - `DATABAR`: GS1 DataBar code type.
      * 
* * 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; @@ -687,36 +648,35 @@ public java.lang.String getFormat() { } } /** - * - * *
      * Format of a barcode.
      * The supported formats are:
-     *   CODE_128: Code 128 type.
-     *   CODE_39: Code 39 type.
-     *   CODE_93: Code 93 type.
-     *   CODABAR: Codabar type.
-     *   DATA_MATRIX: 2D Data Matrix type.
-     *   ITF: ITF type.
-     *   EAN_13: EAN-13 type.
-     *   EAN_8: EAN-8 type.
-     *   QR_CODE: 2D QR code type.
-     *   UPC_A: UPC-A type.
-     *   UPC_E: UPC-E type.
-     *   PDF417: PDF417 type.
-     *   AZTEC: 2D Aztec code type.
-     *   DATABAR: GS1 DataBar code type.
+     * - `CODE_128`: Code 128 type.
+     * - `CODE_39`: Code 39 type.
+     * - `CODE_93`: Code 93 type.
+     * - `CODABAR`: Codabar type.
+     * - `DATA_MATRIX`: 2D Data Matrix type.
+     * - `ITF`: ITF type.
+     * - `EAN_13`: EAN-13 type.
+     * - `EAN_8`: EAN-8 type.
+     * - `QR_CODE`: 2D QR code type.
+     * - `UPC_A`: UPC-A type.
+     * - `UPC_E`: UPC-E type.
+     * - `PDF417`: PDF417 type.
+     * - `AZTEC`: 2D Aztec code type.
+     * - `DATABAR`: GS1 DataBar code type.
      * 
* * 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 { @@ -724,106 +684,99 @@ public com.google.protobuf.ByteString getFormatBytes() { } } /** - * - * *
      * Format of a barcode.
      * The supported formats are:
-     *   CODE_128: Code 128 type.
-     *   CODE_39: Code 39 type.
-     *   CODE_93: Code 93 type.
-     *   CODABAR: Codabar type.
-     *   DATA_MATRIX: 2D Data Matrix type.
-     *   ITF: ITF type.
-     *   EAN_13: EAN-13 type.
-     *   EAN_8: EAN-8 type.
-     *   QR_CODE: 2D QR code type.
-     *   UPC_A: UPC-A type.
-     *   UPC_E: UPC-E type.
-     *   PDF417: PDF417 type.
-     *   AZTEC: 2D Aztec code type.
-     *   DATABAR: GS1 DataBar code type.
+     * - `CODE_128`: Code 128 type.
+     * - `CODE_39`: Code 39 type.
+     * - `CODE_93`: Code 93 type.
+     * - `CODABAR`: Codabar type.
+     * - `DATA_MATRIX`: 2D Data Matrix type.
+     * - `ITF`: ITF type.
+     * - `EAN_13`: EAN-13 type.
+     * - `EAN_8`: EAN-8 type.
+     * - `QR_CODE`: 2D QR code type.
+     * - `UPC_A`: UPC-A type.
+     * - `UPC_E`: UPC-E type.
+     * - `PDF417`: PDF417 type.
+     * - `AZTEC`: 2D Aztec code type.
+     * - `DATABAR`: GS1 DataBar code type.
      * 
* * string format = 1; - * * @param value The format to set. * @return This builder for chaining. */ - public Builder setFormat(java.lang.String value) { + public Builder setFormat( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + format_ = value; onChanged(); return this; } /** - * - * *
      * Format of a barcode.
      * The supported formats are:
-     *   CODE_128: Code 128 type.
-     *   CODE_39: Code 39 type.
-     *   CODE_93: Code 93 type.
-     *   CODABAR: Codabar type.
-     *   DATA_MATRIX: 2D Data Matrix type.
-     *   ITF: ITF type.
-     *   EAN_13: EAN-13 type.
-     *   EAN_8: EAN-8 type.
-     *   QR_CODE: 2D QR code type.
-     *   UPC_A: UPC-A type.
-     *   UPC_E: UPC-E type.
-     *   PDF417: PDF417 type.
-     *   AZTEC: 2D Aztec code type.
-     *   DATABAR: GS1 DataBar code type.
+     * - `CODE_128`: Code 128 type.
+     * - `CODE_39`: Code 39 type.
+     * - `CODE_93`: Code 93 type.
+     * - `CODABAR`: Codabar type.
+     * - `DATA_MATRIX`: 2D Data Matrix type.
+     * - `ITF`: ITF type.
+     * - `EAN_13`: EAN-13 type.
+     * - `EAN_8`: EAN-8 type.
+     * - `QR_CODE`: 2D QR code type.
+     * - `UPC_A`: UPC-A type.
+     * - `UPC_E`: UPC-E type.
+     * - `PDF417`: PDF417 type.
+     * - `AZTEC`: 2D Aztec code type.
+     * - `DATABAR`: GS1 DataBar code type.
      * 
* * string format = 1; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** - * - * *
      * Format of a barcode.
      * The supported formats are:
-     *   CODE_128: Code 128 type.
-     *   CODE_39: Code 39 type.
-     *   CODE_93: Code 93 type.
-     *   CODABAR: Codabar type.
-     *   DATA_MATRIX: 2D Data Matrix type.
-     *   ITF: ITF type.
-     *   EAN_13: EAN-13 type.
-     *   EAN_8: EAN-8 type.
-     *   QR_CODE: 2D QR code type.
-     *   UPC_A: UPC-A type.
-     *   UPC_E: UPC-E type.
-     *   PDF417: PDF417 type.
-     *   AZTEC: 2D Aztec code type.
-     *   DATABAR: GS1 DataBar code type.
+     * - `CODE_128`: Code 128 type.
+     * - `CODE_39`: Code 39 type.
+     * - `CODE_93`: Code 93 type.
+     * - `CODABAR`: Codabar type.
+     * - `DATA_MATRIX`: 2D Data Matrix type.
+     * - `ITF`: ITF type.
+     * - `EAN_13`: EAN-13 type.
+     * - `EAN_8`: EAN-8 type.
+     * - `QR_CODE`: 2D QR code type.
+     * - `UPC_A`: UPC-A type.
+     * - `UPC_E`: UPC-E type.
+     * - `PDF417`: PDF417 type.
+     * - `AZTEC`: 2D Aztec code type.
+     * - `DATABAR`: GS1 DataBar code type.
      * 
* * string format = 1; - * * @param value The bytes for format to set. * @return This builder for chaining. */ - public Builder setFormatBytes(com.google.protobuf.ByteString value) { + public Builder setFormatBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + format_ = value; onChanged(); return this; @@ -831,34 +784,32 @@ 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.
      * The supported formats are:
-     *   CONTACT_INFO: Contact information.
-     *   EMAIL: Email address.
-     *   ISBN: ISBN identifier.
-     *   PHONE: Phone number.
-     *   PRODUCT: Product.
-     *   SMS: SMS message.
-     *   TEXT: Text string.
-     *   URL: URL address.
-     *   WIFI: Wifi information.
-     *   GEO: Geo-localization.
-     *   CALENDAR_EVENT: Calendar event.
-     *   DRIVER_LICENSE: Driver's license.
+     * - `CONTACT_INFO`: Contact information.
+     * - `EMAIL`: Email address.
+     * - `ISBN`: ISBN identifier.
+     * - `PHONE`: Phone number.
+     * - `PRODUCT`: Product.
+     * - `SMS`: SMS message.
+     * - `TEXT`: Text string.
+     * - `URL`: URL address.
+     * - `WIFI`: Wifi information.
+     * - `GEO`: Geo-localization.
+     * - `CALENDAR_EVENT`: Calendar event.
+     * - `DRIVER_LICENSE`: Driver's license.
      * 
* * 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; @@ -867,35 +818,34 @@ public java.lang.String getValueFormat() { } } /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
      * The supported formats are:
-     *   CONTACT_INFO: Contact information.
-     *   EMAIL: Email address.
-     *   ISBN: ISBN identifier.
-     *   PHONE: Phone number.
-     *   PRODUCT: Product.
-     *   SMS: SMS message.
-     *   TEXT: Text string.
-     *   URL: URL address.
-     *   WIFI: Wifi information.
-     *   GEO: Geo-localization.
-     *   CALENDAR_EVENT: Calendar event.
-     *   DRIVER_LICENSE: Driver's license.
+     * - `CONTACT_INFO`: Contact information.
+     * - `EMAIL`: Email address.
+     * - `ISBN`: ISBN identifier.
+     * - `PHONE`: Phone number.
+     * - `PRODUCT`: Product.
+     * - `SMS`: SMS message.
+     * - `TEXT`: Text string.
+     * - `URL`: URL address.
+     * - `WIFI`: Wifi information.
+     * - `GEO`: Geo-localization.
+     * - `CALENDAR_EVENT`: Calendar event.
+     * - `DRIVER_LICENSE`: Driver's license.
      * 
* * 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 { @@ -903,103 +853,96 @@ public com.google.protobuf.ByteString getValueFormatBytes() { } } /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
      * The supported formats are:
-     *   CONTACT_INFO: Contact information.
-     *   EMAIL: Email address.
-     *   ISBN: ISBN identifier.
-     *   PHONE: Phone number.
-     *   PRODUCT: Product.
-     *   SMS: SMS message.
-     *   TEXT: Text string.
-     *   URL: URL address.
-     *   WIFI: Wifi information.
-     *   GEO: Geo-localization.
-     *   CALENDAR_EVENT: Calendar event.
-     *   DRIVER_LICENSE: Driver's license.
+     * - `CONTACT_INFO`: Contact information.
+     * - `EMAIL`: Email address.
+     * - `ISBN`: ISBN identifier.
+     * - `PHONE`: Phone number.
+     * - `PRODUCT`: Product.
+     * - `SMS`: SMS message.
+     * - `TEXT`: Text string.
+     * - `URL`: URL address.
+     * - `WIFI`: Wifi information.
+     * - `GEO`: Geo-localization.
+     * - `CALENDAR_EVENT`: Calendar event.
+     * - `DRIVER_LICENSE`: Driver's license.
      * 
* * string value_format = 2; - * * @param value The valueFormat to set. * @return This builder for chaining. */ - public Builder setValueFormat(java.lang.String value) { + public Builder setValueFormat( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + valueFormat_ = value; onChanged(); return this; } /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
      * The supported formats are:
-     *   CONTACT_INFO: Contact information.
-     *   EMAIL: Email address.
-     *   ISBN: ISBN identifier.
-     *   PHONE: Phone number.
-     *   PRODUCT: Product.
-     *   SMS: SMS message.
-     *   TEXT: Text string.
-     *   URL: URL address.
-     *   WIFI: Wifi information.
-     *   GEO: Geo-localization.
-     *   CALENDAR_EVENT: Calendar event.
-     *   DRIVER_LICENSE: Driver's license.
+     * - `CONTACT_INFO`: Contact information.
+     * - `EMAIL`: Email address.
+     * - `ISBN`: ISBN identifier.
+     * - `PHONE`: Phone number.
+     * - `PRODUCT`: Product.
+     * - `SMS`: SMS message.
+     * - `TEXT`: Text string.
+     * - `URL`: URL address.
+     * - `WIFI`: Wifi information.
+     * - `GEO`: Geo-localization.
+     * - `CALENDAR_EVENT`: Calendar event.
+     * - `DRIVER_LICENSE`: Driver's license.
      * 
* * string value_format = 2; - * * @return This builder for chaining. */ public Builder clearValueFormat() { - + valueFormat_ = getDefaultInstance().getValueFormat(); onChanged(); return this; } /** - * - * *
      * Value format describes the format of the value that a barcode
      * encodes.
      * The supported formats are:
-     *   CONTACT_INFO: Contact information.
-     *   EMAIL: Email address.
-     *   ISBN: ISBN identifier.
-     *   PHONE: Phone number.
-     *   PRODUCT: Product.
-     *   SMS: SMS message.
-     *   TEXT: Text string.
-     *   URL: URL address.
-     *   WIFI: Wifi information.
-     *   GEO: Geo-localization.
-     *   CALENDAR_EVENT: Calendar event.
-     *   DRIVER_LICENSE: Driver's license.
+     * - `CONTACT_INFO`: Contact information.
+     * - `EMAIL`: Email address.
+     * - `ISBN`: ISBN identifier.
+     * - `PHONE`: Phone number.
+     * - `PRODUCT`: Product.
+     * - `SMS`: SMS message.
+     * - `TEXT`: Text string.
+     * - `URL`: URL address.
+     * - `WIFI`: Wifi information.
+     * - `GEO`: Geo-localization.
+     * - `CALENDAR_EVENT`: Calendar event.
+     * - `DRIVER_LICENSE`: Driver's license.
      * 
* * 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) { + public Builder setValueFormatBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + valueFormat_ = value; onChanged(); return this; @@ -1007,21 +950,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;;'.
+     * 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; @@ -1030,22 +971,21 @@ public java.lang.String getRawValue() { } } /** - * - * *
      * Raw value encoded in the barcode.
-     * For example, 'MEBKM:TITLE:Google;URL:https://www.google.com;;'.
+     * 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 { @@ -1053,71 +993,64 @@ public com.google.protobuf.ByteString getRawValueBytes() { } } /** - * - * *
      * Raw value encoded in the barcode.
-     * For example, 'MEBKM:TITLE:Google;URL:https://www.google.com;;'.
+     * 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) { + public Builder setRawValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rawValue_ = value; onChanged(); return this; } /** - * - * *
      * Raw value encoded in the barcode.
-     * For example, 'MEBKM:TITLE:Google;URL:https://www.google.com;;'.
+     * For example: `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
      * 
* * string raw_value = 3; - * * @return This builder for chaining. */ public Builder clearRawValue() { - + rawValue_ = getDefaultInstance().getRawValue(); onChanged(); return this; } /** - * - * *
      * Raw value encoded in the barcode.
-     * For example, 'MEBKM:TITLE:Google;URL:https://www.google.com;;'.
+     * 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) { + public Builder setRawValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rawValue_ = value; 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); } @@ -1127,12 +1060,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(); } @@ -1141,27 +1074,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; @@ -1176,4 +1109,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.documentai.v1.Barcode 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/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 new file mode 100644 index 000000000000..e3f706082a45 --- /dev/null +++ b/owl-bot-staging/java-document-ai/v1/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeOrBuilder.java @@ -0,0 +1,129 @@ +// 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 + // @@protoc_insertion_point(interface_extends:google.cloud.documentai.v1.Barcode) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Format of a barcode.
+   * The supported formats are:
+   * - `CODE_128`: Code 128 type.
+   * - `CODE_39`: Code 39 type.
+   * - `CODE_93`: Code 93 type.
+   * - `CODABAR`: Codabar type.
+   * - `DATA_MATRIX`: 2D Data Matrix type.
+   * - `ITF`: ITF type.
+   * - `EAN_13`: EAN-13 type.
+   * - `EAN_8`: EAN-8 type.
+   * - `QR_CODE`: 2D QR code type.
+   * - `UPC_A`: UPC-A type.
+   * - `UPC_E`: UPC-E type.
+   * - `PDF417`: PDF417 type.
+   * - `AZTEC`: 2D Aztec code type.
+   * - `DATABAR`: GS1 DataBar code type.
+   * 
+ * + * string format = 1; + * @return The format. + */ + java.lang.String getFormat(); + /** + *
+   * Format of a barcode.
+   * The supported formats are:
+   * - `CODE_128`: Code 128 type.
+   * - `CODE_39`: Code 39 type.
+   * - `CODE_93`: Code 93 type.
+   * - `CODABAR`: Codabar type.
+   * - `DATA_MATRIX`: 2D Data Matrix type.
+   * - `ITF`: ITF type.
+   * - `EAN_13`: EAN-13 type.
+   * - `EAN_8`: EAN-8 type.
+   * - `QR_CODE`: 2D QR code type.
+   * - `UPC_A`: UPC-A type.
+   * - `UPC_E`: UPC-E type.
+   * - `PDF417`: PDF417 type.
+   * - `AZTEC`: 2D Aztec code type.
+   * - `DATABAR`: GS1 DataBar code type.
+   * 
+ * + * string format = 1; + * @return The bytes for format. + */ + com.google.protobuf.ByteString + getFormatBytes(); + + /** + *
+   * Value format describes the format of the value that a barcode
+   * encodes.
+   * The supported formats are:
+   * - `CONTACT_INFO`: Contact information.
+   * - `EMAIL`: Email address.
+   * - `ISBN`: ISBN identifier.
+   * - `PHONE`: Phone number.
+   * - `PRODUCT`: Product.
+   * - `SMS`: SMS message.
+   * - `TEXT`: Text string.
+   * - `URL`: URL address.
+   * - `WIFI`: Wifi information.
+   * - `GEO`: Geo-localization.
+   * - `CALENDAR_EVENT`: Calendar event.
+   * - `DRIVER_LICENSE`: Driver's license.
+   * 
+ * + * string value_format = 2; + * @return The valueFormat. + */ + java.lang.String getValueFormat(); + /** + *
+   * Value format describes the format of the value that a barcode
+   * encodes.
+   * The supported formats are:
+   * - `CONTACT_INFO`: Contact information.
+   * - `EMAIL`: Email address.
+   * - `ISBN`: ISBN identifier.
+   * - `PHONE`: Phone number.
+   * - `PRODUCT`: Product.
+   * - `SMS`: SMS message.
+   * - `TEXT`: Text string.
+   * - `URL`: URL address.
+   * - `WIFI`: Wifi information.
+   * - `GEO`: Geo-localization.
+   * - `CALENDAR_EVENT`: Calendar event.
+   * - `DRIVER_LICENSE`: Driver's license.
+   * 
+ * + * string value_format = 2; + * @return The bytes for valueFormat. + */ + 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(); +} 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..d09cdd0053f2 --- /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\320\001\n\036com.google.cloud." + + "documentai.v1B\014BarcodeProtoP\001ZDgoogle.go" + + "lang.org/genproto/googleapis/cloud/docum" + + "entai/v1;documentai\252\002\032Google.Cloud.Docum" + + "entAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035" + + "Google::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 69% 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 d6cb57aafd0b..d0c99766a4b7 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,82 +1,61 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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; } @@ -92,36 +71,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].
+   * 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 @@ -129,28 +102,23 @@ public boolean hasGcsPrefix() { return sourceCase_ == 1; } /** - * - * *
-   * The set of documents that match the specified Cloud Storage [gcs_prefix].
+   * 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].
+   * The set of documents that match the specified Cloud Storage `gcs_prefix`.
    * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; @@ -158,21 +126,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 @@ -180,26 +145,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.
    * 
@@ -209,13 +169,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; @@ -227,7 +186,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_); } @@ -244,14 +204,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; @@ -261,21 +219,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: @@ -309,136 +268,129 @@ 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(); @@ -454,9 +406,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 @@ -475,8 +427,7 @@ 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); + com.google.cloud.documentai.v1.BatchDocumentsInputConfig result = new com.google.cloud.documentai.v1.BatchDocumentsInputConfig(this); if (sourceCase_ == 1) { if (gcsPrefixBuilder_ == null) { result.source_ = source_; @@ -500,39 +451,38 @@ public com.google.cloud.documentai.v1.BatchDocumentsInputConfig 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.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; @@ -540,23 +490,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(); @@ -584,25 +530,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) { @@ -612,12 +559,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() { @@ -627,20 +574,15 @@ public Builder clearSource() { return this; } + 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].
+     * 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 @@ -648,14 +590,11 @@ public boolean hasGcsPrefix() { return sourceCase_ == 1; } /** - * - * *
-     * The set of documents that match the specified Cloud Storage [gcs_prefix].
+     * 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 @@ -673,10 +612,8 @@ public com.google.cloud.documentai.v1.GcsPrefix getGcsPrefix() { } } /** - * - * *
-     * The set of documents that match the specified Cloud Storage [gcs_prefix].
+     * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; @@ -695,15 +632,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].
+     * 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(); @@ -714,23 +650,18 @@ 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].
+     * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; */ 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; } @@ -746,10 +677,8 @@ public Builder mergeGcsPrefix(com.google.cloud.documentai.v1.GcsPrefix value) { return this; } /** - * - * *
-     * The set of documents that match the specified Cloud Storage [gcs_prefix].
+     * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; @@ -771,10 +700,8 @@ public Builder clearGcsPrefix() { return this; } /** - * - * *
-     * The set of documents that match the specified Cloud Storage [gcs_prefix].
+     * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; @@ -783,10 +710,8 @@ public com.google.cloud.documentai.v1.GcsPrefix.Builder getGcsPrefixBuilder() { return getGcsPrefixFieldBuilder().getBuilder(); } /** - * - * *
-     * The set of documents that match the specified Cloud Storage [gcs_prefix].
+     * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; @@ -803,53 +728,39 @@ public com.google.cloud.documentai.v1.GcsPrefixOrBuilder getGcsPrefixOrBuilder() } } /** - * - * *
-     * The set of documents that match the specified Cloud Storage [gcs_prefix].
+     * The set of documents that match the specified Cloud Storage `gcs_prefix`.
      * 
* * .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()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsPrefixBuilder_; } 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 @@ -857,14 +768,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 @@ -882,8 +790,6 @@ public com.google.cloud.documentai.v1.GcsDocuments getGcsDocuments() { } } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -904,8 +810,6 @@ public Builder setGcsDocuments(com.google.cloud.documentai.v1.GcsDocuments value return this; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -924,8 +828,6 @@ public Builder setGcsDocuments( return this; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -934,13 +836,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; } @@ -956,8 +855,6 @@ public Builder mergeGcsDocuments(com.google.cloud.documentai.v1.GcsDocuments val return this; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -981,8 +878,6 @@ public Builder clearGcsDocuments() { return this; } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -993,8 +888,6 @@ public com.google.cloud.documentai.v1.GcsDocuments.Builder getGcsDocumentsBuilde return getGcsDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -1013,8 +906,6 @@ public com.google.cloud.documentai.v1.GcsDocumentsOrBuilder getGcsDocumentsOrBui } } /** - * - * *
      * The set of documents individually specified on Cloud Storage.
      * 
@@ -1022,32 +913,26 @@ 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()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + 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); } @@ -1057,12 +942,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(); } @@ -1071,27 +956,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; @@ -1106,4 +991,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 71% 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 63ef09889624..93fbe614f1d9 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,57 +1,33 @@ -/* - * Copyright 2020 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].
+   * 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].
+   * 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].
+   * The set of documents that match the specified Cloud Storage `gcs_prefix`.
    * 
* * .google.cloud.documentai.v1.GcsPrefix gcs_prefix = 1; @@ -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 d43c12a59b6a..1b9b2d4241cf 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,42 +1,24 @@ -/* - * Copyright 2020 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 batch process method.
  * 
* * 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_ = ""; @@ -45,43 +27,39 @@ private BatchProcessMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchProcessMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
      * 
@@ -90,8 +68,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Request operation is waiting for scheduling.
      * 
@@ -100,8 +76,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ WAITING(1), /** - * - * *
      * Request is being processed.
      * 
@@ -110,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The batch processing completed successfully.
      * 
@@ -120,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * The batch processing was being cancelled.
      * 
@@ -130,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(4), /** - * - * *
      * The batch processing was cancelled.
      * 
@@ -140,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(5), /** - * - * *
      * The batch processing has failed.
      * 
@@ -153,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -163,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Request operation is waiting for scheduling.
      * 
@@ -173,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WAITING_VALUE = 1; /** - * - * *
      * Request is being processed.
      * 
@@ -183,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The batch processing completed successfully.
      * 
@@ -193,8 +151,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * The batch processing was being cancelled.
      * 
@@ -203,8 +159,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 4; /** - * - * *
      * The batch processing was cancelled.
      * 
@@ -213,8 +167,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 5; /** - * - * *
      * The batch processing has failed.
      * 
@@ -223,6 +175,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( @@ -247,59 +200,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; @@ -316,14 +263,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] field in the
      * request when the batch process started. The batch process is started by
@@ -332,13 +276,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] field in the
      * request when the batch process started. The batch process is started by
@@ -347,38 +288,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.
      * 
@@ -388,59 +321,46 @@ public interface IndividualProcessStatusOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
      * The output_gcs_destination (in the request as `output_gcs_destination`)
      * of the processed document if it was successful, otherwise empty.
      * 
* * string output_gcs_destination = 3; - * * @return The outputGcsDestination. */ java.lang.String getOutputGcsDestination(); /** - * - * *
      * The output_gcs_destination (in the request as `output_gcs_destination`)
      * of the processed document if it was successful, otherwise empty.
      * 
* * 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.
      * 
@@ -450,24 +370,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_ = ""; @@ -475,36 +392,32 @@ private IndividualProcessStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IndividualProcessStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object inputGcsSource_; /** - * - * *
      * The source of the document, same as the [input_gcs_source] field in the
      * request when the batch process started. The batch process is started by
@@ -513,7 +426,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string input_gcs_source = 1; - * * @return The inputGcsSource. */ @java.lang.Override @@ -522,15 +434,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] field in the
      * request when the batch process started. The batch process is started by
@@ -539,15 +450,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 { @@ -558,14 +470,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 @@ -573,14 +482,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The status processing the document.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -588,8 +494,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The status processing the document.
      * 
@@ -604,15 +508,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int OUTPUT_GCS_DESTINATION_FIELD_NUMBER = 3; private volatile java.lang.Object outputGcsDestination_; /** - * - * *
      * The output_gcs_destination (in the request as `output_gcs_destination`)
      * of the processed document if it was successful, otherwise empty.
      * 
* * string output_gcs_destination = 3; - * * @return The outputGcsDestination. */ @java.lang.Override @@ -621,30 +522,30 @@ 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 output_gcs_destination (in the request as `output_gcs_destination`)
      * of the processed document if it was successful, otherwise empty.
      * 
* * 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 { @@ -655,14 +556,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 @@ -670,25 +568,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.
      * 
@@ -696,13 +587,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() { + public com.google.cloud.documentai.v1.HumanReviewStatusOrBuilder getHumanReviewStatusOrBuilder() { return getHumanReviewStatus(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -714,7 +603,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_); } @@ -740,13 +630,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; @@ -756,24 +648,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; @@ -803,101 +697,88 @@ 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 @@ -907,43 +788,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(); @@ -967,22 +844,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); } @@ -990,10 +864,8 @@ 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); + 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); result.inputGcsSource_ = inputGcsSource_; if (statusBuilder_ == null) { result.status_ = status_; @@ -1014,55 +886,46 @@ public com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStat 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_; onChanged(); @@ -1103,38 +966,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - inputGcsSource_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - outputGcsDestination_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 42: - { - input.readMessage( - getHumanReviewStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + inputGcsSource_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + outputGcsDestination_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 42: { + input.readMessage( + getHumanReviewStatusFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -1147,8 +1008,6 @@ public Builder mergeFrom( private java.lang.Object inputGcsSource_ = ""; /** - * - * *
        * The source of the document, same as the [input_gcs_source] field in the
        * request when the batch process started. The batch process is started by
@@ -1157,13 +1016,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; @@ -1172,8 +1031,6 @@ public java.lang.String getInputGcsSource() { } } /** - * - * *
        * The source of the document, same as the [input_gcs_source] field in the
        * request when the batch process started. The batch process is started by
@@ -1182,14 +1039,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 { @@ -1197,8 +1055,6 @@ public com.google.protobuf.ByteString getInputGcsSourceBytes() { } } /** - * - * *
        * The source of the document, same as the [input_gcs_source] field in the
        * request when the batch process started. The batch process is started by
@@ -1207,22 +1063,20 @@ 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) { + public Builder setInputGcsSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + inputGcsSource_ = value; onChanged(); return this; } /** - * - * *
        * The source of the document, same as the [input_gcs_source] field in the
        * request when the batch process started. The batch process is started by
@@ -1231,18 +1085,15 @@ public Builder setInputGcsSource(java.lang.String value) {
        * 
* * string input_gcs_source = 1; - * * @return This builder for chaining. */ public Builder clearInputGcsSource() { - + inputGcsSource_ = getDefaultInstance().getInputGcsSource(); onChanged(); return this; } /** - * - * *
        * The source of the document, same as the [input_gcs_source] field in the
        * request when the batch process started. The batch process is started by
@@ -1251,16 +1102,16 @@ 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) { + public Builder setInputGcsSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + inputGcsSource_ = value; onChanged(); return this; @@ -1268,31 +1119,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 statusBuilder_ != null || status_ != null; } /** - * - * *
        * The status processing the document.
        * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -1303,8 +1147,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The status processing the document.
        * 
@@ -1325,15 +1167,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(); onChanged(); @@ -1344,8 +1185,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
        * The status processing the document.
        * 
@@ -1355,7 +1194,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -1367,8 +1207,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status processing the document.
        * 
@@ -1387,8 +1225,6 @@ public Builder clearStatus() { return this; } /** - * - * *
        * The status processing the document.
        * 
@@ -1396,13 +1232,11 @@ public Builder clearStatus() { * .google.rpc.Status status = 2; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
        * The status processing the document.
        * 
@@ -1413,12 +1247,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.
        * 
@@ -1426,14 +1259,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_; @@ -1441,21 +1274,19 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private java.lang.Object outputGcsDestination_ = ""; /** - * - * *
        * The output_gcs_destination (in the request as `output_gcs_destination`)
        * of the processed document if it was successful, otherwise empty.
        * 
* * 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; @@ -1464,22 +1295,21 @@ public java.lang.String getOutputGcsDestination() { } } /** - * - * *
        * The output_gcs_destination (in the request as `output_gcs_destination`)
        * of the processed document if it was successful, otherwise empty.
        * 
* * 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 { @@ -1487,64 +1317,57 @@ public com.google.protobuf.ByteString getOutputGcsDestinationBytes() { } } /** - * - * *
        * The output_gcs_destination (in the request as `output_gcs_destination`)
        * of the processed document if it was successful, otherwise empty.
        * 
* * string output_gcs_destination = 3; - * * @param value The outputGcsDestination to set. * @return This builder for chaining. */ - public Builder setOutputGcsDestination(java.lang.String value) { + public Builder setOutputGcsDestination( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + outputGcsDestination_ = value; onChanged(); return this; } /** - * - * *
        * The output_gcs_destination (in the request as `output_gcs_destination`)
        * of the processed document if it was successful, otherwise empty.
        * 
* * string output_gcs_destination = 3; - * * @return This builder for chaining. */ public Builder clearOutputGcsDestination() { - + outputGcsDestination_ = getDefaultInstance().getOutputGcsDestination(); onChanged(); return this; } /** - * - * *
        * The output_gcs_destination (in the request as `output_gcs_destination`)
        * of the processed document if it was successful, otherwise empty.
        * 
* * 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) { + public Builder setOutputGcsDestinationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputGcsDestination_ = value; onChanged(); return this; @@ -1552,47 +1375,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 humanReviewStatusBuilder_ != null || humanReviewStatus_ != null; } /** - * - * *
        * 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.
        * 
@@ -1613,8 +1423,6 @@ public Builder setHumanReviewStatus(com.google.cloud.documentai.v1.HumanReviewSt return this; } /** - * - * *
        * The status of human review on the processed document.
        * 
@@ -1633,22 +1441,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 (humanReviewStatus_ != null) { humanReviewStatus_ = - com.google.cloud.documentai.v1.HumanReviewStatus.newBuilder(humanReviewStatus_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.HumanReviewStatus.newBuilder(humanReviewStatus_).mergeFrom(value).buildPartial(); } else { humanReviewStatus_ = value; } @@ -1660,8 +1463,6 @@ public Builder mergeHumanReviewStatus( return this; } /** - * - * *
        * The status of human review on the processed document.
        * 
@@ -1680,42 +1481,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() { + 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.
        * 
@@ -1723,22 +1515,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) { @@ -1751,45 +1539,41 @@ 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; @@ -1801,62 +1585,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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.documentai.v1.BatchProcessMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.documentai.v1.BatchProcessMetadata.State result = - com.google.cloud.documentai.v1.BatchProcessMetadata.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.documentai.v1.BatchProcessMetadata.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 2; 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 @@ -1865,30 +1635,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 { @@ -1899,14 +1669,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 @@ -1914,14 +1681,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 @@ -1929,8 +1693,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The creation time of the operation.
    * 
@@ -1945,14 +1707,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 @@ -1960,14 +1719,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 @@ -1975,8 +1731,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update time of the operation.
    * 
@@ -1989,93 +1743,66 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int INDIVIDUAL_PROCESS_STATUSES_FIELD_NUMBER = 5; - 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; @@ -2087,10 +1814,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_)) { @@ -2114,24 +1840,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; @@ -2141,26 +1867,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; } @@ -2194,135 +1922,129 @@ 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 batch process method.
    * 
* * 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(); @@ -2353,9 +2075,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 @@ -2374,8 +2096,7 @@ 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); int from_bitField0_ = bitField0_; result.state_ = state_; result.stateMessage_ = stateMessage_; @@ -2391,8 +2112,7 @@ public com.google.cloud.documentai.v1.BatchProcessMetadata buildPartial() { } if (individualProcessStatusesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - individualProcessStatuses_ = - java.util.Collections.unmodifiableList(individualProcessStatuses_); + individualProcessStatuses_ = java.util.Collections.unmodifiableList(individualProcessStatuses_); bitField0_ = (bitField0_ & ~0x00000001); } result.individualProcessStatuses_ = individualProcessStatuses_; @@ -2407,39 +2127,38 @@ public com.google.cloud.documentai.v1.BatchProcessMetadata 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.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; @@ -2447,8 +2166,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()); } @@ -2480,10 +2198,9 @@ public Builder mergeFrom(com.google.cloud.documentai.v1.BatchProcessMetadata oth individualProcessStatusesBuilder_ = null; individualProcessStatuses_ = other.individualProcessStatuses_; bitField0_ = (bitField0_ & ~0x00000001); - individualProcessStatusesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIndividualProcessStatusesFieldBuilder() - : null; + individualProcessStatusesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIndividualProcessStatusesFieldBuilder() : null; } else { individualProcessStatusesBuilder_.addAllMessages(other.individualProcessStatuses_); } @@ -2515,52 +2232,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); + case 8: { + state_ = input.readEnum(); - break; - } // case 8 - case 18: - { - stateMessage_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + stateMessage_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); - 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: + 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) { @@ -2570,72 +2284,55 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.documentai.v1.BatchProcessMetadata.State result = - com.google.cloud.documentai.v1.BatchProcessMetadata.State.valueOf(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.valueOf(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. */ @@ -2643,24 +2340,21 @@ public Builder setState(com.google.cloud.documentai.v1.BatchProcessMetadata.Stat if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2668,21 +2362,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; @@ -2691,22 +2383,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 { @@ -2714,64 +2405,57 @@ 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) { + public Builder setStateMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; 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() { - + stateMessage_ = getDefaultInstance().getStateMessage(); 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; - * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = value; onChanged(); return this; @@ -2779,47 +2463,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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -2840,15 +2511,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(); onChanged(); @@ -2859,8 +2529,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2871,7 +2539,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2883,8 +2551,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2903,8 +2569,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2912,13 +2576,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 3; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The creation time of the operation.
      * 
@@ -2929,14 +2591,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.
      * 
@@ -2944,17 +2603,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_; @@ -2962,47 +2618,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 updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -3023,15 +2666,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(); onChanged(); @@ -3042,8 +2684,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3054,7 +2694,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3066,8 +2706,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3086,8 +2724,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3095,13 +2731,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last update time of the operation.
      * 
@@ -3112,14 +2746,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.
      * 
@@ -3127,56 +2758,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_ & 0x00000001) != 0)) { - individualProcessStatuses_ = - new java.util.ArrayList< - com.google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus>( - individualProcessStatuses_); + individualProcessStatuses_ = new java.util.ArrayList(individualProcessStatuses_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -3184,15 +2798,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) { @@ -3202,18 +2812,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 { @@ -3221,19 +2826,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(); @@ -3247,20 +2847,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()); @@ -3271,18 +2865,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(); @@ -3296,19 +2885,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(); @@ -3322,19 +2906,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()); @@ -3345,20 +2924,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()); @@ -3369,24 +2942,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); @@ -3394,15 +2961,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) { @@ -3415,15 +2978,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) { @@ -3436,55 +2995,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 { @@ -3492,71 +3035,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_ & 0x00000001) != 0), getParentForChildren(), @@ -3565,9 +3082,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); } @@ -3577,12 +3094,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(); } @@ -3591,27 +3108,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; @@ -3626,4 +3143,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 56bb10b22f0b..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 2020 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 70% 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 89a3266bcd20..a2423ccce279 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,77 +1,56 @@ -/* - * Copyright 2020 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 batch process document method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -80,10 +59,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 @@ -92,15 +68,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
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -109,18 +84,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,14 +105,11 @@ 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 batch process.
    * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return Whether the inputDocuments field is set. */ @java.lang.Override @@ -146,25 +117,18 @@ public boolean hasInputDocuments() { return inputDocuments_ != null; } /** - * - * *
    * The input documents for batch process.
    * 
* * .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 batch process.
    * 
@@ -172,22 +136,18 @@ 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() { + public com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder() { return getInputDocuments(); } public static final int DOCUMENT_OUTPUT_CONFIG_FIELD_NUMBER = 6; private com.google.cloud.documentai.v1.DocumentOutputConfig documentOutputConfig_; /** - * - * *
    * The overall output config for batch process.
    * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return Whether the documentOutputConfig field is set. */ @java.lang.Override @@ -195,25 +155,18 @@ public boolean hasDocumentOutputConfig() { return documentOutputConfig_ != null; } /** - * - * *
    * The overall output config for batch process.
    * 
* * .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 overall output config for batch process.
    * 
@@ -221,23 +174,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() { + public com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder() { return getDocumentOutputConfig(); } public static final int SKIP_HUMAN_REVIEW_FIELD_NUMBER = 4; private boolean skipHumanReview_; /** - * - * *
    * Whether Human Review feature should be skipped for this request. Default to
    * false.
    * 
* * bool skip_human_review = 4; - * * @return The skipHumanReview. */ @java.lang.Override @@ -246,7 +195,6 @@ public boolean getSkipHumanReview() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +206,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_); } @@ -284,14 +233,16 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -301,24 +252,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -341,142 +295,137 @@ 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()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } 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 batch process document method.
    * 
* * 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(); @@ -500,9 +449,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 @@ -521,8 +470,7 @@ 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); + com.google.cloud.documentai.v1.BatchProcessRequest result = new com.google.cloud.documentai.v1.BatchProcessRequest(this); result.name_ = name_; if (inputDocumentsBuilder_ == null) { result.inputDocuments_ = inputDocuments_; @@ -543,39 +491,38 @@ public com.google.cloud.documentai.v1.BatchProcessRequest 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.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; @@ -583,8 +530,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_; onChanged(); @@ -624,38 +570,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 32: - { - skipHumanReview_ = input.readBool(); + break; + } // case 10 + case 32: { + skipHumanReview_ = input.readBool(); - break; - } // case 32 - case 42: - { - input.readMessage(getInputDocumentsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 32 + case 42: { + input.readMessage( + getInputDocumentsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - case 50: - { - input.readMessage( - getDocumentOutputConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 42 + case 50: { + input.readMessage( + getDocumentOutputConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + 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) { @@ -668,8 +612,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -678,16 +620,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; @@ -696,8 +636,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -706,17 +644,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 { @@ -724,8 +661,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -734,25 +669,21 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -761,21 +692,16 @@ 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of [Processor][google.cloud.documentai.v1.Processor] or
      * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -784,19 +710,17 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -804,55 +728,41 @@ 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 batch process.
      * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return Whether the inputDocuments field is set. */ public boolean hasInputDocuments() { return inputDocumentsBuilder_ != null || inputDocuments_ != null; } /** - * - * *
      * The input documents for batch process.
      * 
* * .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 batch process.
      * 
* * .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(); @@ -866,8 +776,6 @@ public Builder setInputDocuments( return this; } /** - * - * *
      * The input documents for batch process.
      * 
@@ -886,22 +794,17 @@ public Builder setInputDocuments( return this; } /** - * - * *
      * The input documents for batch process.
      * 
* * .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 (inputDocuments_ != null) { inputDocuments_ = - com.google.cloud.documentai.v1.BatchDocumentsInputConfig.newBuilder(inputDocuments_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.BatchDocumentsInputConfig.newBuilder(inputDocuments_).mergeFrom(value).buildPartial(); } else { inputDocuments_ = value; } @@ -913,8 +816,6 @@ public Builder mergeInputDocuments( return this; } /** - * - * *
      * The input documents for batch process.
      * 
@@ -933,42 +834,33 @@ public Builder clearInputDocuments() { return this; } /** - * - * *
      * The input documents for batch process.
      * 
* * .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() { + onChanged(); return getInputDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The input documents for batch process.
      * 
* * .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 batch process.
      * 
@@ -976,17 +868,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_; @@ -994,55 +883,41 @@ 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 overall output config for batch process.
      * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return Whether the documentOutputConfig field is set. */ public boolean hasDocumentOutputConfig() { return documentOutputConfigBuilder_ != null || documentOutputConfig_ != null; } /** - * - * *
      * The overall output config for batch process.
      * 
* * .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 overall output config for batch process.
      * 
* * .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(); @@ -1056,8 +931,6 @@ public Builder setDocumentOutputConfig( return this; } /** - * - * *
      * The overall output config for batch process.
      * 
@@ -1076,22 +949,17 @@ public Builder setDocumentOutputConfig( return this; } /** - * - * *
      * The overall output config for batch process.
      * 
* * .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 (documentOutputConfig_ != null) { documentOutputConfig_ = - com.google.cloud.documentai.v1.DocumentOutputConfig.newBuilder(documentOutputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.DocumentOutputConfig.newBuilder(documentOutputConfig_).mergeFrom(value).buildPartial(); } else { documentOutputConfig_ = value; } @@ -1103,8 +971,6 @@ public Builder mergeDocumentOutputConfig( return this; } /** - * - * *
      * The overall output config for batch process.
      * 
@@ -1123,42 +989,33 @@ public Builder clearDocumentOutputConfig() { return this; } /** - * - * *
      * The overall output config for batch process.
      * 
* * .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() { + onChanged(); return getDocumentOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The overall output config for batch process.
      * 
* * .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 overall output config for batch process.
      * 
@@ -1166,33 +1023,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 feature should be skipped for this request. Default to
      * false.
      * 
* * bool skip_human_review = 4; - * * @return The skipHumanReview. */ @java.lang.Override @@ -1200,45 +1051,39 @@ public boolean getSkipHumanReview() { return skipHumanReview_; } /** - * - * *
      * Whether Human Review feature 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. */ public Builder setSkipHumanReview(boolean value) { - + skipHumanReview_ = value; onChanged(); return this; } /** - * - * *
      * Whether Human Review feature should be skipped for this request. Default to
      * false.
      * 
* * bool skip_human_review = 4; - * * @return This builder for chaining. */ public Builder clearSkipHumanReview() { - + skipHumanReview_ = false; 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); } @@ -1248,12 +1093,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(); } @@ -1262,27 +1107,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; @@ -1297,4 +1142,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 74% 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 b4be9056f53c..f86a3f65f072 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 2020 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
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -34,16 +16,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
    * [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion].
@@ -52,41 +29,31 @@ 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 batch process.
    * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return Whether the inputDocuments field is set. */ boolean hasInputDocuments(); /** - * - * *
    * The input documents for batch process.
    * 
* * .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5; - * * @return The inputDocuments. */ com.google.cloud.documentai.v1.BatchDocumentsInputConfig getInputDocuments(); /** - * - * *
    * The input documents for batch process.
    * 
@@ -96,32 +63,24 @@ public interface BatchProcessRequestOrBuilder com.google.cloud.documentai.v1.BatchDocumentsInputConfigOrBuilder getInputDocumentsOrBuilder(); /** - * - * *
    * The overall output config for batch process.
    * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return Whether the documentOutputConfig field is set. */ boolean hasDocumentOutputConfig(); /** - * - * *
    * The overall output config for batch process.
    * 
* * .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6; - * * @return The documentOutputConfig. */ com.google.cloud.documentai.v1.DocumentOutputConfig getDocumentOutputConfig(); /** - * - * *
    * The overall output config for batch process.
    * 
@@ -131,15 +90,12 @@ public interface BatchProcessRequestOrBuilder com.google.cloud.documentai.v1.DocumentOutputConfigOrBuilder getDocumentOutputConfigOrBuilder(); /** - * - * *
    * Whether Human Review feature should be skipped for this request. Default to
    * false.
    * 
* * bool skip_human_review = 4; - * * @return The skipHumanReview. */ boolean getSkipHumanReview(); 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 63% 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 275d0a7fbab0..253a4db0fac6 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,72 +1,53 @@ -/* - * Copyright 2020 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 batch process document method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -78,7 +59,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); } @@ -96,13 +78,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; @@ -121,135 +102,129 @@ 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 batch process document method.
    * 
* * 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(); @@ -257,9 +232,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 @@ -278,8 +253,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; } @@ -288,39 +262,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; @@ -328,8 +301,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; @@ -356,13 +328,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 +343,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 +355,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(); } @@ -398,27 +369,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; @@ -433,4 +404,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 74% 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 fe7940d25127..13e24a93bdfa 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 2020 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,35 +26,32 @@ private BoundingPoly() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BoundingPoly(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List vertices_; /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -84,8 +63,6 @@ public java.util.List getVerticesList() { return vertices_; } /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getVerticesCount() { return vertices_.size(); } /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.documentai.v1.Vertex getVertices(int index) { return vertices_.get(index); } /** - * - * *
    * The bounding polygon vertices.
    * 
@@ -133,15 +104,14 @@ 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; private java.util.List normalizedVertices_; /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -149,13 +119,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.
    * 
@@ -163,13 +130,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.
    * 
@@ -181,8 +146,6 @@ public int getNormalizedVerticesCount() { return normalizedVertices_.size(); } /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -194,8 +157,6 @@ public com.google.cloud.documentai.v1.NormalizedVertex getNormalizedVertices(int return normalizedVertices_.get(index); } /** - * - * *
    * The bounding polygon normalized vertices.
    * 
@@ -209,7 +170,6 @@ public com.google.cloud.documentai.v1.NormalizedVertexOrBuilder getNormalizedVer } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,7 +181,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)); } @@ -238,11 +199,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; @@ -252,16 +214,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; } @@ -286,136 +249,130 @@ 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,8 +415,7 @@ 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); int from_bitField0_ = bitField0_; if (verticesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -487,39 +443,38 @@ public com.google.cloud.documentai.v1.BoundingPoly 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.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; @@ -546,10 +501,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_); } @@ -573,10 +527,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_); } @@ -608,40 +561,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) { @@ -651,28 +602,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.
      * 
@@ -687,8 +631,6 @@ public java.util.List getVerticesList() { } } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -703,8 +645,6 @@ public int getVerticesCount() { } } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -719,15 +659,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(); @@ -741,8 +680,6 @@ public Builder setVertices(int index, com.google.cloud.documentai.v1.Vertex valu return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -761,8 +698,6 @@ public Builder setVertices( return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -783,15 +718,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(); @@ -805,15 +739,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()); @@ -824,8 +757,6 @@ public Builder addVertices(com.google.cloud.documentai.v1.Vertex.Builder builder return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -844,8 +775,6 @@ public Builder addVertices( return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -856,7 +785,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); @@ -864,8 +794,6 @@ public Builder addAllVertices( return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -883,8 +811,6 @@ public Builder clearVertices() { return this; } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -902,44 +828,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 { @@ -947,8 +868,6 @@ public com.google.cloud.documentai.v1.VertexOrBuilder getVerticesOrBuilder(int i } } /** - * - * *
      * The bounding polygon vertices.
      * 
@@ -956,81 +875,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 { @@ -1038,8 +943,6 @@ private void ensureNormalizedVerticesIsMutable() { } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1054,8 +957,6 @@ public int getNormalizedVerticesCount() { } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1070,8 +971,6 @@ public com.google.cloud.documentai.v1.NormalizedVertex getNormalizedVertices(int } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1093,8 +992,6 @@ public Builder setNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1113,8 +1010,6 @@ public Builder setNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1135,8 +1030,6 @@ public Builder addNormalizedVertices(com.google.cloud.documentai.v1.NormalizedVe return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1158,8 +1051,6 @@ public Builder addNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1178,8 +1069,6 @@ public Builder addNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1198,8 +1087,6 @@ public Builder addNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1210,7 +1097,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); @@ -1218,8 +1106,6 @@ public Builder addAllNormalizedVertices( return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1237,8 +1123,6 @@ public Builder clearNormalizedVertices() { return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1256,8 +1140,6 @@ public Builder removeNormalizedVertices(int index) { return this; } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1269,8 +1151,6 @@ public com.google.cloud.documentai.v1.NormalizedVertex.Builder getNormalizedVert return getNormalizedVerticesFieldBuilder().getBuilder(index); } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1280,22 +1160,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 { @@ -1303,8 +1180,6 @@ public com.google.cloud.documentai.v1.NormalizedVertexOrBuilder getNormalizedVer } } /** - * - * *
      * The bounding polygon normalized vertices.
      * 
@@ -1312,12 +1187,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.
      * 
@@ -1326,34 +1199,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(), @@ -1362,9 +1227,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); } @@ -1374,12 +1239,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(); } @@ -1388,27 +1253,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; @@ -1423,4 +1288,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 3337f777949c..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 2020 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 fc8092223028..f15ea2ca246d 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 2020 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,43 +27,39 @@ private CommonOperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommonOperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
      * 
@@ -90,8 +68,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Operation is still running.
      * 
@@ -100,8 +76,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(1), /** - * - * *
      * Operation is being cancelled.
      * 
@@ -110,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(2), /** - * - * *
      * Operation succeeded.
      * 
@@ -120,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * Operation failed.
      * 
@@ -130,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * Operation is cancelled.
      * 
@@ -143,8 +111,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified state.
      * 
@@ -153,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Operation is still running.
      * 
@@ -163,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 1; /** - * - * *
      * Operation is being cancelled.
      * 
@@ -173,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLING_VALUE = 2; /** - * - * *
      * Operation succeeded.
      * 
@@ -183,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * Operation failed.
      * 
@@ -193,8 +151,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * Operation is cancelled.
      * 
@@ -203,6 +159,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( @@ -227,57 +184,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; @@ -297,52 +249,38 @@ private State(int value) { public static final int STATE_FIELD_NUMBER = 1; private int state_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.documentai.v1.CommonOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.documentai.v1.CommonOperationMetadata.State result = - com.google.cloud.documentai.v1.CommonOperationMetadata.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.documentai.v1.CommonOperationMetadata.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 2; 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 @@ -351,29 +289,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 { @@ -384,14 +322,11 @@ public com.google.protobuf.ByteString getStateMessageBytes() { public static final int RESOURCE_FIELD_NUMBER = 5; private volatile java.lang.Object resource_; /** - * - * *
    * A related resource to this operation.
    * 
* * string resource = 5; - * * @return The resource. */ @java.lang.Override @@ -400,29 +335,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 { @@ -433,14 +368,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 @@ -448,14 +380,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 @@ -463,8 +392,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The creation time of the operation.
    * 
@@ -479,14 +406,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 @@ -494,14 +418,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 @@ -509,8 +430,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update time of the operation.
    * 
@@ -523,7 +442,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -535,10 +453,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_)) { @@ -562,19 +479,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_); @@ -587,24 +505,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; @@ -637,136 +558,129 @@ 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(); @@ -792,9 +706,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 @@ -813,8 +727,7 @@ 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); + com.google.cloud.documentai.v1.CommonOperationMetadata result = new com.google.cloud.documentai.v1.CommonOperationMetadata(this); result.state_ = state_; result.stateMessage_ = stateMessage_; result.resource_ = resource_; @@ -836,39 +749,38 @@ public com.google.cloud.documentai.v1.CommonOperationMetadata 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.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; @@ -876,8 +788,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()); } @@ -921,43 +832,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - state_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - stateMessage_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - resource_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + state_ = input.readEnum(); + + break; + } // case 8 + case 18: { + stateMessage_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + resource_ = input.readStringRequireUtf8(); + + 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) { @@ -970,67 +879,51 @@ public Builder mergeFrom( 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.documentai.v1.CommonOperationMetadata.State result = - com.google.cloud.documentai.v1.CommonOperationMetadata.State.valueOf(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.valueOf(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. */ @@ -1038,24 +931,21 @@ public Builder setState(com.google.cloud.documentai.v1.CommonOperationMetadata.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.cloud.documentai.v1.CommonOperationMetadata.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1063,20 +953,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; @@ -1085,21 +973,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 { @@ -1107,61 +994,54 @@ 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) { + public Builder setStateMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; 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() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); 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) { + public Builder setStateMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = value; onChanged(); return this; @@ -1169,20 +1049,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; @@ -1191,21 +1069,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 { @@ -1213,61 +1090,54 @@ 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) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** - * - * *
      * A related resource to this operation.
      * 
* * string resource = 5; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); 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) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; @@ -1275,47 +1145,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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1336,15 +1193,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(); onChanged(); @@ -1355,8 +1211,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1367,7 +1221,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1379,8 +1233,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1399,8 +1251,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1408,13 +1258,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 3; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The creation time of the operation.
      * 
@@ -1425,14 +1273,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.
      * 
@@ -1440,17 +1285,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_; @@ -1458,47 +1300,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 updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1519,15 +1348,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(); onChanged(); @@ -1538,8 +1366,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1550,7 +1376,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1562,8 +1388,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1582,8 +1406,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1591,13 +1413,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 4; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The last update time of the operation.
      * 
@@ -1608,14 +1428,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.
      * 
@@ -1623,24 +1440,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); } @@ -1650,12 +1464,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(); } @@ -1664,27 +1478,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; @@ -1699,4 +1513,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 1cafa1a53b85..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 2020 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 64% 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 cd2e17620bf0..ae253d5b03dd 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 2020 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 create a processor. Notice this request is sent to
  * a regionalized backend service, and if the processor type is not available
@@ -29,60 +12,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,32 +67,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 { @@ -127,17 +101,12 @@ 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] and [display_name]
    * to be set. Also, the processor is under CMEK if CMEK fields are set.
    * 
* - * - * .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 @@ -145,36 +114,25 @@ public boolean hasProcessor() { return processor_ != null; } /** - * - * *
    * Required. The processor to be created, requires [processor_type] and [display_name]
    * to be set. Also, the processor is under CMEK if CMEK fields are set.
    * 
* - * - * .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] and [display_name]
    * to be set. Also, the processor is under CMEK if CMEK fields are set.
    * 
* - * - * .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() { @@ -182,7 +140,6 @@ public com.google.cloud.documentai.v1.ProcessorOrBuilder getProcessorOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +151,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_); } @@ -214,7 +172,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; @@ -224,18 +183,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; @@ -260,104 +220,96 @@ 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 create a processor. Notice this request is sent to
    * a regionalized backend service, and if the processor type is not available
@@ -366,32 +318,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();
@@ -407,9 +360,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
@@ -428,8 +381,7 @@ 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);
+      com.google.cloud.documentai.v1.CreateProcessorRequest result = new com.google.cloud.documentai.v1.CreateProcessorRequest(this);
       result.parent_ = parent_;
       if (processorBuilder_ == null) {
         result.processor_ = processor_;
@@ -444,39 +396,38 @@ public com.google.cloud.documentai.v1.CreateProcessorRequest 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.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;
@@ -484,8 +435,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_;
         onChanged();
@@ -519,25 +469,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProcessorFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProcessorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -550,23 +499,19 @@ public Builder mergeFrom(
 
     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; @@ -575,24 +520,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 { @@ -600,70 +542,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -671,61 +600,42 @@ 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] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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 processorBuilder_ != null || processor_ != null; } /** - * - * *
      * Required. The processor to be created, requires [processor_type] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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) { @@ -741,18 +651,15 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor value) { return this; } /** - * - * *
      * Required. The processor to be created, requires [processor_type] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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(); onChanged(); @@ -763,24 +670,18 @@ public Builder setProcessor(com.google.cloud.documentai.v1.Processor.Builder bui return this; } /** - * - * *
      * Required. The processor to be created, requires [processor_type] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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 (processor_ != null) { processor_ = - com.google.cloud.documentai.v1.Processor.newBuilder(processor_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.Processor.newBuilder(processor_).mergeFrom(value).buildPartial(); } else { processor_ = value; } @@ -792,16 +693,12 @@ public Builder mergeProcessor(com.google.cloud.documentai.v1.Processor value) { return this; } /** - * - * *
      * Required. The processor to be created, requires [processor_type] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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() { if (processorBuilder_ == null) { @@ -815,74 +712,58 @@ public Builder clearProcessor() { return this; } /** - * - * *
      * Required. The processor to be created, requires [processor_type] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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() { - + onChanged(); return getProcessorFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The processor to be created, requires [processor_type] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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] and [display_name]
      * to be set. Also, the processor is under CMEK if CMEK fields are set.
      * 
* - * - * .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); } @@ -892,12 +773,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(); } @@ -906,27 +787,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; @@ -941,4 +822,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 53% 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 969db329c90d..28c688f2e1da 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,100 +1,61 @@ -/* - * Copyright 2020 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] and [display_name]
    * to be set. Also, the processor is under CMEK if CMEK fields are set.
    * 
* - * - * .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] and [display_name]
    * to be set. Also, the processor is under CMEK if CMEK fields are set.
    * 
* - * - * .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] and [display_name]
    * to be set. Also, the processor is under CMEK if CMEK fields are set.
    * 
* - * - * .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 67% 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 dae6fd8a3e98..7ad03ae85dbc 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,81 +1,60 @@ -/* - * Copyright 2020 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 delete processor method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,25 +62,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.
    * 
@@ -109,13 +81,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() { + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { return getCommonMetadata(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +97,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()); } @@ -141,7 +112,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; @@ -151,17 +123,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; @@ -184,136 +156,129 @@ 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 delete processor method.
    * 
* * 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(); @@ -327,9 +292,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 @@ -348,8 +313,7 @@ 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); + com.google.cloud.documentai.v1.DeleteProcessorMetadata result = new com.google.cloud.documentai.v1.DeleteProcessorMetadata(this); if (commonMetadataBuilder_ == null) { result.commonMetadata_ = commonMetadata_; } else { @@ -363,39 +327,38 @@ public com.google.cloud.documentai.v1.DeleteProcessorMetadata 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.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; @@ -403,8 +366,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()); } @@ -434,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 42: - { - input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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) { @@ -459,47 +421,34 @@ public Builder mergeFrom( 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 commonMetadataBuilder_ != null || commonMetadata_ != null; } /** - * - * *
      * 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.
      * 
@@ -520,8 +469,6 @@ public Builder setCommonMetadata(com.google.cloud.documentai.v1.CommonOperationM return this; } /** - * - * *
      * The basic metadata of the long running operation.
      * 
@@ -540,22 +487,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 (commonMetadata_ != null) { commonMetadata_ = - com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder(commonMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder(commonMetadata_).mergeFrom(value).buildPartial(); } else { commonMetadata_ = value; } @@ -567,8 +509,6 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long running operation.
      * 
@@ -587,42 +527,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() { + 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.
      * 
@@ -630,24 +561,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); } @@ -657,12 +585,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(); } @@ -671,27 +599,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; @@ -706,4 +634,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 887e96bef4ce..a9fd7850cd70 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 2020 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 62% 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 97aec1500541..c8d70e06dbc8 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,85 +1,61 @@ -/* - * Copyright 2020 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 delete processor method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -88,31 +64,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 { @@ -121,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +106,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_); } @@ -157,15 +131,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; } @@ -185,136 +159,129 @@ 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 delete processor method.
    * 
* * 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(); @@ -324,9 +291,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 @@ -345,8 +312,7 @@ 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); + com.google.cloud.documentai.v1.DeleteProcessorRequest result = new com.google.cloud.documentai.v1.DeleteProcessorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -356,39 +322,38 @@ public com.google.cloud.documentai.v1.DeleteProcessorRequest 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.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; @@ -396,8 +361,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_; onChanged(); @@ -428,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -453,22 +415,18 @@ public Builder mergeFrom( 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; @@ -477,23 +435,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 { @@ -501,74 +456,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -578,12 +520,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(); } @@ -592,27 +534,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; @@ -627,4 +569,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 66% 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 c3d8ba60fd30..75ad460e223b 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,82 +1,60 @@ -/* - * Copyright 2020 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 delete processor version method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -84,25 +62,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.
    * 
@@ -110,13 +81,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() { + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { return getCommonMetadata(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,7 +97,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()); } @@ -142,7 +112,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; @@ -152,17 +123,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; @@ -185,136 +156,129 @@ 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 delete processor version method.
    * 
* * 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(); @@ -328,14 +292,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(); } @@ -350,8 +313,7 @@ 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); + com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata result = new com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata(this); if (commonMetadataBuilder_ == null) { result.commonMetadata_ = commonMetadata_; } else { @@ -365,39 +327,38 @@ public com.google.cloud.documentai.v1.DeleteProcessorVersionMetadata 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.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; @@ -405,9 +366,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()); } @@ -437,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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) { @@ -462,47 +421,34 @@ public Builder mergeFrom( 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 commonMetadataBuilder_ != null || commonMetadata_ != null; } /** - * - * *
      * 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.
      * 
@@ -523,8 +469,6 @@ public Builder setCommonMetadata(com.google.cloud.documentai.v1.CommonOperationM return this; } /** - * - * *
      * The basic metadata of the long running operation.
      * 
@@ -543,22 +487,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 (commonMetadata_ != null) { commonMetadata_ = - com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder(commonMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder(commonMetadata_).mergeFrom(value).buildPartial(); } else { commonMetadata_ = value; } @@ -570,8 +509,6 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long running operation.
      * 
@@ -590,42 +527,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() { + 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.
      * 
@@ -633,24 +561,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); } @@ -660,13 +585,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(); } @@ -675,27 +599,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; @@ -710,4 +634,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 7b5e63b56e8e..fd2f74c54736 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 2020 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 61% 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 3a9954a66a84..cfd16d467d1a 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,85 +1,61 @@ -/* - * Copyright 2020 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 delete processor version method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -88,31 +64,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 { @@ -121,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +106,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_); } @@ -157,15 +131,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; } @@ -185,136 +159,129 @@ 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 delete processor version method.
    * 
* * 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(); @@ -324,14 +291,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(); } @@ -346,8 +312,7 @@ 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); + com.google.cloud.documentai.v1.DeleteProcessorVersionRequest result = new com.google.cloud.documentai.v1.DeleteProcessorVersionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +322,38 @@ public com.google.cloud.documentai.v1.DeleteProcessorVersionRequest 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.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; @@ -397,9 +361,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_; onChanged(); @@ -430,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -455,22 +415,18 @@ public Builder mergeFrom( 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; @@ -479,23 +435,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 { @@ -503,74 +456,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -580,13 +520,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(); } @@ -595,27 +534,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; @@ -630,4 +569,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 66% 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 d3671d02b4de..8602fee9f5d4 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,82 +1,60 @@ -/* - * Copyright 2020 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 deploy processor version method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -84,25 +62,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.
    * 
@@ -110,13 +81,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() { + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { return getCommonMetadata(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,7 +97,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()); } @@ -142,7 +112,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; @@ -152,17 +123,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; @@ -185,136 +156,129 @@ 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 deploy processor version method.
    * 
* * 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(); @@ -328,14 +292,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(); } @@ -350,8 +313,7 @@ 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); + com.google.cloud.documentai.v1.DeployProcessorVersionMetadata result = new com.google.cloud.documentai.v1.DeployProcessorVersionMetadata(this); if (commonMetadataBuilder_ == null) { result.commonMetadata_ = commonMetadata_; } else { @@ -365,39 +327,38 @@ public com.google.cloud.documentai.v1.DeployProcessorVersionMetadata 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.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; @@ -405,9 +366,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()); } @@ -437,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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) { @@ -462,47 +421,34 @@ public Builder mergeFrom( 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 commonMetadataBuilder_ != null || commonMetadata_ != null; } /** - * - * *
      * 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.
      * 
@@ -523,8 +469,6 @@ public Builder setCommonMetadata(com.google.cloud.documentai.v1.CommonOperationM return this; } /** - * - * *
      * The basic metadata of the long running operation.
      * 
@@ -543,22 +487,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 (commonMetadata_ != null) { commonMetadata_ = - com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder(commonMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder(commonMetadata_).mergeFrom(value).buildPartial(); } else { commonMetadata_ = value; } @@ -570,8 +509,6 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long running operation.
      * 
@@ -590,42 +527,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() { + 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.
      * 
@@ -633,24 +561,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); } @@ -660,13 +585,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(); } @@ -675,27 +599,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; @@ -710,4 +634,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 53440162eef1..d24b64bbb483 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 2020 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 61% 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 3c9108927d54..4db10ea5626d 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,85 +1,61 @@ -/* - * Copyright 2020 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 deploy processor version method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -88,31 +64,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 { @@ -121,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +106,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_); } @@ -157,15 +131,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; } @@ -185,136 +159,129 @@ 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 deploy processor version method.
    * 
* * 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(); @@ -324,14 +291,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(); } @@ -346,8 +312,7 @@ 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); + com.google.cloud.documentai.v1.DeployProcessorVersionRequest result = new com.google.cloud.documentai.v1.DeployProcessorVersionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +322,38 @@ public com.google.cloud.documentai.v1.DeployProcessorVersionRequest 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.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; @@ -397,9 +361,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_; onChanged(); @@ -430,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -455,22 +415,18 @@ public Builder mergeFrom( 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; @@ -479,23 +435,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 { @@ -503,74 +456,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -580,13 +520,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(); } @@ -595,27 +534,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; @@ -630,4 +569,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 61% 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 1cb7291df396..d5d165895acb 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,73 +1,53 @@ -/* - * Copyright 2020 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 deploy processor version method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -79,7 +59,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); } @@ -97,13 +78,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; @@ -122,136 +102,129 @@ 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 deploy processor version method.
    * 
* * 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(); @@ -259,14 +232,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(); } @@ -281,8 +253,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; } @@ -291,39 +262,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; @@ -331,9 +301,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; @@ -360,13 +328,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) { @@ -376,9 +343,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); } @@ -388,13 +355,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(); } @@ -403,27 +369,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; @@ -438,4 +404,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 67% 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 5a04e2f15317..fe69fad0b2b0 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,81 +1,60 @@ -/* - * Copyright 2020 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 disable processor method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,25 +62,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.
    * 
@@ -109,13 +81,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() { + public com.google.cloud.documentai.v1.CommonOperationMetadataOrBuilder getCommonMetadataOrBuilder() { return getCommonMetadata(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +97,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()); } @@ -141,7 +112,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; @@ -151,17 +123,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; @@ -184,136 +156,129 @@ 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 disable processor method.
    * 
* * 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(); @@ -327,9 +292,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 @@ -348,8 +313,7 @@ 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); + com.google.cloud.documentai.v1.DisableProcessorMetadata result = new com.google.cloud.documentai.v1.DisableProcessorMetadata(this); if (commonMetadataBuilder_ == null) { result.commonMetadata_ = commonMetadata_; } else { @@ -363,39 +327,38 @@ public com.google.cloud.documentai.v1.DisableProcessorMetadata 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.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; @@ -403,8 +366,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()); } @@ -434,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 42: - { - input.readMessage(getCommonMetadataFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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) { @@ -459,47 +421,34 @@ public Builder mergeFrom( 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 commonMetadataBuilder_ != null || commonMetadata_ != null; } /** - * - * *
      * 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.
      * 
@@ -520,8 +469,6 @@ public Builder setCommonMetadata(com.google.cloud.documentai.v1.CommonOperationM return this; } /** - * - * *
      * The basic metadata of the long running operation.
      * 
@@ -540,22 +487,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 (commonMetadata_ != null) { commonMetadata_ = - com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder(commonMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.CommonOperationMetadata.newBuilder(commonMetadata_).mergeFrom(value).buildPartial(); } else { commonMetadata_ = value; } @@ -567,8 +509,6 @@ public Builder mergeCommonMetadata( return this; } /** - * - * *
      * The basic metadata of the long running operation.
      * 
@@ -587,42 +527,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() { + 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.
      * 
@@ -630,24 +561,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); } @@ -657,12 +585,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(); } @@ -671,27 +599,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; @@ -706,4 +634,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 bad9c544a875..4d7995cb1814 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 2020 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 62% 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 eae092321a94..264b7f5e7302 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,85 +1,61 @@ -/* - * Copyright 2020 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 disable processor method.
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -88,31 +64,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 { @@ -121,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +106,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_); } @@ -157,15 +131,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; } @@ -185,136 +159,129 @@ 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 disable processor method.
    * 
* * 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(); @@ -324,9 +291,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 @@ -345,8 +312,7 @@ 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); + com.google.cloud.documentai.v1.DisableProcessorRequest result = new com.google.cloud.documentai.v1.DisableProcessorRequest(this); result.name_ = name_; onBuilt(); return result; @@ -356,39 +322,38 @@ public com.google.cloud.documentai.v1.DisableProcessorRequest 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.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; @@ -396,8 +361,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_; onChanged(); @@ -428,19 +392,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -453,22 +415,18 @@ public Builder mergeFrom( 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; @@ -477,23 +435,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 { @@ -501,74 +456,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -578,12 +520,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(); } @@ -592,27 +534,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; @@ -627,4 +569,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 63% 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 ad911d945e13..27643d12806c 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 2020 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 disable processor method.
  * Intentionally empty proto for adding fields in future.
@@ -28,46 +11,44 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
@@ -79,7 +60,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);
   }
 
@@ -97,13 +79,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;
@@ -122,104 +103,96 @@ 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 disable processor method.
    * Intentionally empty proto for adding fields in future.
@@ -227,32 +200,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();
@@ -260,9 +234,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
@@ -281,8 +255,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;
     }
@@ -291,39 +264,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;
@@ -331,8 +303,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;
@@ -359,13 +330,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 +345,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,12 +357,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();
   }
@@ -401,27 +371,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;
@@ -436,4 +406,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 ef7ae29beecc..e5ffed3f5600 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 2020 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,78 +35,65 @@ private Document() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Document();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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
      * document global text.
      * 
* * 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
@@ -133,55 +102,51 @@ 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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_;
     /**
-     *
-     *
      * 
      * The 0-based index of this shard.
      * 
* * int64 shard_index = 1; - * * @return The shardIndex. */ @java.lang.Override @@ -192,14 +157,11 @@ public long getShardIndex() { public static final int SHARD_COUNT_FIELD_NUMBER = 2; private long shardCount_; /** - * - * *
      * Total number of shards.
      * 
* * int64 shard_count = 2; - * * @return The shardCount. */ @java.lang.Override @@ -210,15 +172,12 @@ public long getShardCount() { public static final int TEXT_OFFSET_FIELD_NUMBER = 3; private long textOffset_; /** - * - * *
      * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
      * document global text.
      * 
* * int64 text_offset = 3; - * * @return The textOffset. */ @java.lang.Override @@ -227,7 +186,6 @@ public long getTextOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,7 +197,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_); } @@ -259,13 +218,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; @@ -275,17 +237,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; } @@ -298,104 +262,101 @@ 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 @@ -405,8 +366,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
@@ -415,33 +374,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();
@@ -455,9 +414,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
@@ -476,8 +435,7 @@ 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);
+        com.google.cloud.documentai.v1.Document.ShardInfo result = new com.google.cloud.documentai.v1.Document.ShardInfo(this);
         result.shardIndex_ = shardIndex_;
         result.shardCount_ = shardCount_;
         result.textOffset_ = textOffset_;
@@ -489,41 +447,38 @@ public com.google.cloud.documentai.v1.Document.ShardInfo 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) {
+          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;
@@ -531,8 +486,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());
         }
@@ -568,31 +522,27 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  shardIndex_ = input.readInt64();
+              case 8: {
+                shardIndex_ = input.readInt64();
 
-                  break;
-                } // case 8
-              case 16:
-                {
-                  shardCount_ = input.readInt64();
+                break;
+              } // case 8
+              case 16: {
+                shardCount_ = input.readInt64();
 
-                  break;
-                } // case 16
-              case 24:
-                {
-                  textOffset_ = input.readInt64();
+                break;
+              } // case 16
+              case 24: {
+                textOffset_ = input.readInt64();
 
-                  break;
-                } // case 24
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                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) {
@@ -603,16 +553,13 @@ public Builder mergeFrom(
         return this;
       }
 
-      private long shardIndex_;
+      private long shardIndex_ ;
       /**
-       *
-       *
        * 
        * The 0-based index of this shard.
        * 
* * int64 shard_index = 1; - * * @return The shardIndex. */ @java.lang.Override @@ -620,51 +567,42 @@ 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. */ public Builder setShardIndex(long value) { - + shardIndex_ = value; onChanged(); return this; } /** - * - * *
        * The 0-based index of this shard.
        * 
* * int64 shard_index = 1; - * * @return This builder for chaining. */ public Builder clearShardIndex() { - + shardIndex_ = 0L; onChanged(); return this; } - private long shardCount_; + private long shardCount_ ; /** - * - * *
        * Total number of shards.
        * 
* * int64 shard_count = 2; - * * @return The shardCount. */ @java.lang.Override @@ -672,52 +610,43 @@ public long getShardCount() { return shardCount_; } /** - * - * *
        * Total number of shards.
        * 
* * int64 shard_count = 2; - * * @param value The shardCount to set. * @return This builder for chaining. */ public Builder setShardCount(long value) { - + shardCount_ = value; onChanged(); return this; } /** - * - * *
        * Total number of shards.
        * 
* * int64 shard_count = 2; - * * @return This builder for chaining. */ public Builder clearShardCount() { - + shardCount_ = 0L; onChanged(); 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
        * document global text.
        * 
* * int64 text_offset = 3; - * * @return The textOffset. */ @java.lang.Override @@ -725,43 +654,36 @@ public long getTextOffset() { return textOffset_; } /** - * - * *
        * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
        * document global text.
        * 
* * int64 text_offset = 3; - * * @param value The textOffset to set. * @return This builder for chaining. */ public Builder setTextOffset(long value) { - + textOffset_ = value; onChanged(); return this; } /** - * - * *
        * The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall
        * document global text.
        * 
* * int64 text_offset = 3; - * * @return This builder for chaining. */ public Builder clearTextOffset() { - + textOffset_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -774,12 +696,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(); } @@ -788,28 +710,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; @@ -824,40 +745,32 @@ 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].
      * 
@@ -867,32 +780,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.
      * 
@@ -902,32 +807,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.
      * 
@@ -937,62 +834,50 @@ public interface StyleOrBuilder com.google.type.ColorOrBuilder getBackgroundColorOrBuilder(); /** - * - * *
      * Font weight. Possible values are normal, bold, bolder, and lighter.
      * https://www.w3schools.com/cssref/pr_font_weight.asp
      * 
* * string font_weight = 4; - * * @return The fontWeight. */ java.lang.String getFontWeight(); /** - * - * *
      * Font weight. Possible values are normal, bold, bolder, and lighter.
      * https://www.w3schools.com/cssref/pr_font_weight.asp
      * 
* * string font_weight = 4; - * * @return The bytes for fontWeight. */ - com.google.protobuf.ByteString getFontWeightBytes(); + com.google.protobuf.ByteString + getFontWeightBytes(); /** - * - * *
      * Text style. Possible values are normal, italic, and oblique.
      * https://www.w3schools.com/cssref/pr_font_font-style.asp
      * 
* * string text_style = 5; - * * @return The textStyle. */ java.lang.String getTextStyle(); /** - * - * *
      * Text style. Possible values are normal, italic, and oblique.
      * https://www.w3schools.com/cssref/pr_font_font-style.asp
      * 
* * string text_style = 5; - * * @return The bytes for textStyle. */ - com.google.protobuf.ByteString getTextStyleBytes(); + com.google.protobuf.ByteString + getTextStyleBytes(); /** - * - * *
      * Text decoration. Follows CSS standard.
      * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -1000,13 +885,10 @@ public interface StyleOrBuilder
      * 
* * string text_decoration = 6; - * * @return The textDecoration. */ java.lang.String getTextDecoration(); /** - * - * *
      * Text decoration. Follows CSS standard.
      * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -1014,38 +896,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.
      * 
@@ -1053,10 +927,30 @@ public interface StyleOrBuilder * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; */ 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(); } /** - * - * *
    * Annotation for common text style attributes. This adheres to CSS
    * conventions as much as possible.
@@ -1064,151 +958,134 @@ 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_ = "";
       textDecoration_ = "";
+      fontFamily_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Style();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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 (in, px, pt, etc.).
        * 
* * string unit = 2; - * * @return The unit. */ java.lang.String getUnit(); /** - * - * *
        * Unit for the font size. Follows CSS naming (in, px, pt, etc.).
        * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
        * Font size for the text.
        * 
* * float size = 1; - * * @return The size. */ @java.lang.Override @@ -1219,14 +1096,11 @@ public float getSize() { public static final int UNIT_FIELD_NUMBER = 2; private volatile java.lang.Object unit_; /** - * - * *
        * Unit for the font size. Follows CSS naming (in, px, pt, etc.).
        * 
* * string unit = 2; - * * @return The unit. */ @java.lang.Override @@ -1235,29 +1109,29 @@ 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 (in, px, pt, etc.).
        * 
* * 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 { @@ -1266,7 +1140,6 @@ public com.google.protobuf.ByteString getUnitBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1278,7 +1151,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_); } @@ -1295,7 +1169,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_); @@ -1308,17 +1183,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; } @@ -1331,7 +1207,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(); @@ -1340,94 +1217,87 @@ 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 @@ -1437,41 +1307,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(); @@ -1483,9 +1351,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 @@ -1504,8 +1372,7 @@ 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); + com.google.cloud.documentai.v1.Document.Style.FontSize result = new com.google.cloud.documentai.v1.Document.Style.FontSize(this); result.size_ = size_; result.unit_ = unit_; onBuilt(); @@ -1516,41 +1383,38 @@ public com.google.cloud.documentai.v1.Document.Style.FontSize 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) { + 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; @@ -1558,8 +1422,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()); } @@ -1593,25 +1456,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - size_ = input.readFloat(); + case 13: { + size_ = input.readFloat(); - break; - } // case 13 - case 18: - { - unit_ = input.readStringRequireUtf8(); + break; + } // case 13 + case 18: { + unit_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1622,16 +1482,13 @@ public Builder mergeFrom( return this; } - private float size_; + private float size_ ; /** - * - * *
          * Font size for the text.
          * 
* * float size = 1; - * * @return The size. */ @java.lang.Override @@ -1639,36 +1496,30 @@ public float getSize() { return size_; } /** - * - * *
          * Font size for the text.
          * 
* * float size = 1; - * * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(float value) { - + size_ = value; onChanged(); return this; } /** - * - * *
          * Font size for the text.
          * 
* * float size = 1; - * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0F; onChanged(); return this; @@ -1676,20 +1527,18 @@ public Builder clearSize() { private java.lang.Object unit_ = ""; /** - * - * *
          * Unit for the font size. Follows CSS naming (in, px, pt, etc.).
          * 
* * 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; @@ -1698,21 +1547,20 @@ public java.lang.String getUnit() { } } /** - * - * *
          * Unit for the font size. Follows CSS naming (in, px, pt, etc.).
          * 
* * 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 { @@ -1720,66 +1568,58 @@ public com.google.protobuf.ByteString getUnitBytes() { } } /** - * - * *
          * Unit for the font size. Follows CSS naming (in, px, pt, etc.).
          * 
* * string unit = 2; - * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit(java.lang.String value) { + public Builder setUnit( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + unit_ = value; onChanged(); return this; } /** - * - * *
          * Unit for the font size. Follows CSS naming (in, px, pt, etc.).
          * 
* * string unit = 2; - * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = getDefaultInstance().getUnit(); onChanged(); return this; } /** - * - * *
          * Unit for the font size. Follows CSS naming (in, px, pt, etc.).
          * 
* * string unit = 2; - * * @param value The bytes for unit to set. * @return This builder for chaining. */ - public Builder setUnitBytes(com.google.protobuf.ByteString value) { + public Builder setUnitBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unit_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1792,12 +1632,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(); } @@ -1806,28 +1646,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; @@ -1842,19 +1681,17 @@ 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 @@ -1862,25 +1699,18 @@ 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].
      * 
@@ -1895,14 +1725,11 @@ public com.google.cloud.documentai.v1.Document.TextAnchorOrBuilder getTextAnchor 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 @@ -1910,14 +1737,11 @@ public boolean hasColor() { return color_ != null; } /** - * - * *
      * Text color.
      * 
* * .google.type.Color color = 2; - * * @return The color. */ @java.lang.Override @@ -1925,8 +1749,6 @@ public com.google.type.Color getColor() { return color_ == null ? com.google.type.Color.getDefaultInstance() : color_; } /** - * - * *
      * Text color.
      * 
@@ -1941,14 +1763,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 @@ -1956,25 +1775,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.
      * 
@@ -1989,15 +1801,12 @@ public com.google.type.ColorOrBuilder getBackgroundColorOrBuilder() { public static final int FONT_WEIGHT_FIELD_NUMBER = 4; private volatile java.lang.Object fontWeight_; /** - * - * *
      * Font weight. Possible values are normal, bold, bolder, and lighter.
      * https://www.w3schools.com/cssref/pr_font_weight.asp
      * 
* * string font_weight = 4; - * * @return The fontWeight. */ @java.lang.Override @@ -2006,30 +1815,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. Possible values are normal, bold, bolder, and lighter.
      * https://www.w3schools.com/cssref/pr_font_weight.asp
      * 
* * 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 { @@ -2040,15 +1849,12 @@ public com.google.protobuf.ByteString getFontWeightBytes() { public static final int TEXT_STYLE_FIELD_NUMBER = 5; private volatile java.lang.Object textStyle_; /** - * - * *
      * Text style. Possible values are normal, italic, and oblique.
      * https://www.w3schools.com/cssref/pr_font_font-style.asp
      * 
* * string text_style = 5; - * * @return The textStyle. */ @java.lang.Override @@ -2057,30 +1863,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. Possible values are normal, italic, and oblique.
      * https://www.w3schools.com/cssref/pr_font_font-style.asp
      * 
* * 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 { @@ -2091,8 +1897,6 @@ public com.google.protobuf.ByteString getTextStyleBytes() { public static final int TEXT_DECORATION_FIELD_NUMBER = 6; private volatile java.lang.Object textDecoration_; /** - * - * *
      * Text decoration. Follows CSS standard.
      * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -2100,7 +1904,6 @@ public com.google.protobuf.ByteString getTextStyleBytes() {
      * 
* * string text_decoration = 6; - * * @return The textDecoration. */ @java.lang.Override @@ -2109,15 +1912,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. Follows CSS standard.
      * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -2125,15 +1927,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 { @@ -2144,14 +1947,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 @@ -2159,25 +1959,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.
      * 
@@ -2189,8 +1982,55 @@ public com.google.cloud.documentai.v1.Document.Style.FontSizeOrBuilder getFontSi return getFontSize(); } - private byte memoizedIsInitialized = -1; + public static final int FONT_FAMILY_FIELD_NUMBER = 8; + 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 + public java.lang.String getFontFamily() { + java.lang.Object ref = fontFamily_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + 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() { + 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); + fontFamily_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2202,7 +2042,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()); } @@ -2224,6 +2065,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (fontSize_ != null) { output.writeMessage(7, getFontSize()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fontFamily_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, fontFamily_); + } getUnknownFields().writeTo(output); } @@ -2234,13 +2078,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_); @@ -2252,7 +2099,11 @@ 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_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2262,33 +2113,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2322,99 +2181,95 @@ public int hashCode() { hash = (37 * hash) + FONT_SIZE_FIELD_NUMBER; hash = (53 * hash) + getFontSize().hashCode(); } + hash = (37 * hash) + FONT_FAMILY_FIELD_NUMBER; + hash = (53 * hash) + getFontFamily().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; 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 @@ -2424,8 +2279,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Annotation for common text style attributes. This adheres to CSS
      * conventions as much as possible.
@@ -2433,33 +2286,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();
@@ -2493,13 +2346,15 @@ public Builder clear() {
           fontSize_ = null;
           fontSizeBuilder_ = null;
         }
+        fontFamily_ = "";
+
         return this;
       }
 
       @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
@@ -2518,8 +2373,7 @@ 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);
+        com.google.cloud.documentai.v1.Document.Style result = new com.google.cloud.documentai.v1.Document.Style(this);
         if (textAnchorBuilder_ == null) {
           result.textAnchor_ = textAnchor_;
         } else {
@@ -2543,6 +2397,7 @@ public com.google.cloud.documentai.v1.Document.Style buildPartial() {
         } else {
           result.fontSize_ = fontSizeBuilder_.build();
         }
+        result.fontFamily_ = fontFamily_;
         onBuilt();
         return result;
       }
@@ -2551,41 +2406,38 @@ public com.google.cloud.documentai.v1.Document.Style 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) {
+          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;
@@ -2593,8 +2445,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());
         }
@@ -2619,6 +2470,10 @@ public Builder mergeFrom(com.google.cloud.documentai.v1.Document.Style other) {
         if (other.hasFontSize()) {
           mergeFontSize(other.getFontSize());
         }
+        if (!other.getFontFamily().isEmpty()) {
+          fontFamily_ = other.fontFamily_;
+          onChanged();
+        }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
         return this;
@@ -2645,56 +2500,60 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getTextAnchorFieldBuilder().getBuilder(), extensionRegistry);
+              case 10: {
+                input.readMessage(
+                    getTextAnchorFieldBuilder().getBuilder(),
+                    extensionRegistry);
 
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getColorFieldBuilder().getBuilder(), extensionRegistry);
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getColorFieldBuilder().getBuilder(),
+                    extensionRegistry);
 
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(
-                      getBackgroundColorFieldBuilder().getBuilder(), extensionRegistry);
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getBackgroundColorFieldBuilder().getBuilder(),
+                    extensionRegistry);
 
-                  break;
-                } // case 26
-              case 34:
-                {
-                  fontWeight_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+              case 34: {
+                fontWeight_ = input.readStringRequireUtf8();
 
-                  break;
-                } // case 34
-              case 42:
-                {
-                  textStyle_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+              case 42: {
+                textStyle_ = input.readStringRequireUtf8();
 
-                  break;
-                } // case 42
-              case 50:
-                {
-                  textDecoration_ = input.readStringRequireUtf8();
+                break;
+              } // case 42
+              case 50: {
+                textDecoration_ = input.readStringRequireUtf8();
 
-                  break;
-                } // case 50
-              case 58:
-                {
-                  input.readMessage(getFontSizeFieldBuilder().getBuilder(), extensionRegistry);
+                break;
+              } // case 50
+              case 58: {
+                input.readMessage(
+                    getFontSizeFieldBuilder().getBuilder(),
+                    extensionRegistry);
 
-                  break;
-                } // case 58
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                break;
+              } // case 58
+              case 66: {
+                fontFamily_ = input.readStringRequireUtf8();
+
+                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) {
@@ -2707,47 +2566,34 @@ public Builder mergeFrom(
 
       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 textAnchorBuilder_ != null || 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. */ 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].
        * 
@@ -2768,8 +2614,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].
        * 
@@ -2788,8 +2632,6 @@ public Builder setTextAnchor( return this; } /** - * - * *
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
        * 
@@ -2800,9 +2642,7 @@ public Builder mergeTextAnchor(com.google.cloud.documentai.v1.Document.TextAncho if (textAnchorBuilder_ == null) { if (textAnchor_ != null) { textAnchor_ = - com.google.cloud.documentai.v1.Document.TextAnchor.newBuilder(textAnchor_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.Document.TextAnchor.newBuilder(textAnchor_).mergeFrom(value).buildPartial(); } else { textAnchor_ = value; } @@ -2814,8 +2654,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].
        * 
@@ -2834,8 +2672,6 @@ public Builder clearTextAnchor() { return this; } /** - * - * *
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
        * 
@@ -2843,13 +2679,11 @@ public Builder clearTextAnchor() { * .google.cloud.documentai.v1.Document.TextAnchor text_anchor = 1; */ public com.google.cloud.documentai.v1.Document.TextAnchor.Builder getTextAnchorBuilder() { - + onChanged(); return getTextAnchorFieldBuilder().getBuilder(); } /** - * - * *
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1.Document.text].
        * 
@@ -2860,14 +2694,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].
        * 
@@ -2875,17 +2706,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_; @@ -2893,31 +2721,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 colorBuilder_ != null || color_ != null; } /** - * - * *
        * Text color.
        * 
* * .google.type.Color color = 2; - * * @return The color. */ public com.google.type.Color getColor() { @@ -2928,8 +2749,6 @@ public com.google.type.Color getColor() { } } /** - * - * *
        * Text color.
        * 
@@ -2950,15 +2769,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(); onChanged(); @@ -2969,8 +2787,6 @@ public Builder setColor(com.google.type.Color.Builder builderForValue) { return this; } /** - * - * *
        * Text color.
        * 
@@ -2980,7 +2796,8 @@ public Builder setColor(com.google.type.Color.Builder builderForValue) { public Builder mergeColor(com.google.type.Color value) { if (colorBuilder_ == null) { if (color_ != null) { - color_ = com.google.type.Color.newBuilder(color_).mergeFrom(value).buildPartial(); + color_ = + com.google.type.Color.newBuilder(color_).mergeFrom(value).buildPartial(); } else { color_ = value; } @@ -2992,8 +2809,6 @@ public Builder mergeColor(com.google.type.Color value) { return this; } /** - * - * *
        * Text color.
        * 
@@ -3012,8 +2827,6 @@ public Builder clearColor() { return this; } /** - * - * *
        * Text color.
        * 
@@ -3021,13 +2834,11 @@ public Builder clearColor() { * .google.type.Color color = 2; */ public com.google.type.Color.Builder getColorBuilder() { - + onChanged(); return getColorFieldBuilder().getBuilder(); } /** - * - * *
        * Text color.
        * 
@@ -3038,12 +2849,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.
        * 
@@ -3051,14 +2861,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_; @@ -3066,45 +2876,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 backgroundColorBuilder_ != null || backgroundColor_ != null; } /** - * - * *
        * 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.
        * 
@@ -3125,15 +2924,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(); onChanged(); @@ -3144,8 +2942,6 @@ public Builder setBackgroundColor(com.google.type.Color.Builder builderForValue) return this; } /** - * - * *
        * Text background color.
        * 
@@ -3156,7 +2952,7 @@ public Builder mergeBackgroundColor(com.google.type.Color value) { if (backgroundColorBuilder_ == null) { if (backgroundColor_ != null) { backgroundColor_ = - com.google.type.Color.newBuilder(backgroundColor_).mergeFrom(value).buildPartial(); + com.google.type.Color.newBuilder(backgroundColor_).mergeFrom(value).buildPartial(); } else { backgroundColor_ = value; } @@ -3168,8 +2964,6 @@ public Builder mergeBackgroundColor(com.google.type.Color value) { return this; } /** - * - * *
        * Text background color.
        * 
@@ -3188,8 +2982,6 @@ public Builder clearBackgroundColor() { return this; } /** - * - * *
        * Text background color.
        * 
@@ -3197,13 +2989,11 @@ public Builder clearBackgroundColor() { * .google.type.Color background_color = 3; */ public com.google.type.Color.Builder getBackgroundColorBuilder() { - + onChanged(); return getBackgroundColorFieldBuilder().getBuilder(); } /** - * - * *
        * Text background color.
        * 
@@ -3214,14 +3004,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.
        * 
@@ -3229,15 +3016,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_; @@ -3245,21 +3031,19 @@ public com.google.type.ColorOrBuilder getBackgroundColorOrBuilder() { private java.lang.Object fontWeight_ = ""; /** - * - * *
        * Font weight. Possible values are normal, bold, bolder, and lighter.
        * https://www.w3schools.com/cssref/pr_font_weight.asp
        * 
* * 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; @@ -3268,22 +3052,21 @@ public java.lang.String getFontWeight() { } } /** - * - * *
        * Font weight. Possible values are normal, bold, bolder, and lighter.
        * https://www.w3schools.com/cssref/pr_font_weight.asp
        * 
* * 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 { @@ -3291,64 +3074,57 @@ public com.google.protobuf.ByteString getFontWeightBytes() { } } /** - * - * *
        * Font weight. Possible values are normal, bold, bolder, and lighter.
        * https://www.w3schools.com/cssref/pr_font_weight.asp
        * 
* * string font_weight = 4; - * * @param value The fontWeight to set. * @return This builder for chaining. */ - public Builder setFontWeight(java.lang.String value) { + public Builder setFontWeight( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fontWeight_ = value; onChanged(); return this; } /** - * - * *
        * Font weight. Possible values are normal, bold, bolder, and lighter.
        * https://www.w3schools.com/cssref/pr_font_weight.asp
        * 
* * string font_weight = 4; - * * @return This builder for chaining. */ public Builder clearFontWeight() { - + fontWeight_ = getDefaultInstance().getFontWeight(); onChanged(); return this; } /** - * - * *
        * Font weight. Possible values are normal, bold, bolder, and lighter.
        * https://www.w3schools.com/cssref/pr_font_weight.asp
        * 
* * 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) { + public Builder setFontWeightBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fontWeight_ = value; onChanged(); return this; @@ -3356,21 +3132,19 @@ public Builder setFontWeightBytes(com.google.protobuf.ByteString value) { private java.lang.Object textStyle_ = ""; /** - * - * *
        * Text style. Possible values are normal, italic, and oblique.
        * https://www.w3schools.com/cssref/pr_font_font-style.asp
        * 
* * 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; @@ -3379,22 +3153,21 @@ public java.lang.String getTextStyle() { } } /** - * - * *
        * Text style. Possible values are normal, italic, and oblique.
        * https://www.w3schools.com/cssref/pr_font_font-style.asp
        * 
* * 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 { @@ -3402,64 +3175,57 @@ public com.google.protobuf.ByteString getTextStyleBytes() { } } /** - * - * *
        * Text style. Possible values are normal, italic, and oblique.
        * https://www.w3schools.com/cssref/pr_font_font-style.asp
        * 
* * string text_style = 5; - * * @param value The textStyle to set. * @return This builder for chaining. */ - public Builder setTextStyle(java.lang.String value) { + public Builder setTextStyle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + textStyle_ = value; onChanged(); return this; } /** - * - * *
        * Text style. Possible values are normal, italic, and oblique.
        * https://www.w3schools.com/cssref/pr_font_font-style.asp
        * 
* * string text_style = 5; - * * @return This builder for chaining. */ public Builder clearTextStyle() { - + textStyle_ = getDefaultInstance().getTextStyle(); onChanged(); return this; } /** - * - * *
        * Text style. Possible values are normal, italic, and oblique.
        * https://www.w3schools.com/cssref/pr_font_font-style.asp
        * 
* * 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) { + public Builder setTextStyleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + textStyle_ = value; onChanged(); return this; @@ -3467,8 +3233,6 @@ public Builder setTextStyleBytes(com.google.protobuf.ByteString value) { private java.lang.Object textDecoration_ = ""; /** - * - * *
        * Text decoration. Follows CSS standard.
        * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -3476,13 +3240,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; @@ -3491,8 +3255,6 @@ public java.lang.String getTextDecoration() { } } /** - * - * *
        * Text decoration. Follows CSS standard.
        * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -3500,14 +3262,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 { @@ -3515,8 +3278,6 @@ public com.google.protobuf.ByteString getTextDecorationBytes() { } } /** - * - * *
        * Text decoration. Follows CSS standard.
        * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -3524,22 +3285,20 @@ 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) { + public Builder setTextDecoration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + textDecoration_ = value; onChanged(); return this; } /** - * - * *
        * Text decoration. Follows CSS standard.
        * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -3547,18 +3306,15 @@ public Builder setTextDecoration(java.lang.String value) {
        * 
* * string text_decoration = 6; - * * @return This builder for chaining. */ public Builder clearTextDecoration() { - + textDecoration_ = getDefaultInstance().getTextDecoration(); onChanged(); return this; } /** - * - * *
        * Text decoration. Follows CSS standard.
        * <text-decoration-line> <text-decoration-color> <text-decoration-style>
@@ -3566,16 +3322,16 @@ 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) { + public Builder setTextDecorationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + textDecoration_ = value; onChanged(); return this; @@ -3583,47 +3339,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 fontSizeBuilder_ != null || fontSize_ != null; } /** - * - * *
        * 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.
        * 
@@ -3644,8 +3387,6 @@ public Builder setFontSize(com.google.cloud.documentai.v1.Document.Style.FontSiz return this; } /** - * - * *
        * Font size.
        * 
@@ -3664,8 +3405,6 @@ public Builder setFontSize( return this; } /** - * - * *
        * Font size.
        * 
@@ -3676,9 +3415,7 @@ public Builder mergeFontSize(com.google.cloud.documentai.v1.Document.Style.FontS if (fontSizeBuilder_ == null) { if (fontSize_ != null) { fontSize_ = - com.google.cloud.documentai.v1.Document.Style.FontSize.newBuilder(fontSize_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.documentai.v1.Document.Style.FontSize.newBuilder(fontSize_).mergeFrom(value).buildPartial(); } else { fontSize_ = value; } @@ -3690,8 +3427,6 @@ public Builder mergeFontSize(com.google.cloud.documentai.v1.Document.Style.FontS return this; } /** - * - * *
        * Font size.
        * 
@@ -3710,8 +3445,6 @@ public Builder clearFontSize() { return this; } /** - * - * *
        * Font size.
        * 
@@ -3719,32 +3452,26 @@ public Builder clearFontSize() { * .google.cloud.documentai.v1.Document.Style.FontSize font_size = 7; */ public com.google.cloud.documentai.v1.Document.Style.FontSize.Builder getFontSizeBuilder() { - + onChanged(); 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.
        * 
@@ -3752,22 +3479,119 @@ 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_; } + 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; + java.lang.String s = bs.toStringUtf8(); + fontFamily_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 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() { + java.lang.Object ref = fontFamily_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fontFamily_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 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(); + } + + fontFamily_ = value; + 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() { + + fontFamily_ = getDefaultInstance().getFontFamily(); + 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; + * @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(); + } + checkByteStringIsUtf8(value); + + fontFamily_ = value; + onChanged(); + return this; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3780,12 +3604,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(); } @@ -3794,28 +3618,27 @@ public static com.google.cloud.documentai.v1.Document.Style getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser