# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/discoveryengine/v1beta/serving_config.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/discoveryengine/v1beta/common_pb' require 'google/cloud/discoveryengine/v1beta/search_service_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n8google/cloud/discoveryengine/v1beta/serving_config.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/discoveryengine/v1beta/common.proto\x1a\x38google/cloud/discoveryengine/v1beta/search_service.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa5\r\n\rServingConfig\x12V\n\x0cmedia_config\x18\x07 \x01(\x0b\x32>.google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfigH\x00\x12Z\n\x0egeneric_config\x18\n \x01(\x0b\x32@.google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfigH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\rsolution_type\x18\x03 \x01(\x0e\x32\x31.google.cloud.discoveryengine.v1beta.SolutionTypeB\x06\xe0\x41\x02\xe0\x41\x05\x12\x10\n\x08model_id\x18\x04 \x01(\t\x12\x17\n\x0f\x64iversity_level\x18\x05 \x01(\t\x12N\n\x10\x65mbedding_config\x18\x14 \x01(\x0b\x32\x34.google.cloud.discoveryengine.v1beta.EmbeddingConfig\x12\x1a\n\x12ranking_expression\x18\x15 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\x12\x66ilter_control_ids\x18\x0b \x03(\t\x12\x19\n\x11\x62oost_control_ids\x18\x0c \x03(\t\x12\x1c\n\x14redirect_control_ids\x18\x0e \x03(\t\x12\x1c\n\x14synonyms_control_ids\x18\x0f \x03(\t\x12#\n\x1boneway_synonyms_control_ids\x18\x10 \x03(\t\x12\x1e\n\x16\x64issociate_control_ids\x18\x11 \x03(\t\x12\x1f\n\x17replacement_control_ids\x18\x12 \x03(\t\x12\x1a\n\x12ignore_control_ids\x18\x13 \x03(\t\x12\x64\n\x14personalization_spec\x18\x19 \x01(\x0b\x32\x46.google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec\x1a\xf7\x01\n\x0bMediaConfig\x12.\n$content_watched_percentage_threshold\x18\x02 \x01(\x02H\x00\x12+\n!content_watched_seconds_threshold\x18\x05 \x01(\x02H\x00\x12\x1b\n\x13\x64\x65motion_event_type\x18\x01 \x01(\t\x12-\n demote_content_watched_past_days\x18% \x01(\x05\x42\x03\xe0\x41\x01\x12%\n\x1d\x63ontent_freshness_cutoff_days\x18\x04 \x01(\x05\x42\x18\n\x16\x64\x65mote_content_watched\x1ar\n\rGenericConfig\x12\x61\n\x13\x63ontent_search_spec\x18\x01 \x01(\x0b\x32\x44.google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec:\x80\x03\xea\x41\xfc\x02\n,discoveryengine.googleapis.com/ServingConfig\x12_projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}\x12xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}\x12qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}B\x11\n\x0fvertical_configB\x99\x02\n\'com.google.cloud.discoveryengine.v1betaB\x12ServingConfigProtoP\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.EmbeddingConfig", "google/cloud/discoveryengine/v1beta/common.proto"], ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec", "google/cloud/discoveryengine/v1beta/search_service.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 ServingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ServingConfig").msgclass ServingConfig::MediaConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ServingConfig.MediaConfig").msgclass ServingConfig::GenericConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.discoveryengine.v1beta.ServingConfig.GenericConfig").msgclass end end end end