# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/discoveryengine/v1/engine_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/v1/engine_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n4google/cloud/discoveryengine/v1/engine_service.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/discoveryengine/v1/engine.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xae\x01\n\x13\x43reateEngineRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Collection\x12<\n\x06\x65ngine\x18\x02 \x01(\x0b\x32\'.google.cloud.discoveryengine.v1.EngineB\x03\xe0\x41\x02\x12\x16\n\tengine_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"x\n\x14\x43reateEngineMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"R\n\x13\x44\x65leteEngineRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Engine\"x\n\x14\x44\x65leteEngineMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"O\n\x10GetEngineRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%discoveryengine.googleapis.com/Engine\"\x9d\x01\n\x12ListEnginesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Collection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"h\n\x13ListEnginesResponse\x12\x38\n\x07\x65ngines\x18\x01 \x03(\x0b\x32\'.google.cloud.discoveryengine.v1.Engine\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x84\x01\n\x13UpdateEngineRequest\x12<\n\x06\x65ngine\x18\x01 \x01(\x0b\x32\'.google.cloud.discoveryengine.v1.EngineB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask2\xe3\t\n\rEngineService\x12\xaa\x02\n\x0c\x43reateEngine\x12\x34.google.cloud.discoveryengine.v1.CreateEngineRequest\x1a\x1d.google.longrunning.Operation\"\xc4\x01\xca\x41^\n&google.cloud.discoveryengine.v1.Engine\x12\x34google.cloud.discoveryengine.v1.CreateEngineMetadata\xda\x41\x17parent,engine,engine_id\x82\xd3\xe4\x93\x02\x43\"9/v1/{parent=projects/*/locations/*/collections/*}/engines:\x06\x65ngine\x12\xfe\x01\n\x0c\x44\x65leteEngine\x12\x34.google.cloud.discoveryengine.v1.DeleteEngineRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41M\n\x15google.protobuf.Empty\x12\x34google.cloud.discoveryengine.v1.DeleteEngineMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/collections/*/engines/*}\x12\xd4\x01\n\x0cUpdateEngine\x12\x34.google.cloud.discoveryengine.v1.UpdateEngineRequest\x1a\'.google.cloud.discoveryengine.v1.Engine\"e\xda\x41\x12\x65ngine,update_mask\x82\xd3\xe4\x93\x02J2@/v1/{engine.name=projects/*/locations/*/collections/*/engines/*}:\x06\x65ngine\x12\xb1\x01\n\tGetEngine\x12\x31.google.cloud.discoveryengine.v1.GetEngineRequest\x1a\'.google.cloud.discoveryengine.v1.Engine\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/collections/*/engines/*}\x12\xc4\x01\n\x0bListEngines\x12\x33.google.cloud.discoveryengine.v1.ListEnginesRequest\x1a\x34.google.cloud.discoveryengine.v1.ListEnginesResponse\"J\xda\x41\x06parent\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/collections/*}/engines\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x85\x02\n#com.google.cloud.discoveryengine.v1B\x12\x45ngineServiceProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0f\x44ISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\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.v1.Engine", "google/cloud/discoveryengine/v1/engine.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.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 V1
        CreateEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CreateEngineRequest").msgclass
        CreateEngineMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.CreateEngineMetadata").msgclass
        DeleteEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DeleteEngineRequest").msgclass
        DeleteEngineMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.DeleteEngineMetadata").msgclass
        GetEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.GetEngineRequest").msgclass
        ListEnginesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.ListEnginesRequest").msgclass
        ListEnginesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.ListEnginesResponse").msgclass
        UpdateEngineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1.UpdateEngineRequest").msgclass
      end
    end
  end
end
