# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/discoveryengine/v1beta/document_service.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/discoveryengine/v1beta/document_pb' require 'google/cloud/discoveryengine/v1beta/import_config_pb' require 'google/cloud/discoveryengine/v1beta/purge_config_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n:google/cloud/discoveryengine/v1beta/document_service.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/discoveryengine/v1beta/document.proto\x1a\x37google/cloud/discoveryengine/v1beta/import_config.proto\x1a\x36google/cloud/discoveryengine/v1beta/purge_config.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"S\n\x12GetDocumentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"|\n\x14ListDocumentsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"r\n\x15ListDocumentsResponse\x12@\n\tdocuments\x18\x01 \x03(\x0b\x32-.google.cloud.discoveryengine.v1beta.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb6\x01\n\x15\x43reateDocumentRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x44\n\x08\x64ocument\x18\x02 \x01(\x0b\x32-.google.cloud.discoveryengine.v1beta.DocumentB\x03\xe0\x41\x02\x12\x18\n\x0b\x64ocument_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xa5\x01\n\x15UpdateDocumentRequest\x12\x44\n\x08\x64ocument\x18\x01 \x01(\x0b\x32-.google.cloud.discoveryengine.v1beta.DocumentB\x03\xe0\x41\x02\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"V\n\x15\x44\x65leteDocumentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Document\"\xa7\x04\n BatchGetDocumentsMetadataRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Branch\x12\x63\n\x07matcher\x18\x02 \x01(\x0b\x32M.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.MatcherB\x03\xe0\x41\x02\x1a\x1b\n\x0bUrisMatcher\x12\x0c\n\x04uris\x18\x01 \x03(\t\x1aU\n\x0b\x46hirMatcher\x12\x46\n\x0e\x66hir_resources\x18\x01 \x03(\tB.\xe0\x41\x02\xfa\x41(\n&healthcare.googleapis.com/FhirResource\x1a\xea\x01\n\x07Matcher\x12i\n\x0curis_matcher\x18\x01 \x01(\x0b\x32Q.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.UrisMatcherH\x00\x12i\n\x0c\x66hir_matcher\x18\x02 \x01(\x0b\x32Q.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.FhirMatcherH\x00\x42\t\n\x07matcher\"\xac\x05\n!BatchGetDocumentsMetadataResponse\x12s\n\x12\x64ocuments_metadata\x18\x01 \x03(\x0b\x32W.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata\x1a\xba\x03\n\x10\x44ocumentMetadata\x12{\n\rmatcher_value\x18\x02 \x01(\x0b\x32\x64.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue\x12[\n\x05state\x18\x03 \x01(\x0e\x32L.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.State\x12\x37\n\x13last_refreshed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15\x64\x61ta_ingestion_source\x18\x05 \x01(\t\x1at\n\x0cMatcherValue\x12\r\n\x03uri\x18\x01 \x01(\tH\x00\x12\x44\n\rfhir_resource\x18\x02 \x01(\tB+\xfa\x41(\n&healthcare.googleapis.com/FhirResourceH\x00\x42\x0f\n\rmatcher_value\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07INDEXED\x10\x01\x12\x16\n\x12NOT_IN_TARGET_SITE\x10\x02\x12\x10\n\x0cNOT_IN_INDEX\x10\x03\x32\xa1\x17\n\x0f\x44ocumentService\x12\xac\x02\n\x0bGetDocument\x12\x37.google.cloud.discoveryengine.v1beta.GetDocumentRequest\x1a-.google.cloud.discoveryengine.v1beta.Document\"\xb4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xa6\x01\x12I/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}ZY\x12W/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}\x12\xbf\x02\n\rListDocuments\x12\x39.google.cloud.discoveryengine.v1beta.ListDocumentsRequest\x1a:.google.cloud.discoveryengine.v1beta.ListDocumentsResponse\"\xb6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xa6\x01\x12I/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documentsZY\x12W/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents\x12\xdd\x02\n\x0e\x43reateDocument\x12:.google.cloud.discoveryengine.v1beta.CreateDocumentRequest\x1a-.google.cloud.discoveryengine.v1beta.Document\"\xdf\x01\xda\x41\x1bparent,document,document_id\x82\xd3\xe4\x93\x02\xba\x01\"I/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:\x08\x64ocumentZc\"W/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:\x08\x64ocument\x12\xe8\x02\n\x0eUpdateDocument\x12:.google.cloud.discoveryengine.v1beta.UpdateDocumentRequest\x1a-.google.cloud.discoveryengine.v1beta.Document\"\xea\x01\xda\x41\x14\x64ocument,update_mask\x82\xd3\xe4\x93\x02\xcc\x01\x32R/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}:\x08\x64ocumentZl2`/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}:\x08\x64ocument\x12\x9b\x02\n\x0e\x44\x65leteDocument\x12:.google.cloud.discoveryengine.v1beta.DeleteDocumentRequest\x1a\x16.google.protobuf.Empty\"\xb4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xa6\x01*I/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}ZY*W/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}\x12\xae\x03\n\x0fImportDocuments\x12;.google.cloud.discoveryengine.v1beta.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xbe\x02\xca\x41z\n;google.cloud.discoveryengine.v1beta.ImportDocumentsResponse\x12;google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata\x82\xd3\xe4\x93\x02\xba\x01\"P/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import:\x01*Zc\"^/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import:\x01*\x12\xa8\x03\n\x0ePurgeDocuments\x12:.google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xba\x02\xca\x41x\n:google.cloud.discoveryengine.v1beta.PurgeDocumentsResponse\x12:google.cloud.discoveryengine.v1beta.PurgeDocumentsMetadata\x82\xd3\xe4\x93\x02\xb8\x01\"O/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge:\x01*Zb\"]/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge:\x01*\x12\x83\x03\n\x19\x42\x61tchGetDocumentsMetadata\x12\x45.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest\x1a\x46.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse\"\xd6\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xc6\x01\x12Y/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/batchGetDocumentsMetadataZi\x12g/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/batchGetDocumentsMetadata\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9b\x02\n\'com.google.cloud.discoveryengine.v1betaB\x14\x44ocumentServiceProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\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 = [ ["google.cloud.discoveryengine.v1beta.Document", "google/cloud/discoveryengine/v1beta/document.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ] 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 DiscoveryEngine module V1beta GetDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.GetDocumentRequest").msgclass ListDocumentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListDocumentsRequest").msgclass ListDocumentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListDocumentsResponse").msgclass CreateDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateDocumentRequest").msgclass UpdateDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.UpdateDocumentRequest").msgclass DeleteDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.DeleteDocumentRequest").msgclass BatchGetDocumentsMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest").msgclass BatchGetDocumentsMetadataRequest::UrisMatcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.UrisMatcher").msgclass BatchGetDocumentsMetadataRequest::FhirMatcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.FhirMatcher").msgclass BatchGetDocumentsMetadataRequest::Matcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher").msgclass BatchGetDocumentsMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse").msgclass BatchGetDocumentsMetadataResponse::DocumentMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata").msgclass BatchGetDocumentsMetadataResponse::DocumentMetadata::MatcherValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue").msgclass BatchGetDocumentsMetadataResponse::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.State").enummodule end end end end