# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/discoveryengine/v1beta/evaluation_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/evaluation_pb'
require 'google/cloud/discoveryengine/v1beta/sample_query_pb'
require 'google/longrunning/operations_pb'


descriptor_data = "\n<google/cloud/discoveryengine/v1beta/evaluation_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\x34google/cloud/discoveryengine/v1beta/evaluation.proto\x1a\x36google/cloud/discoveryengine/v1beta/sample_query.proto\x1a#google/longrunning/operations.proto\"W\n\x14GetEvaluationRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Evaluation\"\x80\x01\n\x16ListEvaluationsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"x\n\x17ListEvaluationsResponse\x12\x44\n\x0b\x65valuations\x18\x01 \x03(\x0b\x32/.google.cloud.discoveryengine.v1beta.Evaluation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa4\x01\n\x17\x43reateEvaluationRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'discoveryengine.googleapis.com/Location\x12H\n\nevaluation\x18\x02 \x01(\x0b\x32/.google.cloud.discoveryengine.v1beta.EvaluationB\x03\xe0\x41\x02\"\x1a\n\x18\x43reateEvaluationMetadata\"\x8c\x01\n\x1cListEvaluationResultsRequest\x12\x45\n\nevaluation\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)discoveryengine.googleapis.com/Evaluation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xde\x02\n\x1dListEvaluationResultsResponse\x12o\n\x12\x65valuation_results\x18\x01 \x03(\x0b\x32S.google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a\xb2\x01\n\x10\x45valuationResult\x12K\n\x0csample_query\x18\x01 \x01(\x0b\x32\x30.google.cloud.discoveryengine.v1beta.SampleQueryB\x03\xe0\x41\x03\x12Q\n\x0fquality_metrics\x18\x02 \x01(\x0b\x32\x33.google.cloud.discoveryengine.v1beta.QualityMetricsB\x03\xe0\x41\x03\x32\xbc\x08\n\x11\x45valuationService\x12\xbf\x01\n\rGetEvaluation\x12\x39.google.cloud.discoveryengine.v1beta.GetEvaluationRequest\x1a/.google.cloud.discoveryengine.v1beta.Evaluation\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta/{name=projects/*/locations/*/evaluations/*}\x12\xd2\x01\n\x0fListEvaluations\x12;.google.cloud.discoveryengine.v1beta.ListEvaluationsRequest\x1a<.google.cloud.discoveryengine.v1beta.ListEvaluationsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta/{parent=projects/*/locations/*}/evaluations\x12\xbe\x02\n\x10\x43reateEvaluation\x12<.google.cloud.discoveryengine.v1beta.CreateEvaluationRequest\x1a\x1d.google.longrunning.Operation\"\xcc\x01\xca\x41n\n.google.cloud.discoveryengine.v1beta.Evaluation\x12<google.cloud.discoveryengine.v1beta.CreateEvaluationMetadata\xda\x41\x11parent,evaluation\x82\xd3\xe4\x93\x02\x41\"3/v1beta/{parent=projects/*/locations/*}/evaluations:\nevaluation\x12\xfa\x01\n\x15ListEvaluationResults\x12\x41.google.cloud.discoveryengine.v1beta.ListEvaluationResultsRequest\x1a\x42.google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse\"Z\xda\x41\nevaluation\x82\xd3\xe4\x93\x02G\x12\x45/v1beta/{evaluation=projects/*/locations/*/evaluations/*}:listResults\x1aR\xca\x41\x1e\x64iscoveryengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x9d\x02\n\'com.google.cloud.discoveryengine.v1betaB\x16\x45valuationServiceProtoP\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.Evaluation", "google/cloud/discoveryengine/v1beta/evaluation.proto"],
    ["google.cloud.discoveryengine.v1beta.SampleQuery", "google/cloud/discoveryengine/v1beta/sample_query.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
        GetEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.GetEvaluationRequest").msgclass
        ListEvaluationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationsRequest").msgclass
        ListEvaluationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationsResponse").msgclass
        CreateEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateEvaluationRequest").msgclass
        CreateEvaluationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.CreateEvaluationMetadata").msgclass
        ListEvaluationResultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationResultsRequest").msgclass
        ListEvaluationResultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse").msgclass
        ListEvaluationResultsResponse::EvaluationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse.EvaluationResult").msgclass
      end
    end
  end
end
