# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/documentai/v1beta3/document_schema.proto require 'google/protobuf' descriptor_data = "\n5google/cloud/documentai/v1beta3/document_schema.proto\x12\x1fgoogle.cloud.documentai.v1beta3\"\xac\x02\n\x0eSummaryOptions\x12\x46\n\x06length\x18\x01 \x01(\x0e\x32\x36.google.cloud.documentai.v1beta3.SummaryOptions.Length\x12\x46\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x36.google.cloud.documentai.v1beta3.SummaryOptions.Format\"L\n\x06Length\x12\x16\n\x12LENGTH_UNSPECIFIED\x10\x00\x12\t\n\x05\x42RIEF\x10\x01\x12\x0c\n\x08MODERATE\x10\x02\x12\x11\n\rCOMPREHENSIVE\x10\x03\"<\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\r\n\tPARAGRAPH\x10\x01\x12\x0b\n\x07\x42ULLETS\x10\x02\"c\n\x17\x46ieldExtractionMetadata\x12H\n\x0fsummary_options\x18\x02 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.SummaryOptions\"\x81\x01\n\x10PropertyMetadata\x12\x10\n\x08inactive\x18\x03 \x01(\x08\x12[\n\x19\x66ield_extraction_metadata\x18\t \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.FieldExtractionMetadata\"&\n\x12\x45ntityTypeMetadata\x12\x10\n\x08inactive\x18\x05 \x01(\x08\"\xa1\t\n\x0e\x44ocumentSchema\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12P\n\x0c\x65ntity_types\x18\x03 \x03(\x0b\x32:.google.cloud.documentai.v1beta3.DocumentSchema.EntityType\x12J\n\x08metadata\x18\x04 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.DocumentSchema.Metadata\x1a\xae\x06\n\nEntityType\x12\\\n\x0b\x65num_values\x18\x0e \x01(\x0b\x32\x45.google.cloud.documentai.v1beta3.DocumentSchema.EntityType.EnumValuesH\x00\x12\x14\n\x0c\x64isplay_name\x18\r \x01(\t\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x0f \x01(\t\x12\x12\n\nbase_types\x18\x02 \x03(\t\x12W\n\nproperties\x18\x06 \x03(\x0b\x32\x43.google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property\x12Q\n\x14\x65ntity_type_metadata\x18\x0b \x01(\x0b\x32\x33.google.cloud.documentai.v1beta3.EntityTypeMetadata\x1a\x1c\n\nEnumValues\x12\x0e\n\x06values\x18\x01 \x03(\t\x1a\x9a\x03\n\x08Property\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12\x12\n\nvalue_type\x18\x02 \x01(\t\x12k\n\x0foccurrence_type\x18\x03 \x01(\x0e\x32R.google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property.OccurrenceType\x12L\n\x11property_metadata\x18\x05 \x01(\x0b\x32\x31.google.cloud.documentai.v1beta3.PropertyMetadata\"\x85\x01\n\x0eOccurrenceType\x12\x1f\n\x1bOCCURRENCE_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rOPTIONAL_ONCE\x10\x01\x12\x15\n\x11OPTIONAL_MULTIPLE\x10\x02\x12\x11\n\rREQUIRED_ONCE\x10\x03\x12\x15\n\x11REQUIRED_MULTIPLE\x10\x04\x42\x0e\n\x0cvalue_source\x1a\x94\x01\n\x08Metadata\x12\x19\n\x11\x64ocument_splitter\x18\x01 \x01(\x08\x12&\n\x1e\x64ocument_allow_multiple_labels\x18\x02 \x01(\x08\x12%\n\x1dprefixed_naming_on_properties\x18\x06 \x01(\x08\x12\x1e\n\x16skip_naming_validation\x18\x07 \x01(\x08\x42\xef\x01\n#com.google.cloud.documentai.v1beta3B\x18\x44ocumentAiDocumentSchemaP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module DocumentAI module V1beta3 SummaryOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.SummaryOptions").msgclass SummaryOptions::Length = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.SummaryOptions.Length").enummodule SummaryOptions::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.SummaryOptions.Format").enummodule FieldExtractionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.FieldExtractionMetadata").msgclass PropertyMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.PropertyMetadata").msgclass EntityTypeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.EntityTypeMetadata").msgclass DocumentSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.DocumentSchema").msgclass DocumentSchema::EntityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.DocumentSchema.EntityType").msgclass DocumentSchema::EntityType::EnumValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.DocumentSchema.EntityType.EnumValues").msgclass DocumentSchema::EntityType::Property = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property").msgclass DocumentSchema::EntityType::Property::OccurrenceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.DocumentSchema.EntityType.Property.OccurrenceType").enummodule DocumentSchema::Metadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.DocumentSchema.Metadata").msgclass end end end end