blob: 99065f40bb6290f70fd976ecc0b29e7a256feb1f [file] [edit]
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v6.33.2
// source: google/cloud/discoveryengine/v1/engine.proto
package discoveryenginepb
import (
reflect "reflect"
sync "sync"
unsafe "unsafe"
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// The training state of the engine.
type Engine_MediaRecommendationEngineConfig_TrainingState int32
const (
// Unspecified training state.
Engine_MediaRecommendationEngineConfig_TRAINING_STATE_UNSPECIFIED Engine_MediaRecommendationEngineConfig_TrainingState = 0
// The engine training is paused.
Engine_MediaRecommendationEngineConfig_PAUSED Engine_MediaRecommendationEngineConfig_TrainingState = 1
// The engine is training.
Engine_MediaRecommendationEngineConfig_TRAINING Engine_MediaRecommendationEngineConfig_TrainingState = 2
)
// Enum value maps for Engine_MediaRecommendationEngineConfig_TrainingState.
var (
Engine_MediaRecommendationEngineConfig_TrainingState_name = map[int32]string{
0: "TRAINING_STATE_UNSPECIFIED",
1: "PAUSED",
2: "TRAINING",
}
Engine_MediaRecommendationEngineConfig_TrainingState_value = map[string]int32{
"TRAINING_STATE_UNSPECIFIED": 0,
"PAUSED": 1,
"TRAINING": 2,
}
)
func (x Engine_MediaRecommendationEngineConfig_TrainingState) Enum() *Engine_MediaRecommendationEngineConfig_TrainingState {
p := new(Engine_MediaRecommendationEngineConfig_TrainingState)
*p = x
return p
}
func (x Engine_MediaRecommendationEngineConfig_TrainingState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Engine_MediaRecommendationEngineConfig_TrainingState) Descriptor() protoreflect.EnumDescriptor {
return file_google_cloud_discoveryengine_v1_engine_proto_enumTypes[0].Descriptor()
}
func (Engine_MediaRecommendationEngineConfig_TrainingState) Type() protoreflect.EnumType {
return &file_google_cloud_discoveryengine_v1_engine_proto_enumTypes[0]
}
func (x Engine_MediaRecommendationEngineConfig_TrainingState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Engine_MediaRecommendationEngineConfig_TrainingState.Descriptor instead.
func (Engine_MediaRecommendationEngineConfig_TrainingState) EnumDescriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 1, 0}
}
// Metadata that describes the training and serving parameters of an
// [Engine][google.cloud.discoveryengine.v1.Engine].
type Engine struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Additional config specs that defines the behavior of the engine.
//
// Types that are valid to be assigned to EngineConfig:
//
// *Engine_ChatEngineConfig_
// *Engine_SearchEngineConfig_
// *Engine_MediaRecommendationEngineConfig_
EngineConfig isEngine_EngineConfig `protobuf_oneof:"engine_config"`
// Engine metadata to monitor the status of the engine.
//
// Types that are valid to be assigned to EngineMetadata:
//
// *Engine_ChatEngineMetadata_
EngineMetadata isEngine_EngineMetadata `protobuf_oneof:"engine_metadata"`
// Immutable. Identifier. The fully qualified resource name of the engine.
//
// This field must be a UTF-8 encoded string with a length limit of 1024
// characters.
//
// Format:
// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
// engine should be 1-63 characters, and valid characters are
// /[a-z0-9][a-z0-9-_]*/. Otherwise, an INVALID_ARGUMENT error is returned.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The display name of the engine. Should be human readable. UTF-8
// encoded string with limit of 1024 characters.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. Timestamp the Recommendation Engine was created at.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Timestamp the Recommendation Engine was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. The data stores associated with this engine.
//
// For
// [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH]
// and
// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_RECOMMENDATION]
// type of engines, they can only associate with at most one data store.
//
// If [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] is
// [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_CHAT],
// multiple [DataStore][google.cloud.discoveryengine.v1.DataStore]s in the
// same [Collection][google.cloud.discoveryengine.v1.Collection] can be
// associated here.
//
// Note that when used in
// [CreateEngineRequest][google.cloud.discoveryengine.v1.CreateEngineRequest],
// one DataStore id must be provided as the system will use it for necessary
// initializations.
DataStoreIds []string `protobuf:"bytes,5,rep,name=data_store_ids,json=dataStoreIds,proto3" json:"data_store_ids,omitempty"`
// Required. The solutions of the engine.
SolutionType SolutionType `protobuf:"varint,6,opt,name=solution_type,json=solutionType,proto3,enum=google.cloud.discoveryengine.v1.SolutionType" json:"solution_type,omitempty"`
// Optional. The industry vertical that the engine registers.
// The restriction of the Engine industry vertical is based on
// [DataStore][google.cloud.discoveryengine.v1.DataStore]: Vertical on Engine
// has to match vertical of the DataStore linked to the engine.
IndustryVertical IndustryVertical `protobuf:"varint,16,opt,name=industry_vertical,json=industryVertical,proto3,enum=google.cloud.discoveryengine.v1.IndustryVertical" json:"industry_vertical,omitempty"`
// Common config spec that specifies the metadata of the engine.
CommonConfig *Engine_CommonConfig `protobuf:"bytes,15,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
// Optional. Whether to disable analytics for searches performed on this
// engine.
DisableAnalytics bool `protobuf:"varint,26,opt,name=disable_analytics,json=disableAnalytics,proto3" json:"disable_analytics,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine) Reset() {
*x = Engine{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine) ProtoMessage() {}
func (x *Engine) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine.ProtoReflect.Descriptor instead.
func (*Engine) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0}
}
func (x *Engine) GetEngineConfig() isEngine_EngineConfig {
if x != nil {
return x.EngineConfig
}
return nil
}
func (x *Engine) GetChatEngineConfig() *Engine_ChatEngineConfig {
if x != nil {
if x, ok := x.EngineConfig.(*Engine_ChatEngineConfig_); ok {
return x.ChatEngineConfig
}
}
return nil
}
func (x *Engine) GetSearchEngineConfig() *Engine_SearchEngineConfig {
if x != nil {
if x, ok := x.EngineConfig.(*Engine_SearchEngineConfig_); ok {
return x.SearchEngineConfig
}
}
return nil
}
func (x *Engine) GetMediaRecommendationEngineConfig() *Engine_MediaRecommendationEngineConfig {
if x != nil {
if x, ok := x.EngineConfig.(*Engine_MediaRecommendationEngineConfig_); ok {
return x.MediaRecommendationEngineConfig
}
}
return nil
}
func (x *Engine) GetEngineMetadata() isEngine_EngineMetadata {
if x != nil {
return x.EngineMetadata
}
return nil
}
func (x *Engine) GetChatEngineMetadata() *Engine_ChatEngineMetadata {
if x != nil {
if x, ok := x.EngineMetadata.(*Engine_ChatEngineMetadata_); ok {
return x.ChatEngineMetadata
}
}
return nil
}
func (x *Engine) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Engine) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *Engine) GetCreateTime() *timestamppb.Timestamp {
if x != nil {
return x.CreateTime
}
return nil
}
func (x *Engine) GetUpdateTime() *timestamppb.Timestamp {
if x != nil {
return x.UpdateTime
}
return nil
}
func (x *Engine) GetDataStoreIds() []string {
if x != nil {
return x.DataStoreIds
}
return nil
}
func (x *Engine) GetSolutionType() SolutionType {
if x != nil {
return x.SolutionType
}
return SolutionType_SOLUTION_TYPE_UNSPECIFIED
}
func (x *Engine) GetIndustryVertical() IndustryVertical {
if x != nil {
return x.IndustryVertical
}
return IndustryVertical_INDUSTRY_VERTICAL_UNSPECIFIED
}
func (x *Engine) GetCommonConfig() *Engine_CommonConfig {
if x != nil {
return x.CommonConfig
}
return nil
}
func (x *Engine) GetDisableAnalytics() bool {
if x != nil {
return x.DisableAnalytics
}
return false
}
type isEngine_EngineConfig interface {
isEngine_EngineConfig()
}
type Engine_ChatEngineConfig_ struct {
// Configurations for the Chat Engine. Only applicable if
// [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] is
// [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_CHAT].
ChatEngineConfig *Engine_ChatEngineConfig `protobuf:"bytes,11,opt,name=chat_engine_config,json=chatEngineConfig,proto3,oneof"`
}
type Engine_SearchEngineConfig_ struct {
// Configurations for the Search Engine. Only applicable if
// [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type] is
// [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_SEARCH].
SearchEngineConfig *Engine_SearchEngineConfig `protobuf:"bytes,13,opt,name=search_engine_config,json=searchEngineConfig,proto3,oneof"`
}
type Engine_MediaRecommendationEngineConfig_ struct {
// Configurations for the Media Engine. Only applicable on the data
// stores with
// [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type]
// [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_RECOMMENDATION]
// and
// [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1.IndustryVertical.MEDIA]
// vertical.
MediaRecommendationEngineConfig *Engine_MediaRecommendationEngineConfig `protobuf:"bytes,14,opt,name=media_recommendation_engine_config,json=mediaRecommendationEngineConfig,proto3,oneof"`
}
func (*Engine_ChatEngineConfig_) isEngine_EngineConfig() {}
func (*Engine_SearchEngineConfig_) isEngine_EngineConfig() {}
func (*Engine_MediaRecommendationEngineConfig_) isEngine_EngineConfig() {}
type isEngine_EngineMetadata interface {
isEngine_EngineMetadata()
}
type Engine_ChatEngineMetadata_ struct {
// Output only. Additional information of the Chat Engine. Only applicable
// if [solution_type][google.cloud.discoveryengine.v1.Engine.solution_type]
// is
// [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1.SolutionType.SOLUTION_TYPE_CHAT].
ChatEngineMetadata *Engine_ChatEngineMetadata `protobuf:"bytes,12,opt,name=chat_engine_metadata,json=chatEngineMetadata,proto3,oneof"`
}
func (*Engine_ChatEngineMetadata_) isEngine_EngineMetadata() {}
// Configurations for a Search Engine.
type Engine_SearchEngineConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The search feature tier of this engine.
//
// Different tiers might have different
// pricing. To learn more, check the pricing documentation.
//
// Defaults to
// [SearchTier.SEARCH_TIER_STANDARD][google.cloud.discoveryengine.v1.SearchTier.SEARCH_TIER_STANDARD]
// if not specified.
SearchTier SearchTier `protobuf:"varint,1,opt,name=search_tier,json=searchTier,proto3,enum=google.cloud.discoveryengine.v1.SearchTier" json:"search_tier,omitempty"`
// The add-on that this search engine enables.
SearchAddOns []SearchAddOn `protobuf:"varint,2,rep,packed,name=search_add_ons,json=searchAddOns,proto3,enum=google.cloud.discoveryengine.v1.SearchAddOn" json:"search_add_ons,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_SearchEngineConfig) Reset() {
*x = Engine_SearchEngineConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_SearchEngineConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_SearchEngineConfig) ProtoMessage() {}
func (x *Engine_SearchEngineConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_SearchEngineConfig.ProtoReflect.Descriptor instead.
func (*Engine_SearchEngineConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 0}
}
func (x *Engine_SearchEngineConfig) GetSearchTier() SearchTier {
if x != nil {
return x.SearchTier
}
return SearchTier_SEARCH_TIER_UNSPECIFIED
}
func (x *Engine_SearchEngineConfig) GetSearchAddOns() []SearchAddOn {
if x != nil {
return x.SearchAddOns
}
return nil
}
// Additional config specs for a Media Recommendation engine.
type Engine_MediaRecommendationEngineConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Required. The type of engine. e.g., `recommended-for-you`.
//
// This field together with
// [optimization_objective][google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.optimization_objective]
// describe engine metadata to use to control engine training and serving.
//
// Currently supported values: `recommended-for-you`, `others-you-may-like`,
// `more-like-this`, `most-popular-items`.
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// The optimization objective. e.g., `cvr`.
//
// This field together with
// [optimization_objective][google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.type]
// describe engine metadata to use to control engine training and serving.
//
// Currently supported
// values: `ctr`, `cvr`.
//
// If not specified, we choose default based on engine type.
//
// Default depends on type of recommendation:
//
// `recommended-for-you` => `ctr`
//
// `others-you-may-like` => `ctr`
OptimizationObjective string `protobuf:"bytes,2,opt,name=optimization_objective,json=optimizationObjective,proto3" json:"optimization_objective,omitempty"`
// Name and value of the custom threshold for cvr optimization_objective.
// For target_field `watch-time`, target_field_value must be an integer
// value indicating the media progress time in seconds between (0, 86400]
// (excludes 0, includes 86400) (e.g., 90).
// For target_field `watch-percentage`, the target_field_value must be a
// valid float value between (0, 1.0] (excludes 0, includes 1.0) (e.g.,
// 0.5).
OptimizationObjectiveConfig *Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig `protobuf:"bytes,3,opt,name=optimization_objective_config,json=optimizationObjectiveConfig,proto3" json:"optimization_objective_config,omitempty"`
// The training state that the engine is in (e.g.
// `TRAINING` or `PAUSED`).
//
// Since part of the cost of running the service
// is frequency of training - this can be used to determine when to train
// engine in order to control cost. If not specified: the default value for
// `CreateEngine` method is `TRAINING`. The default value for
// `UpdateEngine` method is to keep the state the same as before.
TrainingState Engine_MediaRecommendationEngineConfig_TrainingState `protobuf:"varint,4,opt,name=training_state,json=trainingState,proto3,enum=google.cloud.discoveryengine.v1.Engine_MediaRecommendationEngineConfig_TrainingState" json:"training_state,omitempty"`
// Optional. Additional engine features config.
EngineFeaturesConfig *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig `protobuf:"bytes,5,opt,name=engine_features_config,json=engineFeaturesConfig,proto3" json:"engine_features_config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_MediaRecommendationEngineConfig) Reset() {
*x = Engine_MediaRecommendationEngineConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_MediaRecommendationEngineConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_MediaRecommendationEngineConfig) ProtoMessage() {}
func (x *Engine_MediaRecommendationEngineConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_MediaRecommendationEngineConfig.ProtoReflect.Descriptor instead.
func (*Engine_MediaRecommendationEngineConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 1}
}
func (x *Engine_MediaRecommendationEngineConfig) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *Engine_MediaRecommendationEngineConfig) GetOptimizationObjective() string {
if x != nil {
return x.OptimizationObjective
}
return ""
}
func (x *Engine_MediaRecommendationEngineConfig) GetOptimizationObjectiveConfig() *Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig {
if x != nil {
return x.OptimizationObjectiveConfig
}
return nil
}
func (x *Engine_MediaRecommendationEngineConfig) GetTrainingState() Engine_MediaRecommendationEngineConfig_TrainingState {
if x != nil {
return x.TrainingState
}
return Engine_MediaRecommendationEngineConfig_TRAINING_STATE_UNSPECIFIED
}
func (x *Engine_MediaRecommendationEngineConfig) GetEngineFeaturesConfig() *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig {
if x != nil {
return x.EngineFeaturesConfig
}
return nil
}
// Configurations for a Chat Engine.
type Engine_ChatEngineConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The configurationt generate the Dialogflow agent that is associated to
// this Engine.
//
// Note that these configurations are one-time consumed by
// and passed to Dialogflow service. It means they cannot be retrieved using
// [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
// or
// [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
// API after engine creation.
AgentCreationConfig *Engine_ChatEngineConfig_AgentCreationConfig `protobuf:"bytes,1,opt,name=agent_creation_config,json=agentCreationConfig,proto3" json:"agent_creation_config,omitempty"`
// The resource name of an exist Dialogflow agent to link to this Chat
// Engine. Customers can either provide `agent_creation_config` to create
// agent or provide an agent name that links the agent with the Chat engine.
//
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
// ID>`.
//
// Note that the `dialogflow_agent_to_link` are one-time consumed by and
// passed to Dialogflow service. It means they cannot be retrieved using
// [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
// or
// [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
// API after engine creation. Use
// [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata.dialogflow_agent]
// for actual agent association after Engine is created.
DialogflowAgentToLink string `protobuf:"bytes,2,opt,name=dialogflow_agent_to_link,json=dialogflowAgentToLink,proto3" json:"dialogflow_agent_to_link,omitempty"`
// Optional. If the flag set to true, we allow the agent and engine are in
// different locations, otherwise the agent and engine are required to be in
// the same location. The flag is set to false by default.
//
// Note that the `allow_cross_region` are one-time consumed by and
// passed to
// [EngineService.CreateEngine][google.cloud.discoveryengine.v1.EngineService.CreateEngine].
// It means they cannot be retrieved using
// [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
// or
// [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
// API after engine creation.
AllowCrossRegion bool `protobuf:"varint,3,opt,name=allow_cross_region,json=allowCrossRegion,proto3" json:"allow_cross_region,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_ChatEngineConfig) Reset() {
*x = Engine_ChatEngineConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_ChatEngineConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_ChatEngineConfig) ProtoMessage() {}
func (x *Engine_ChatEngineConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_ChatEngineConfig.ProtoReflect.Descriptor instead.
func (*Engine_ChatEngineConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 2}
}
func (x *Engine_ChatEngineConfig) GetAgentCreationConfig() *Engine_ChatEngineConfig_AgentCreationConfig {
if x != nil {
return x.AgentCreationConfig
}
return nil
}
func (x *Engine_ChatEngineConfig) GetDialogflowAgentToLink() string {
if x != nil {
return x.DialogflowAgentToLink
}
return ""
}
func (x *Engine_ChatEngineConfig) GetAllowCrossRegion() bool {
if x != nil {
return x.AllowCrossRegion
}
return false
}
// Common configurations for an Engine.
type Engine_CommonConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The name of the company, business or entity that is associated with the
// engine. Setting this may help improve LLM related features.
CompanyName string `protobuf:"bytes,1,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_CommonConfig) Reset() {
*x = Engine_CommonConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_CommonConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_CommonConfig) ProtoMessage() {}
func (x *Engine_CommonConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_CommonConfig.ProtoReflect.Descriptor instead.
func (*Engine_CommonConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 3}
}
func (x *Engine_CommonConfig) GetCompanyName() string {
if x != nil {
return x.CompanyName
}
return ""
}
// Additional information of a Chat Engine.
// Fields in this message are output only.
type Engine_ChatEngineMetadata struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The resource name of a Dialogflow agent, that this Chat Engine refers
// to.
//
// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
// ID>`.
DialogflowAgent string `protobuf:"bytes,1,opt,name=dialogflow_agent,json=dialogflowAgent,proto3" json:"dialogflow_agent,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_ChatEngineMetadata) Reset() {
*x = Engine_ChatEngineMetadata{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_ChatEngineMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_ChatEngineMetadata) ProtoMessage() {}
func (x *Engine_ChatEngineMetadata) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_ChatEngineMetadata.ProtoReflect.Descriptor instead.
func (*Engine_ChatEngineMetadata) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 4}
}
func (x *Engine_ChatEngineMetadata) GetDialogflowAgent() string {
if x != nil {
return x.DialogflowAgent
}
return ""
}
// Custom threshold for `cvr` optimization_objective.
type Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Required. The name of the field to target. Currently supported
// values: `watch-percentage`, `watch-time`.
TargetField string `protobuf:"bytes,1,opt,name=target_field,json=targetField,proto3" json:"target_field,omitempty"`
// Required. The threshold to be applied to the target (e.g., 0.5).
TargetFieldValueFloat float32 `protobuf:"fixed32,2,opt,name=target_field_value_float,json=targetFieldValueFloat,proto3" json:"target_field_value_float,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig) Reset() {
*x = Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig) ProtoMessage() {}
func (x *Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig.ProtoReflect.Descriptor instead.
func (*Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 1, 0}
}
func (x *Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig) GetTargetField() string {
if x != nil {
return x.TargetField
}
return ""
}
func (x *Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig) GetTargetFieldValueFloat() float32 {
if x != nil {
return x.TargetFieldValueFloat
}
return 0
}
// More feature configs of the selected engine type.
type Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Feature related configurations applied to a specific type of meida
// recommendation engines.
//
// Types that are valid to be assigned to TypeDedicatedConfig:
//
// *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_RecommendedForYouConfig
// *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_MostPopularConfig
TypeDedicatedConfig isEngine_MediaRecommendationEngineConfig_EngineFeaturesConfig_TypeDedicatedConfig `protobuf_oneof:"type_dedicated_config"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig) Reset() {
*x = Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig) ProtoMessage() {}
func (x *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig.ProtoReflect.Descriptor instead.
func (*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 1, 1}
}
func (x *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig) GetTypeDedicatedConfig() isEngine_MediaRecommendationEngineConfig_EngineFeaturesConfig_TypeDedicatedConfig {
if x != nil {
return x.TypeDedicatedConfig
}
return nil
}
func (x *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig) GetRecommendedForYouConfig() *Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig {
if x != nil {
if x, ok := x.TypeDedicatedConfig.(*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_RecommendedForYouConfig); ok {
return x.RecommendedForYouConfig
}
}
return nil
}
func (x *Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig) GetMostPopularConfig() *Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig {
if x != nil {
if x, ok := x.TypeDedicatedConfig.(*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_MostPopularConfig); ok {
return x.MostPopularConfig
}
}
return nil
}
type isEngine_MediaRecommendationEngineConfig_EngineFeaturesConfig_TypeDedicatedConfig interface {
isEngine_MediaRecommendationEngineConfig_EngineFeaturesConfig_TypeDedicatedConfig()
}
type Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_RecommendedForYouConfig struct {
// Recommended for you engine feature config.
RecommendedForYouConfig *Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig `protobuf:"bytes,1,opt,name=recommended_for_you_config,json=recommendedForYouConfig,proto3,oneof"`
}
type Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_MostPopularConfig struct {
// Most popular engine feature config.
MostPopularConfig *Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig `protobuf:"bytes,2,opt,name=most_popular_config,json=mostPopularConfig,proto3,oneof"`
}
func (*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_RecommendedForYouConfig) isEngine_MediaRecommendationEngineConfig_EngineFeaturesConfig_TypeDedicatedConfig() {
}
func (*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_MostPopularConfig) isEngine_MediaRecommendationEngineConfig_EngineFeaturesConfig_TypeDedicatedConfig() {
}
// Additional feature configurations for creating a `recommended-for-you`
// engine.
type Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The type of event with which the engine is queried at prediction time.
// If set to `generic`, only `view-item`, `media-play`,and
// `media-complete` will be used as `context-event` in engine training. If
// set to `view-home-page`, `view-home-page` will also be used as
// `context-events` in addition to `view-item`, `media-play`, and
// `media-complete`. Currently supported for the `recommended-for-you`
// engine. Currently supported values: `view-home-page`, `generic`.
ContextEventType string `protobuf:"bytes,1,opt,name=context_event_type,json=contextEventType,proto3" json:"context_event_type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig) Reset() {
*x = Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig) ProtoMessage() {}
func (x *Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig.ProtoReflect.Descriptor instead.
func (*Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 1, 2}
}
func (x *Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig) GetContextEventType() string {
if x != nil {
return x.ContextEventType
}
return ""
}
// Feature configurations that are required for creating a Most Popular
// engine.
type Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// The time window of which the engine is queried at training and
// prediction time. Positive integers only. The value translates to the
// last X days of events. Currently required for the `most-popular-items`
// engine.
TimeWindowDays int64 `protobuf:"varint,1,opt,name=time_window_days,json=timeWindowDays,proto3" json:"time_window_days,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig) Reset() {
*x = Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig) ProtoMessage() {}
func (x *Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig.ProtoReflect.Descriptor instead.
func (*Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 1, 3}
}
func (x *Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig) GetTimeWindowDays() int64 {
if x != nil {
return x.TimeWindowDays
}
return 0
}
// Configurations for generating a Dialogflow agent.
//
// Note that these configurations are one-time consumed by
// and passed to Dialogflow service. It means they cannot be retrieved using
// [EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
// or
// [EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
// API after engine creation.
type Engine_ChatEngineConfig_AgentCreationConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Name of the company, organization or other entity that the agent
// represents. Used for knowledge connector LLM prompt and for knowledge
// search.
Business string `protobuf:"bytes,1,opt,name=business,proto3" json:"business,omitempty"`
// Required. The default language of the agent as a language tag.
// See [Language
// Support](https://cloud.google.com/dialogflow/docs/reference/language)
// for a list of the currently supported language codes.
DefaultLanguageCode string `protobuf:"bytes,2,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"`
// Required. The time zone of the agent from the [time zone
// database](https://www.iana.org/time-zones), e.g., America/New_York,
// Europe/Paris.
TimeZone string `protobuf:"bytes,3,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// Agent location for Agent creation, supported values: global/us/eu.
// If not provided, us Engine will create Agent using us-central-1 by
// default; eu Engine will create Agent using eu-west-1 by default.
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Engine_ChatEngineConfig_AgentCreationConfig) Reset() {
*x = Engine_ChatEngineConfig_AgentCreationConfig{}
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Engine_ChatEngineConfig_AgentCreationConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Engine_ChatEngineConfig_AgentCreationConfig) ProtoMessage() {}
func (x *Engine_ChatEngineConfig_AgentCreationConfig) ProtoReflect() protoreflect.Message {
mi := &file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Engine_ChatEngineConfig_AgentCreationConfig.ProtoReflect.Descriptor instead.
func (*Engine_ChatEngineConfig_AgentCreationConfig) Descriptor() ([]byte, []int) {
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP(), []int{0, 2, 0}
}
func (x *Engine_ChatEngineConfig_AgentCreationConfig) GetBusiness() string {
if x != nil {
return x.Business
}
return ""
}
func (x *Engine_ChatEngineConfig_AgentCreationConfig) GetDefaultLanguageCode() string {
if x != nil {
return x.DefaultLanguageCode
}
return ""
}
func (x *Engine_ChatEngineConfig_AgentCreationConfig) GetTimeZone() string {
if x != nil {
return x.TimeZone
}
return ""
}
func (x *Engine_ChatEngineConfig_AgentCreationConfig) GetLocation() string {
if x != nil {
return x.Location
}
return ""
}
var File_google_cloud_discoveryengine_v1_engine_proto protoreflect.FileDescriptor
const file_google_cloud_discoveryengine_v1_engine_proto_rawDesc = "" +
"\n" +
",google/cloud/discoveryengine/v1/engine.proto\x12\x1fgoogle.cloud.discoveryengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/discoveryengine/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb4\x19\n" +
"\x06Engine\x12h\n" +
"\x12chat_engine_config\x18\v \x01(\v28.google.cloud.discoveryengine.v1.Engine.ChatEngineConfigH\x00R\x10chatEngineConfig\x12n\n" +
"\x14search_engine_config\x18\r \x01(\v2:.google.cloud.discoveryengine.v1.Engine.SearchEngineConfigH\x00R\x12searchEngineConfig\x12\x96\x01\n" +
"\"media_recommendation_engine_config\x18\x0e \x01(\v2G.google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfigH\x00R\x1fmediaRecommendationEngineConfig\x12s\n" +
"\x14chat_engine_metadata\x18\f \x01(\v2:.google.cloud.discoveryengine.v1.Engine.ChatEngineMetadataB\x03\xe0A\x03H\x01R\x12chatEngineMetadata\x12\x1a\n" +
"\x04name\x18\x01 \x01(\tB\x06\xe0A\x05\xe0A\bR\x04name\x12&\n" +
"\fdisplay_name\x18\x02 \x01(\tB\x03\xe0A\x02R\vdisplayName\x12@\n" +
"\vcreate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
"createTime\x12@\n" +
"\vupdate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
"updateTime\x12)\n" +
"\x0edata_store_ids\x18\x05 \x03(\tB\x03\xe0A\x01R\fdataStoreIds\x12W\n" +
"\rsolution_type\x18\x06 \x01(\x0e2-.google.cloud.discoveryengine.v1.SolutionTypeB\x03\xe0A\x02R\fsolutionType\x12c\n" +
"\x11industry_vertical\x18\x10 \x01(\x0e21.google.cloud.discoveryengine.v1.IndustryVerticalB\x03\xe0A\x01R\x10industryVertical\x12Y\n" +
"\rcommon_config\x18\x0f \x01(\v24.google.cloud.discoveryengine.v1.Engine.CommonConfigR\fcommonConfig\x120\n" +
"\x11disable_analytics\x18\x1a \x01(\bB\x03\xe0A\x01R\x10disableAnalytics\x1a\xb6\x01\n" +
"\x12SearchEngineConfig\x12L\n" +
"\vsearch_tier\x18\x01 \x01(\x0e2+.google.cloud.discoveryengine.v1.SearchTierR\n" +
"searchTier\x12R\n" +
"\x0esearch_add_ons\x18\x02 \x03(\x0e2,.google.cloud.discoveryengine.v1.SearchAddOnR\fsearchAddOns\x1a\x89\n" +
"\n" +
"\x1fMediaRecommendationEngineConfig\x12\x17\n" +
"\x04type\x18\x01 \x01(\tB\x03\xe0A\x02R\x04type\x125\n" +
"\x16optimization_objective\x18\x02 \x01(\tR\x15optimizationObjective\x12\xa7\x01\n" +
"\x1doptimization_objective_config\x18\x03 \x01(\v2c.google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.OptimizationObjectiveConfigR\x1boptimizationObjectiveConfig\x12|\n" +
"\x0etraining_state\x18\x04 \x01(\x0e2U.google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.TrainingStateR\rtrainingState\x12\x97\x01\n" +
"\x16engine_features_config\x18\x05 \x01(\v2\\.google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfigB\x03\xe0A\x01R\x14engineFeaturesConfig\x1a\x83\x01\n" +
"\x1bOptimizationObjectiveConfig\x12&\n" +
"\ftarget_field\x18\x01 \x01(\tB\x03\xe0A\x02R\vtargetField\x12<\n" +
"\x18target_field_value_float\x18\x02 \x01(\x02B\x03\xe0A\x02R\x15targetFieldValueFloat\x1a\xec\x02\n" +
"\x14EngineFeaturesConfig\x12\xa5\x01\n" +
"\x1arecommended_for_you_config\x18\x01 \x01(\v2f.google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.RecommendedForYouFeatureConfigH\x00R\x17recommendedForYouConfig\x12\x92\x01\n" +
"\x13most_popular_config\x18\x02 \x01(\v2`.google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.MostPopularFeatureConfigH\x00R\x11mostPopularConfigB\x17\n" +
"\x15type_dedicated_config\x1aN\n" +
"\x1eRecommendedForYouFeatureConfig\x12,\n" +
"\x12context_event_type\x18\x01 \x01(\tR\x10contextEventType\x1aD\n" +
"\x18MostPopularFeatureConfig\x12(\n" +
"\x10time_window_days\x18\x01 \x01(\x03R\x0etimeWindowDays\"I\n" +
"\rTrainingState\x12\x1e\n" +
"\x1aTRAINING_STATE_UNSPECIFIED\x10\x00\x12\n" +
"\n" +
"\x06PAUSED\x10\x01\x12\f\n" +
"\bTRAINING\x10\x02\x1a\xa7\x03\n" +
"\x10ChatEngineConfig\x12\x80\x01\n" +
"\x15agent_creation_config\x18\x01 \x01(\v2L.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfigR\x13agentCreationConfig\x127\n" +
"\x18dialogflow_agent_to_link\x18\x02 \x01(\tR\x15dialogflowAgentToLink\x121\n" +
"\x12allow_cross_region\x18\x03 \x01(\bB\x03\xe0A\x01R\x10allowCrossRegion\x1a\xa3\x01\n" +
"\x13AgentCreationConfig\x12\x1a\n" +
"\bbusiness\x18\x01 \x01(\tR\bbusiness\x122\n" +
"\x15default_language_code\x18\x02 \x01(\tR\x13defaultLanguageCode\x12 \n" +
"\ttime_zone\x18\x03 \x01(\tB\x03\xe0A\x02R\btimeZone\x12\x1a\n" +
"\blocation\x18\x04 \x01(\tR\blocation\x1a1\n" +
"\fCommonConfig\x12!\n" +
"\fcompany_name\x18\x01 \x01(\tR\vcompanyName\x1a?\n" +
"\x12ChatEngineMetadata\x12)\n" +
"\x10dialogflow_agent\x18\x01 \x01(\tR\x0fdialogflowAgent:}\xeaAz\n" +
"%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}B\x0f\n" +
"\rengine_configB\x11\n" +
"\x0fengine_metadataB\xfe\x01\n" +
"#com.google.cloud.discoveryengine.v1B\vEngineProtoP\x01ZMcloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb\xa2\x02\x0fDISCOVERYENGINE\xaa\x02\x1fGoogle.Cloud.DiscoveryEngine.V1\xca\x02\x1fGoogle\\Cloud\\DiscoveryEngine\\V1\xea\x02\"Google::Cloud::DiscoveryEngine::V1b\x06proto3"
var (
file_google_cloud_discoveryengine_v1_engine_proto_rawDescOnce sync.Once
file_google_cloud_discoveryengine_v1_engine_proto_rawDescData []byte
)
func file_google_cloud_discoveryengine_v1_engine_proto_rawDescGZIP() []byte {
file_google_cloud_discoveryengine_v1_engine_proto_rawDescOnce.Do(func() {
file_google_cloud_discoveryengine_v1_engine_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_discoveryengine_v1_engine_proto_rawDesc), len(file_google_cloud_discoveryengine_v1_engine_proto_rawDesc)))
})
return file_google_cloud_discoveryengine_v1_engine_proto_rawDescData
}
var file_google_cloud_discoveryengine_v1_engine_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_discoveryengine_v1_engine_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_google_cloud_discoveryengine_v1_engine_proto_goTypes = []any{
(Engine_MediaRecommendationEngineConfig_TrainingState)(0), // 0: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.TrainingState
(*Engine)(nil), // 1: google.cloud.discoveryengine.v1.Engine
(*Engine_SearchEngineConfig)(nil), // 2: google.cloud.discoveryengine.v1.Engine.SearchEngineConfig
(*Engine_MediaRecommendationEngineConfig)(nil), // 3: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig
(*Engine_ChatEngineConfig)(nil), // 4: google.cloud.discoveryengine.v1.Engine.ChatEngineConfig
(*Engine_CommonConfig)(nil), // 5: google.cloud.discoveryengine.v1.Engine.CommonConfig
(*Engine_ChatEngineMetadata)(nil), // 6: google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata
(*Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig)(nil), // 7: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.OptimizationObjectiveConfig
(*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig)(nil), // 8: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfig
(*Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig)(nil), // 9: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.RecommendedForYouFeatureConfig
(*Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig)(nil), // 10: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.MostPopularFeatureConfig
(*Engine_ChatEngineConfig_AgentCreationConfig)(nil), // 11: google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig
(*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
(SolutionType)(0), // 13: google.cloud.discoveryengine.v1.SolutionType
(IndustryVertical)(0), // 14: google.cloud.discoveryengine.v1.IndustryVertical
(SearchTier)(0), // 15: google.cloud.discoveryengine.v1.SearchTier
(SearchAddOn)(0), // 16: google.cloud.discoveryengine.v1.SearchAddOn
}
var file_google_cloud_discoveryengine_v1_engine_proto_depIdxs = []int32{
4, // 0: google.cloud.discoveryengine.v1.Engine.chat_engine_config:type_name -> google.cloud.discoveryengine.v1.Engine.ChatEngineConfig
2, // 1: google.cloud.discoveryengine.v1.Engine.search_engine_config:type_name -> google.cloud.discoveryengine.v1.Engine.SearchEngineConfig
3, // 2: google.cloud.discoveryengine.v1.Engine.media_recommendation_engine_config:type_name -> google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig
6, // 3: google.cloud.discoveryengine.v1.Engine.chat_engine_metadata:type_name -> google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata
12, // 4: google.cloud.discoveryengine.v1.Engine.create_time:type_name -> google.protobuf.Timestamp
12, // 5: google.cloud.discoveryengine.v1.Engine.update_time:type_name -> google.protobuf.Timestamp
13, // 6: google.cloud.discoveryengine.v1.Engine.solution_type:type_name -> google.cloud.discoveryengine.v1.SolutionType
14, // 7: google.cloud.discoveryengine.v1.Engine.industry_vertical:type_name -> google.cloud.discoveryengine.v1.IndustryVertical
5, // 8: google.cloud.discoveryengine.v1.Engine.common_config:type_name -> google.cloud.discoveryengine.v1.Engine.CommonConfig
15, // 9: google.cloud.discoveryengine.v1.Engine.SearchEngineConfig.search_tier:type_name -> google.cloud.discoveryengine.v1.SearchTier
16, // 10: google.cloud.discoveryengine.v1.Engine.SearchEngineConfig.search_add_ons:type_name -> google.cloud.discoveryengine.v1.SearchAddOn
7, // 11: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.optimization_objective_config:type_name -> google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.OptimizationObjectiveConfig
0, // 12: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.training_state:type_name -> google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.TrainingState
8, // 13: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.engine_features_config:type_name -> google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfig
11, // 14: google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.agent_creation_config:type_name -> google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig
9, // 15: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfig.recommended_for_you_config:type_name -> google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.RecommendedForYouFeatureConfig
10, // 16: google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfig.most_popular_config:type_name -> google.cloud.discoveryengine.v1.Engine.MediaRecommendationEngineConfig.MostPopularFeatureConfig
17, // [17:17] is the sub-list for method output_type
17, // [17:17] is the sub-list for method input_type
17, // [17:17] is the sub-list for extension type_name
17, // [17:17] is the sub-list for extension extendee
0, // [0:17] is the sub-list for field type_name
}
func init() { file_google_cloud_discoveryengine_v1_engine_proto_init() }
func file_google_cloud_discoveryengine_v1_engine_proto_init() {
if File_google_cloud_discoveryengine_v1_engine_proto != nil {
return
}
file_google_cloud_discoveryengine_v1_common_proto_init()
file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[0].OneofWrappers = []any{
(*Engine_ChatEngineConfig_)(nil),
(*Engine_SearchEngineConfig_)(nil),
(*Engine_MediaRecommendationEngineConfig_)(nil),
(*Engine_ChatEngineMetadata_)(nil),
}
file_google_cloud_discoveryengine_v1_engine_proto_msgTypes[7].OneofWrappers = []any{
(*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_RecommendedForYouConfig)(nil),
(*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig_MostPopularConfig)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_discoveryengine_v1_engine_proto_rawDesc), len(file_google_cloud_discoveryengine_v1_engine_proto_rawDesc)),
NumEnums: 1,
NumMessages: 11,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_google_cloud_discoveryengine_v1_engine_proto_goTypes,
DependencyIndexes: file_google_cloud_discoveryengine_v1_engine_proto_depIdxs,
EnumInfos: file_google_cloud_discoveryengine_v1_engine_proto_enumTypes,
MessageInfos: file_google_cloud_discoveryengine_v1_engine_proto_msgTypes,
}.Build()
File_google_cloud_discoveryengine_v1_engine_proto = out.File
file_google_cloud_discoveryengine_v1_engine_proto_goTypes = nil
file_google_cloud_discoveryengine_v1_engine_proto_depIdxs = nil
}