| // Copyright 2026 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/v1beta/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 app of the engine. |
| type Engine_AppType int32 |
| |
| const ( |
| // All non specified apps. |
| Engine_APP_TYPE_UNSPECIFIED Engine_AppType = 0 |
| // App type for intranet search and Agentspace. |
| Engine_APP_TYPE_INTRANET Engine_AppType = 1 |
| ) |
| |
| // Enum value maps for Engine_AppType. |
| var ( |
| Engine_AppType_name = map[int32]string{ |
| 0: "APP_TYPE_UNSPECIFIED", |
| 1: "APP_TYPE_INTRANET", |
| } |
| Engine_AppType_value = map[string]int32{ |
| "APP_TYPE_UNSPECIFIED": 0, |
| "APP_TYPE_INTRANET": 1, |
| } |
| ) |
| |
| func (x Engine_AppType) Enum() *Engine_AppType { |
| p := new(Engine_AppType) |
| *p = x |
| return p |
| } |
| |
| func (x Engine_AppType) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Engine_AppType) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (Engine_AppType) Type() protoreflect.EnumType { |
| return &file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[0] |
| } |
| |
| func (x Engine_AppType) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Engine_AppType.Descriptor instead. |
| func (Engine_AppType) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| // The state of the feature for the engine. |
| type Engine_FeatureState int32 |
| |
| const ( |
| // The feature state is unspecified. |
| Engine_FEATURE_STATE_UNSPECIFIED Engine_FeatureState = 0 |
| // The feature is turned on to be accessible. |
| Engine_FEATURE_STATE_ON Engine_FeatureState = 1 |
| // The feature is turned off to be inaccessible. |
| Engine_FEATURE_STATE_OFF Engine_FeatureState = 2 |
| ) |
| |
| // Enum value maps for Engine_FeatureState. |
| var ( |
| Engine_FeatureState_name = map[int32]string{ |
| 0: "FEATURE_STATE_UNSPECIFIED", |
| 1: "FEATURE_STATE_ON", |
| 2: "FEATURE_STATE_OFF", |
| } |
| Engine_FeatureState_value = map[string]int32{ |
| "FEATURE_STATE_UNSPECIFIED": 0, |
| "FEATURE_STATE_ON": 1, |
| "FEATURE_STATE_OFF": 2, |
| } |
| ) |
| |
| func (x Engine_FeatureState) Enum() *Engine_FeatureState { |
| p := new(Engine_FeatureState) |
| *p = x |
| return p |
| } |
| |
| func (x Engine_FeatureState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Engine_FeatureState) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (Engine_FeatureState) Type() protoreflect.EnumType { |
| return &file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[1] |
| } |
| |
| func (x Engine_FeatureState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Engine_FeatureState.Descriptor instead. |
| func (Engine_FeatureState) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP(), []int{0, 1} |
| } |
| |
| // Configuration for configurable billing approach. |
| type Engine_ConfigurableBillingApproach int32 |
| |
| const ( |
| // Default value. For Spark and non-Spark non-configurable billing approach. |
| // General pricing model. |
| Engine_CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED Engine_ConfigurableBillingApproach = 0 |
| // The billing approach follows configurations specified by customer. |
| Engine_CONFIGURABLE_BILLING_APPROACH_ENABLED Engine_ConfigurableBillingApproach = 1 |
| ) |
| |
| // Enum value maps for Engine_ConfigurableBillingApproach. |
| var ( |
| Engine_ConfigurableBillingApproach_name = map[int32]string{ |
| 0: "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", |
| 1: "CONFIGURABLE_BILLING_APPROACH_ENABLED", |
| } |
| Engine_ConfigurableBillingApproach_value = map[string]int32{ |
| "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED": 0, |
| "CONFIGURABLE_BILLING_APPROACH_ENABLED": 1, |
| } |
| ) |
| |
| func (x Engine_ConfigurableBillingApproach) Enum() *Engine_ConfigurableBillingApproach { |
| p := new(Engine_ConfigurableBillingApproach) |
| *p = x |
| return p |
| } |
| |
| func (x Engine_ConfigurableBillingApproach) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Engine_ConfigurableBillingApproach) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[2].Descriptor() |
| } |
| |
| func (Engine_ConfigurableBillingApproach) Type() protoreflect.EnumType { |
| return &file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[2] |
| } |
| |
| func (x Engine_ConfigurableBillingApproach) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Engine_ConfigurableBillingApproach.Descriptor instead. |
| func (Engine_ConfigurableBillingApproach) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP(), []int{0, 2} |
| } |
| |
| // The status of the model for the engine. |
| type Engine_ModelState int32 |
| |
| const ( |
| // The model state is unspecified. |
| Engine_MODEL_STATE_UNSPECIFIED Engine_ModelState = 0 |
| // The model is enabled by admin. |
| Engine_MODEL_ENABLED Engine_ModelState = 1 |
| // The model is disabled by admin. |
| Engine_MODEL_DISABLED Engine_ModelState = 2 |
| ) |
| |
| // Enum value maps for Engine_ModelState. |
| var ( |
| Engine_ModelState_name = map[int32]string{ |
| 0: "MODEL_STATE_UNSPECIFIED", |
| 1: "MODEL_ENABLED", |
| 2: "MODEL_DISABLED", |
| } |
| Engine_ModelState_value = map[string]int32{ |
| "MODEL_STATE_UNSPECIFIED": 0, |
| "MODEL_ENABLED": 1, |
| "MODEL_DISABLED": 2, |
| } |
| ) |
| |
| func (x Engine_ModelState) Enum() *Engine_ModelState { |
| p := new(Engine_ModelState) |
| *p = x |
| return p |
| } |
| |
| func (x Engine_ModelState) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Engine_ModelState) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[3].Descriptor() |
| } |
| |
| func (Engine_ModelState) Type() protoreflect.EnumType { |
| return &file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[3] |
| } |
| |
| func (x Engine_ModelState) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Engine_ModelState.Descriptor instead. |
| func (Engine_ModelState) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP(), []int{0, 3} |
| } |
| |
| // Represents which marketplace agents are visible to any users in agent |
| // gallery. |
| type Engine_MarketplaceAgentVisibility int32 |
| |
| const ( |
| // Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`. |
| Engine_MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED Engine_MarketplaceAgentVisibility = 0 |
| // Only agents that are currently available for use by the user are visible. |
| Engine_SHOW_AVAILABLE_AGENTS_ONLY Engine_MarketplaceAgentVisibility = 1 |
| // Show marketplace agents that the user does not yet have access to but |
| // are integrated into the engine. This level also includes all agents |
| // visible with `SHOW_AVAILABLE_AGENTS_ONLY`. |
| Engine_SHOW_AGENTS_ALREADY_INTEGRATED Engine_MarketplaceAgentVisibility = 2 |
| // Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus |
| // agents that have already been purchased by the project/organization, even |
| // if they are not currently integrated into the engine. |
| Engine_SHOW_AGENTS_ALREADY_PURCHASED Engine_MarketplaceAgentVisibility = 3 |
| // All agents in the marketplace are visible, regardless of access or |
| // purchase status. This level encompasses all agents shown in the previous |
| // levels. |
| Engine_SHOW_ALL_AGENTS Engine_MarketplaceAgentVisibility = 4 |
| ) |
| |
| // Enum value maps for Engine_MarketplaceAgentVisibility. |
| var ( |
| Engine_MarketplaceAgentVisibility_name = map[int32]string{ |
| 0: "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED", |
| 1: "SHOW_AVAILABLE_AGENTS_ONLY", |
| 2: "SHOW_AGENTS_ALREADY_INTEGRATED", |
| 3: "SHOW_AGENTS_ALREADY_PURCHASED", |
| 4: "SHOW_ALL_AGENTS", |
| } |
| Engine_MarketplaceAgentVisibility_value = map[string]int32{ |
| "MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED": 0, |
| "SHOW_AVAILABLE_AGENTS_ONLY": 1, |
| "SHOW_AGENTS_ALREADY_INTEGRATED": 2, |
| "SHOW_AGENTS_ALREADY_PURCHASED": 3, |
| "SHOW_ALL_AGENTS": 4, |
| } |
| ) |
| |
| func (x Engine_MarketplaceAgentVisibility) Enum() *Engine_MarketplaceAgentVisibility { |
| p := new(Engine_MarketplaceAgentVisibility) |
| *p = x |
| return p |
| } |
| |
| func (x Engine_MarketplaceAgentVisibility) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Engine_MarketplaceAgentVisibility) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[4].Descriptor() |
| } |
| |
| func (Engine_MarketplaceAgentVisibility) Type() protoreflect.EnumType { |
| return &file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[4] |
| } |
| |
| func (x Engine_MarketplaceAgentVisibility) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Engine_MarketplaceAgentVisibility.Descriptor instead. |
| func (Engine_MarketplaceAgentVisibility) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP(), []int{0, 4} |
| } |
| |
| // 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_v1beta_engine_proto_enumTypes[5].Descriptor() |
| } |
| |
| func (Engine_MediaRecommendationEngineConfig_TrainingState) Type() protoreflect.EnumType { |
| return &file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes[5] |
| } |
| |
| 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_v1beta_engine_proto_rawDescGZIP(), []int{0, 1, 0} |
| } |
| |
| // Metadata that describes the training and serving parameters of an |
| // [Engine][google.cloud.discoveryengine.v1beta.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.v1beta.SolutionType.SOLUTION_TYPE_SEARCH] |
| // and |
| // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] |
| // type of engines, they can only associate with at most one data store. |
| // |
| // If |
| // [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] |
| // is |
| // [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_CHAT], |
| // multiple [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s in the |
| // same [Collection][google.cloud.discoveryengine.v1beta.Collection] can be |
| // associated here. |
| // |
| // Note that when used in |
| // [CreateEngineRequest][google.cloud.discoveryengine.v1beta.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.v1beta.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.v1beta.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.v1beta.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. Configurations for the Knowledge Graph. Only applicable if |
| // [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] |
| // is |
| // [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH]. |
| KnowledgeGraphConfig *Engine_KnowledgeGraphConfig `protobuf:"bytes,23,opt,name=knowledge_graph_config,json=knowledgeGraphConfig,proto3" json:"knowledge_graph_config,omitempty"` |
| // Optional. Immutable. This the application type which this engine resource |
| // represents. NOTE: this is a new concept independ of existing industry |
| // vertical or solution type. |
| AppType Engine_AppType `protobuf:"varint,24,opt,name=app_type,json=appType,proto3,enum=google.cloud.discoveryengine.v1beta.Engine_AppType" json:"app_type,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"` |
| // Optional. Feature config for the engine to opt in or opt out of features. |
| // Supported keys: |
| // |
| // - `*`: all features, if it's present, all other feature state settings are |
| // ignored. |
| // - `agent-gallery` |
| // - `no-code-agent-builder` |
| // - `prompt-gallery` |
| // - `model-selector` |
| // - `notebook-lm` |
| // - `people-search` |
| // - `people-search-org-chart` |
| // - `bi-directional-audio` |
| // - `feedback` |
| // - `session-sharing` |
| // - `personalization-memory` |
| // - `personalization-suggested-highlights` |
| // - `mobile-app-access` |
| // - `disable-agent-sharing` |
| // - `disable-image-generation` |
| // - `disable-video-generation` |
| // - `disable-onedrive-upload` |
| // - `disable-talk-to-content` |
| // - `disable-google-drive-upload` |
| // - `disable-welcome-emails` |
| // - `disable-canvas` |
| // - `disable-canvas-workspace` |
| // - `disable-skills` |
| // - `enable-end-user-sharing-with-groups` |
| // - `single-agent-orchestration` |
| // - `multi-agent-orchestration` |
| // - `cross-product-intelligence` |
| Features map[string]Engine_FeatureState `protobuf:"bytes,30,rep,name=features,proto3" json:"features,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.cloud.discoveryengine.v1beta.Engine_FeatureState"` |
| // Output only. CMEK-related information for the Engine. |
| CmekConfig *CmekConfig `protobuf:"bytes,32,opt,name=cmek_config,json=cmekConfig,proto3" json:"cmek_config,omitempty"` |
| // Optional. Configuration for configurable billing approach. |
| ConfigurableBillingApproach Engine_ConfigurableBillingApproach `protobuf:"varint,36,opt,name=configurable_billing_approach,json=configurableBillingApproach,proto3,enum=google.cloud.discoveryengine.v1beta.Engine_ConfigurableBillingApproach" json:"configurable_billing_approach,omitempty"` |
| // Optional. Maps a model name to its specific configuration for this engine. |
| // This allows admin users to turn on/off individual models. This only stores |
| // models whose states are overridden by the admin. |
| // |
| // When the state is unspecified, or model_configs is empty for this |
| // model, the system will decide if this model should be available or not |
| // based on the default configuration. For example, a preview model |
| // should be disabled by default if the admin has not chosen to enable it. |
| ModelConfigs map[string]Engine_ModelState `protobuf:"bytes,37,rep,name=model_configs,json=modelConfigs,proto3" json:"model_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.cloud.discoveryengine.v1beta.Engine_ModelState"` |
| // Optional. Observability config for the engine. |
| ObservabilityConfig *ObservabilityConfig `protobuf:"bytes,39,opt,name=observability_config,json=observabilityConfig,proto3" json:"observability_config,omitempty"` |
| // Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to |
| // tenant-specific information required for that connector. The structure of |
| // the tenant information string is connector-dependent. |
| ConnectorTenantInfo map[string]string `protobuf:"bytes,42,rep,name=connector_tenant_info,json=connectorTenantInfo,proto3" json:"connector_tenant_info,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| // Optional. The agent gateway setting for the engine. |
| AgentGatewaySetting *AgentGatewaySetting `protobuf:"bytes,43,opt,name=agent_gateway_setting,json=agentGatewaySetting,proto3" json:"agent_gateway_setting,omitempty"` |
| // Optional. The visibility of marketplace agents in the agent gallery. |
| MarketplaceAgentVisibility Engine_MarketplaceAgentVisibility `protobuf:"varint,44,opt,name=marketplace_agent_visibility,json=marketplaceAgentVisibility,proto3,enum=google.cloud.discoveryengine.v1beta.Engine_MarketplaceAgentVisibility" json:"marketplace_agent_visibility,omitempty"` |
| // Optional. The emails of the procurement contacts. |
| ProcurementContactEmails []string `protobuf:"bytes,45,rep,name=procurement_contact_emails,json=procurementContactEmails,proto3" json:"procurement_contact_emails,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Engine) Reset() { |
| *x = Engine{} |
| mi := &file_google_cloud_discoveryengine_v1beta_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_v1beta_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_v1beta_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) GetKnowledgeGraphConfig() *Engine_KnowledgeGraphConfig { |
| if x != nil { |
| return x.KnowledgeGraphConfig |
| } |
| return nil |
| } |
| |
| func (x *Engine) GetAppType() Engine_AppType { |
| if x != nil { |
| return x.AppType |
| } |
| return Engine_APP_TYPE_UNSPECIFIED |
| } |
| |
| func (x *Engine) GetDisableAnalytics() bool { |
| if x != nil { |
| return x.DisableAnalytics |
| } |
| return false |
| } |
| |
| func (x *Engine) GetFeatures() map[string]Engine_FeatureState { |
| if x != nil { |
| return x.Features |
| } |
| return nil |
| } |
| |
| func (x *Engine) GetCmekConfig() *CmekConfig { |
| if x != nil { |
| return x.CmekConfig |
| } |
| return nil |
| } |
| |
| func (x *Engine) GetConfigurableBillingApproach() Engine_ConfigurableBillingApproach { |
| if x != nil { |
| return x.ConfigurableBillingApproach |
| } |
| return Engine_CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED |
| } |
| |
| func (x *Engine) GetModelConfigs() map[string]Engine_ModelState { |
| if x != nil { |
| return x.ModelConfigs |
| } |
| return nil |
| } |
| |
| func (x *Engine) GetObservabilityConfig() *ObservabilityConfig { |
| if x != nil { |
| return x.ObservabilityConfig |
| } |
| return nil |
| } |
| |
| func (x *Engine) GetConnectorTenantInfo() map[string]string { |
| if x != nil { |
| return x.ConnectorTenantInfo |
| } |
| return nil |
| } |
| |
| func (x *Engine) GetAgentGatewaySetting() *AgentGatewaySetting { |
| if x != nil { |
| return x.AgentGatewaySetting |
| } |
| return nil |
| } |
| |
| func (x *Engine) GetMarketplaceAgentVisibility() Engine_MarketplaceAgentVisibility { |
| if x != nil { |
| return x.MarketplaceAgentVisibility |
| } |
| return Engine_MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED |
| } |
| |
| func (x *Engine) GetProcurementContactEmails() []string { |
| if x != nil { |
| return x.ProcurementContactEmails |
| } |
| return nil |
| } |
| |
| type isEngine_EngineConfig interface { |
| isEngine_EngineConfig() |
| } |
| |
| type Engine_ChatEngineConfig_ struct { |
| // Configurations for the Chat Engine. Only applicable if |
| // [solution_type][google.cloud.discoveryengine.v1beta.Engine.solution_type] |
| // is |
| // [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.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.v1beta.Engine.solution_type] |
| // is |
| // [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.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.v1beta.Engine.solution_type] |
| // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION] |
| // and |
| // [IndustryVertical.MEDIA][google.cloud.discoveryengine.v1beta.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.v1beta.Engine.solution_type] |
| // is |
| // [SOLUTION_TYPE_CHAT][google.cloud.discoveryengine.v1beta.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.v1beta.SearchTier.SEARCH_TIER_STANDARD] |
| // if not specified. |
| SearchTier SearchTier `protobuf:"varint,1,opt,name=search_tier,json=searchTier,proto3,enum=google.cloud.discoveryengine.v1beta.SearchTier" json:"search_tier,omitempty"` |
| // Optional. The required subscription tier of this engine. |
| // |
| // They cannot be modified after engine creation. If the required |
| // subscription tier is search, user with higher license tier like assist |
| // can still access the standalone app associated with this engine. |
| RequiredSubscriptionTier SubscriptionTier `protobuf:"varint,3,opt,name=required_subscription_tier,json=requiredSubscriptionTier,proto3,enum=google.cloud.discoveryengine.v1beta.SubscriptionTier" json:"required_subscription_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.v1beta.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_v1beta_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_v1beta_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_v1beta_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) GetRequiredSubscriptionTier() SubscriptionTier { |
| if x != nil { |
| return x.RequiredSubscriptionTier |
| } |
| return SubscriptionTier_SUBSCRIPTION_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.v1beta.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.v1beta.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.v1beta.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_v1beta_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_v1beta_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_v1beta_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.v1beta.EngineService.GetEngine] |
| // or |
| // [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.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.v1beta.EngineService.GetEngine] |
| // or |
| // [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.EngineService.ListEngines] |
| // API after engine creation. Use |
| // [ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1beta.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.v1beta.EngineService.CreateEngine]. |
| // It means they cannot be retrieved using |
| // [EngineService.GetEngine][google.cloud.discoveryengine.v1beta.EngineService.GetEngine] |
| // or |
| // [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_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_v1beta_engine_proto_rawDescGZIP(), []int{0, 3} |
| } |
| |
| func (x *Engine_CommonConfig) GetCompanyName() string { |
| if x != nil { |
| return x.CompanyName |
| } |
| return "" |
| } |
| |
| // Configuration message for the Knowledge Graph. |
| type Engine_KnowledgeGraphConfig struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Whether to enable the Cloud Knowledge Graph for the engine. |
| // |
| // Defaults to false if not specified. |
| EnableCloudKnowledgeGraph bool `protobuf:"varint,1,opt,name=enable_cloud_knowledge_graph,json=enableCloudKnowledgeGraph,proto3" json:"enable_cloud_knowledge_graph,omitempty"` |
| // Specify entity types to support. |
| CloudKnowledgeGraphTypes []string `protobuf:"bytes,2,rep,name=cloud_knowledge_graph_types,json=cloudKnowledgeGraphTypes,proto3" json:"cloud_knowledge_graph_types,omitempty"` |
| // Whether to enable the Private Knowledge Graph for the engine. |
| // |
| // Defaults to false if not specified. |
| EnablePrivateKnowledgeGraph bool `protobuf:"varint,3,opt,name=enable_private_knowledge_graph,json=enablePrivateKnowledgeGraph,proto3" json:"enable_private_knowledge_graph,omitempty"` |
| // Specify entity types to support. |
| PrivateKnowledgeGraphTypes []string `protobuf:"bytes,4,rep,name=private_knowledge_graph_types,json=privateKnowledgeGraphTypes,proto3" json:"private_knowledge_graph_types,omitempty"` |
| // Optional. Feature config for the Knowledge Graph. |
| FeatureConfig *Engine_KnowledgeGraphConfig_FeatureConfig `protobuf:"bytes,5,opt,name=feature_config,json=featureConfig,proto3" json:"feature_config,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig) Reset() { |
| *x = Engine_KnowledgeGraphConfig{} |
| mi := &file_google_cloud_discoveryengine_v1beta_engine_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Engine_KnowledgeGraphConfig) ProtoMessage() {} |
| |
| func (x *Engine_KnowledgeGraphConfig) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_discoveryengine_v1beta_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_KnowledgeGraphConfig.ProtoReflect.Descriptor instead. |
| func (*Engine_KnowledgeGraphConfig) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP(), []int{0, 4} |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig) GetEnableCloudKnowledgeGraph() bool { |
| if x != nil { |
| return x.EnableCloudKnowledgeGraph |
| } |
| return false |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig) GetCloudKnowledgeGraphTypes() []string { |
| if x != nil { |
| return x.CloudKnowledgeGraphTypes |
| } |
| return nil |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig) GetEnablePrivateKnowledgeGraph() bool { |
| if x != nil { |
| return x.EnablePrivateKnowledgeGraph |
| } |
| return false |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig) GetPrivateKnowledgeGraphTypes() []string { |
| if x != nil { |
| return x.PrivateKnowledgeGraphTypes |
| } |
| return nil |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig) GetFeatureConfig() *Engine_KnowledgeGraphConfig_FeatureConfig { |
| if x != nil { |
| return x.FeatureConfig |
| } |
| return nil |
| } |
| |
| // 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_v1beta_engine_proto_msgTypes[6] |
| 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_v1beta_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_ChatEngineMetadata.ProtoReflect.Descriptor instead. |
| func (*Engine_ChatEngineMetadata) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP(), []int{0, 5} |
| } |
| |
| 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_v1beta_engine_proto_msgTypes[10] |
| 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_v1beta_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_MediaRecommendationEngineConfig_OptimizationObjectiveConfig.ProtoReflect.Descriptor instead. |
| func (*Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_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 media |
| // 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_v1beta_engine_proto_msgTypes[11] |
| 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_v1beta_engine_proto_msgTypes[11] |
| 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_v1beta_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_v1beta_engine_proto_msgTypes[12] |
| 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_v1beta_engine_proto_msgTypes[12] |
| 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_v1beta_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_v1beta_engine_proto_msgTypes[13] |
| 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_v1beta_engine_proto_msgTypes[13] |
| 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_v1beta_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.v1beta.EngineService.GetEngine] |
| // or |
| // [EngineService.ListEngines][google.cloud.discoveryengine.v1beta.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_v1beta_engine_proto_msgTypes[14] |
| 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_v1beta_engine_proto_msgTypes[14] |
| 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_v1beta_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 "" |
| } |
| |
| // Feature config for the Knowledge Graph. |
| type Engine_KnowledgeGraphConfig_FeatureConfig struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Whether to disable the private KG query understanding for the engine. |
| // |
| // Defaults to false if not specified. |
| DisablePrivateKgQueryUnderstanding bool `protobuf:"varint,1,opt,name=disable_private_kg_query_understanding,json=disablePrivateKgQueryUnderstanding,proto3" json:"disable_private_kg_query_understanding,omitempty"` |
| // Whether to disable the private KG enrichment for the engine. |
| // |
| // Defaults to false if not specified. |
| DisablePrivateKgEnrichment bool `protobuf:"varint,2,opt,name=disable_private_kg_enrichment,json=disablePrivateKgEnrichment,proto3" json:"disable_private_kg_enrichment,omitempty"` |
| // Whether to disable the private KG auto complete for the engine. |
| // |
| // Defaults to false if not specified. |
| DisablePrivateKgAutoComplete bool `protobuf:"varint,3,opt,name=disable_private_kg_auto_complete,json=disablePrivateKgAutoComplete,proto3" json:"disable_private_kg_auto_complete,omitempty"` |
| // Whether to disable the private KG for query UI chips. |
| // |
| // Defaults to false if not specified. |
| DisablePrivateKgQueryUiChips bool `protobuf:"varint,4,opt,name=disable_private_kg_query_ui_chips,json=disablePrivateKgQueryUiChips,proto3" json:"disable_private_kg_query_ui_chips,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig_FeatureConfig) Reset() { |
| *x = Engine_KnowledgeGraphConfig_FeatureConfig{} |
| mi := &file_google_cloud_discoveryengine_v1beta_engine_proto_msgTypes[15] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig_FeatureConfig) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Engine_KnowledgeGraphConfig_FeatureConfig) ProtoMessage() {} |
| |
| func (x *Engine_KnowledgeGraphConfig_FeatureConfig) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_discoveryengine_v1beta_engine_proto_msgTypes[15] |
| 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_KnowledgeGraphConfig_FeatureConfig.ProtoReflect.Descriptor instead. |
| func (*Engine_KnowledgeGraphConfig_FeatureConfig) Descriptor() ([]byte, []int) { |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP(), []int{0, 4, 0} |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig_FeatureConfig) GetDisablePrivateKgQueryUnderstanding() bool { |
| if x != nil { |
| return x.DisablePrivateKgQueryUnderstanding |
| } |
| return false |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig_FeatureConfig) GetDisablePrivateKgEnrichment() bool { |
| if x != nil { |
| return x.DisablePrivateKgEnrichment |
| } |
| return false |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig_FeatureConfig) GetDisablePrivateKgAutoComplete() bool { |
| if x != nil { |
| return x.DisablePrivateKgAutoComplete |
| } |
| return false |
| } |
| |
| func (x *Engine_KnowledgeGraphConfig_FeatureConfig) GetDisablePrivateKgQueryUiChips() bool { |
| if x != nil { |
| return x.DisablePrivateKgQueryUiChips |
| } |
| return false |
| } |
| |
| var File_google_cloud_discoveryengine_v1beta_engine_proto protoreflect.FileDescriptor |
| |
| const file_google_cloud_discoveryengine_v1beta_engine_proto_rawDesc = "" + |
| "\n" + |
| "0google/cloud/discoveryengine/v1beta/engine.proto\x12#google.cloud.discoveryengine.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a?google/cloud/discoveryengine/v1beta/agent_gateway_setting.proto\x1a=google/cloud/discoveryengine/v1beta/cmek_config_service.proto\x1a0google/cloud/discoveryengine/v1beta/common.proto\x1a1google/cloud/discoveryengine/v1beta/logging.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe10\n" + |
| "\x06Engine\x12l\n" + |
| "\x12chat_engine_config\x18\v \x01(\v2<.google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfigH\x00R\x10chatEngineConfig\x12r\n" + |
| "\x14search_engine_config\x18\r \x01(\v2>.google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfigH\x00R\x12searchEngineConfig\x12\x9a\x01\n" + |
| "\"media_recommendation_engine_config\x18\x0e \x01(\v2K.google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfigH\x00R\x1fmediaRecommendationEngineConfig\x12w\n" + |
| "\x14chat_engine_metadata\x18\f \x01(\v2>.google.cloud.discoveryengine.v1beta.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\x12[\n" + |
| "\rsolution_type\x18\x06 \x01(\x0e21.google.cloud.discoveryengine.v1beta.SolutionTypeB\x03\xe0A\x02R\fsolutionType\x12g\n" + |
| "\x11industry_vertical\x18\x10 \x01(\x0e25.google.cloud.discoveryengine.v1beta.IndustryVerticalB\x03\xe0A\x01R\x10industryVertical\x12]\n" + |
| "\rcommon_config\x18\x0f \x01(\v28.google.cloud.discoveryengine.v1beta.Engine.CommonConfigR\fcommonConfig\x12{\n" + |
| "\x16knowledge_graph_config\x18\x17 \x01(\v2@.google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfigB\x03\xe0A\x01R\x14knowledgeGraphConfig\x12V\n" + |
| "\bapp_type\x18\x18 \x01(\x0e23.google.cloud.discoveryengine.v1beta.Engine.AppTypeB\x06\xe0A\x01\xe0A\x05R\aappType\x120\n" + |
| "\x11disable_analytics\x18\x1a \x01(\bB\x03\xe0A\x01R\x10disableAnalytics\x12Z\n" + |
| "\bfeatures\x18\x1e \x03(\v29.google.cloud.discoveryengine.v1beta.Engine.FeaturesEntryB\x03\xe0A\x01R\bfeatures\x12U\n" + |
| "\vcmek_config\x18 \x01(\v2/.google.cloud.discoveryengine.v1beta.CmekConfigB\x03\xe0A\x03R\n" + |
| "cmekConfig\x12\x90\x01\n" + |
| "\x1dconfigurable_billing_approach\x18$ \x01(\x0e2G.google.cloud.discoveryengine.v1beta.Engine.ConfigurableBillingApproachB\x03\xe0A\x01R\x1bconfigurableBillingApproach\x12g\n" + |
| "\rmodel_configs\x18% \x03(\v2=.google.cloud.discoveryengine.v1beta.Engine.ModelConfigsEntryB\x03\xe0A\x01R\fmodelConfigs\x12p\n" + |
| "\x14observability_config\x18' \x01(\v28.google.cloud.discoveryengine.v1beta.ObservabilityConfigB\x03\xe0A\x01R\x13observabilityConfig\x12}\n" + |
| "\x15connector_tenant_info\x18* \x03(\v2D.google.cloud.discoveryengine.v1beta.Engine.ConnectorTenantInfoEntryB\x03\xe0A\x01R\x13connectorTenantInfo\x12q\n" + |
| "\x15agent_gateway_setting\x18+ \x01(\v28.google.cloud.discoveryengine.v1beta.AgentGatewaySettingB\x03\xe0A\x01R\x13agentGatewaySetting\x12\x8d\x01\n" + |
| "\x1cmarketplace_agent_visibility\x18, \x01(\x0e2F.google.cloud.discoveryengine.v1beta.Engine.MarketplaceAgentVisibilityB\x03\xe0A\x01R\x1amarketplaceAgentVisibility\x12A\n" + |
| "\x1aprocurement_contact_emails\x18- \x03(\tB\x03\xe0A\x01R\x18procurementContactEmails\x1a\xb8\x02\n" + |
| "\x12SearchEngineConfig\x12P\n" + |
| "\vsearch_tier\x18\x01 \x01(\x0e2/.google.cloud.discoveryengine.v1beta.SearchTierR\n" + |
| "searchTier\x12x\n" + |
| "\x1arequired_subscription_tier\x18\x03 \x01(\x0e25.google.cloud.discoveryengine.v1beta.SubscriptionTierB\x03\xe0A\x01R\x18requiredSubscriptionTier\x12V\n" + |
| "\x0esearch_add_ons\x18\x02 \x03(\x0e20.google.cloud.discoveryengine.v1beta.SearchAddOnR\fsearchAddOns\x1a\x9e\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\xab\x01\n" + |
| "\x1doptimization_objective_config\x18\x03 \x01(\v2g.google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.OptimizationObjectiveConfigR\x1boptimizationObjectiveConfig\x12\x80\x01\n" + |
| "\x0etraining_state\x18\x04 \x01(\x0e2Y.google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.TrainingStateR\rtrainingState\x12\x9b\x01\n" + |
| "\x16engine_features_config\x18\x05 \x01(\v2`.google.cloud.discoveryengine.v1beta.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\xf4\x02\n" + |
| "\x14EngineFeaturesConfig\x12\xa9\x01\n" + |
| "\x1arecommended_for_you_config\x18\x01 \x01(\v2j.google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.RecommendedForYouFeatureConfigH\x00R\x17recommendedForYouConfig\x12\x96\x01\n" + |
| "\x13most_popular_config\x18\x02 \x01(\v2d.google.cloud.discoveryengine.v1beta.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\xab\x03\n" + |
| "\x10ChatEngineConfig\x12\x84\x01\n" + |
| "\x15agent_creation_config\x18\x01 \x01(\v2P.google.cloud.discoveryengine.v1beta.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\xd4\x05\n" + |
| "\x14KnowledgeGraphConfig\x12?\n" + |
| "\x1cenable_cloud_knowledge_graph\x18\x01 \x01(\bR\x19enableCloudKnowledgeGraph\x12=\n" + |
| "\x1bcloud_knowledge_graph_types\x18\x02 \x03(\tR\x18cloudKnowledgeGraphTypes\x12C\n" + |
| "\x1eenable_private_knowledge_graph\x18\x03 \x01(\bR\x1benablePrivateKnowledgeGraph\x12A\n" + |
| "\x1dprivate_knowledge_graph_types\x18\x04 \x03(\tR\x1aprivateKnowledgeGraphTypes\x12z\n" + |
| "\x0efeature_config\x18\x05 \x01(\v2N.google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig.FeatureConfigB\x03\xe0A\x01R\rfeatureConfig\x1a\xb7\x02\n" + |
| "\rFeatureConfig\x12R\n" + |
| "&disable_private_kg_query_understanding\x18\x01 \x01(\bR\"disablePrivateKgQueryUnderstanding\x12A\n" + |
| "\x1ddisable_private_kg_enrichment\x18\x02 \x01(\bR\x1adisablePrivateKgEnrichment\x12F\n" + |
| " disable_private_kg_auto_complete\x18\x03 \x01(\bR\x1cdisablePrivateKgAutoComplete\x12G\n" + |
| "!disable_private_kg_query_ui_chips\x18\x04 \x01(\bR\x1cdisablePrivateKgQueryUiChips\x1a?\n" + |
| "\x12ChatEngineMetadata\x12)\n" + |
| "\x10dialogflow_agent\x18\x01 \x01(\tR\x0fdialogflowAgent\x1au\n" + |
| "\rFeaturesEntry\x12\x10\n" + |
| "\x03key\x18\x01 \x01(\tR\x03key\x12N\n" + |
| "\x05value\x18\x02 \x01(\x0e28.google.cloud.discoveryengine.v1beta.Engine.FeatureStateR\x05value:\x028\x01\x1aw\n" + |
| "\x11ModelConfigsEntry\x12\x10\n" + |
| "\x03key\x18\x01 \x01(\tR\x03key\x12L\n" + |
| "\x05value\x18\x02 \x01(\x0e26.google.cloud.discoveryengine.v1beta.Engine.ModelStateR\x05value:\x028\x01\x1aF\n" + |
| "\x18ConnectorTenantInfoEntry\x12\x10\n" + |
| "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\":\n" + |
| "\aAppType\x12\x18\n" + |
| "\x14APP_TYPE_UNSPECIFIED\x10\x00\x12\x15\n" + |
| "\x11APP_TYPE_INTRANET\x10\x01\"Z\n" + |
| "\fFeatureState\x12\x1d\n" + |
| "\x19FEATURE_STATE_UNSPECIFIED\x10\x00\x12\x14\n" + |
| "\x10FEATURE_STATE_ON\x10\x01\x12\x15\n" + |
| "\x11FEATURE_STATE_OFF\x10\x02\"w\n" + |
| "\x1bConfigurableBillingApproach\x12-\n" + |
| ")CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED\x10\x00\x12)\n" + |
| "%CONFIGURABLE_BILLING_APPROACH_ENABLED\x10\x01\"P\n" + |
| "\n" + |
| "ModelState\x12\x1b\n" + |
| "\x17MODEL_STATE_UNSPECIFIED\x10\x00\x12\x11\n" + |
| "\rMODEL_ENABLED\x10\x01\x12\x12\n" + |
| "\x0eMODEL_DISABLED\x10\x02\"\xc6\x01\n" + |
| "\x1aMarketplaceAgentVisibility\x12,\n" + |
| "(MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED\x10\x00\x12\x1e\n" + |
| "\x1aSHOW_AVAILABLE_AGENTS_ONLY\x10\x01\x12\"\n" + |
| "\x1eSHOW_AGENTS_ALREADY_INTEGRATED\x10\x02\x12!\n" + |
| "\x1dSHOW_AGENTS_ALREADY_PURCHASED\x10\x03\x12\x13\n" + |
| "\x0fSHOW_ALL_AGENTS\x10\x04:}\xeaAz\n" + |
| "%discoveryengine.googleapis.com/Engine\x12Qprojects/{project}/locations/{location}/collections/{collection}/engines/{engine}B\x0f\n" + |
| "\rengine_configB\x11\n" + |
| "\x0fengine_metadataB\x92\x02\n" + |
| "'com.google.cloud.discoveryengine.v1betaB\vEngineProtoP\x01ZQcloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb\xa2\x02\x0fDISCOVERYENGINE\xaa\x02#Google.Cloud.DiscoveryEngine.V1Beta\xca\x02#Google\\Cloud\\DiscoveryEngine\\V1beta\xea\x02&Google::Cloud::DiscoveryEngine::V1betab\x06proto3" |
| |
| var ( |
| file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescOnce sync.Once |
| file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescData []byte |
| ) |
| |
| func file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescGZIP() []byte { |
| file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescOnce.Do(func() { |
| file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_discoveryengine_v1beta_engine_proto_rawDesc), len(file_google_cloud_discoveryengine_v1beta_engine_proto_rawDesc))) |
| }) |
| return file_google_cloud_discoveryengine_v1beta_engine_proto_rawDescData |
| } |
| |
| var file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes = make([]protoimpl.EnumInfo, 6) |
| var file_google_cloud_discoveryengine_v1beta_engine_proto_msgTypes = make([]protoimpl.MessageInfo, 16) |
| var file_google_cloud_discoveryengine_v1beta_engine_proto_goTypes = []any{ |
| (Engine_AppType)(0), // 0: google.cloud.discoveryengine.v1beta.Engine.AppType |
| (Engine_FeatureState)(0), // 1: google.cloud.discoveryengine.v1beta.Engine.FeatureState |
| (Engine_ConfigurableBillingApproach)(0), // 2: google.cloud.discoveryengine.v1beta.Engine.ConfigurableBillingApproach |
| (Engine_ModelState)(0), // 3: google.cloud.discoveryengine.v1beta.Engine.ModelState |
| (Engine_MarketplaceAgentVisibility)(0), // 4: google.cloud.discoveryengine.v1beta.Engine.MarketplaceAgentVisibility |
| (Engine_MediaRecommendationEngineConfig_TrainingState)(0), // 5: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.TrainingState |
| (*Engine)(nil), // 6: google.cloud.discoveryengine.v1beta.Engine |
| (*Engine_SearchEngineConfig)(nil), // 7: google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig |
| (*Engine_MediaRecommendationEngineConfig)(nil), // 8: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig |
| (*Engine_ChatEngineConfig)(nil), // 9: google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig |
| (*Engine_CommonConfig)(nil), // 10: google.cloud.discoveryengine.v1beta.Engine.CommonConfig |
| (*Engine_KnowledgeGraphConfig)(nil), // 11: google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig |
| (*Engine_ChatEngineMetadata)(nil), // 12: google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata |
| nil, // 13: google.cloud.discoveryengine.v1beta.Engine.FeaturesEntry |
| nil, // 14: google.cloud.discoveryengine.v1beta.Engine.ModelConfigsEntry |
| nil, // 15: google.cloud.discoveryengine.v1beta.Engine.ConnectorTenantInfoEntry |
| (*Engine_MediaRecommendationEngineConfig_OptimizationObjectiveConfig)(nil), // 16: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.OptimizationObjectiveConfig |
| (*Engine_MediaRecommendationEngineConfig_EngineFeaturesConfig)(nil), // 17: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfig |
| (*Engine_MediaRecommendationEngineConfig_RecommendedForYouFeatureConfig)(nil), // 18: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.RecommendedForYouFeatureConfig |
| (*Engine_MediaRecommendationEngineConfig_MostPopularFeatureConfig)(nil), // 19: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.MostPopularFeatureConfig |
| (*Engine_ChatEngineConfig_AgentCreationConfig)(nil), // 20: google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig |
| (*Engine_KnowledgeGraphConfig_FeatureConfig)(nil), // 21: google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig.FeatureConfig |
| (*timestamppb.Timestamp)(nil), // 22: google.protobuf.Timestamp |
| (SolutionType)(0), // 23: google.cloud.discoveryengine.v1beta.SolutionType |
| (IndustryVertical)(0), // 24: google.cloud.discoveryengine.v1beta.IndustryVertical |
| (*CmekConfig)(nil), // 25: google.cloud.discoveryengine.v1beta.CmekConfig |
| (*ObservabilityConfig)(nil), // 26: google.cloud.discoveryengine.v1beta.ObservabilityConfig |
| (*AgentGatewaySetting)(nil), // 27: google.cloud.discoveryengine.v1beta.AgentGatewaySetting |
| (SearchTier)(0), // 28: google.cloud.discoveryengine.v1beta.SearchTier |
| (SubscriptionTier)(0), // 29: google.cloud.discoveryengine.v1beta.SubscriptionTier |
| (SearchAddOn)(0), // 30: google.cloud.discoveryengine.v1beta.SearchAddOn |
| } |
| var file_google_cloud_discoveryengine_v1beta_engine_proto_depIdxs = []int32{ |
| 9, // 0: google.cloud.discoveryengine.v1beta.Engine.chat_engine_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig |
| 7, // 1: google.cloud.discoveryengine.v1beta.Engine.search_engine_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig |
| 8, // 2: google.cloud.discoveryengine.v1beta.Engine.media_recommendation_engine_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig |
| 12, // 3: google.cloud.discoveryengine.v1beta.Engine.chat_engine_metadata:type_name -> google.cloud.discoveryengine.v1beta.Engine.ChatEngineMetadata |
| 22, // 4: google.cloud.discoveryengine.v1beta.Engine.create_time:type_name -> google.protobuf.Timestamp |
| 22, // 5: google.cloud.discoveryengine.v1beta.Engine.update_time:type_name -> google.protobuf.Timestamp |
| 23, // 6: google.cloud.discoveryengine.v1beta.Engine.solution_type:type_name -> google.cloud.discoveryengine.v1beta.SolutionType |
| 24, // 7: google.cloud.discoveryengine.v1beta.Engine.industry_vertical:type_name -> google.cloud.discoveryengine.v1beta.IndustryVertical |
| 10, // 8: google.cloud.discoveryengine.v1beta.Engine.common_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.CommonConfig |
| 11, // 9: google.cloud.discoveryengine.v1beta.Engine.knowledge_graph_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig |
| 0, // 10: google.cloud.discoveryengine.v1beta.Engine.app_type:type_name -> google.cloud.discoveryengine.v1beta.Engine.AppType |
| 13, // 11: google.cloud.discoveryengine.v1beta.Engine.features:type_name -> google.cloud.discoveryengine.v1beta.Engine.FeaturesEntry |
| 25, // 12: google.cloud.discoveryengine.v1beta.Engine.cmek_config:type_name -> google.cloud.discoveryengine.v1beta.CmekConfig |
| 2, // 13: google.cloud.discoveryengine.v1beta.Engine.configurable_billing_approach:type_name -> google.cloud.discoveryengine.v1beta.Engine.ConfigurableBillingApproach |
| 14, // 14: google.cloud.discoveryengine.v1beta.Engine.model_configs:type_name -> google.cloud.discoveryengine.v1beta.Engine.ModelConfigsEntry |
| 26, // 15: google.cloud.discoveryengine.v1beta.Engine.observability_config:type_name -> google.cloud.discoveryengine.v1beta.ObservabilityConfig |
| 15, // 16: google.cloud.discoveryengine.v1beta.Engine.connector_tenant_info:type_name -> google.cloud.discoveryengine.v1beta.Engine.ConnectorTenantInfoEntry |
| 27, // 17: google.cloud.discoveryengine.v1beta.Engine.agent_gateway_setting:type_name -> google.cloud.discoveryengine.v1beta.AgentGatewaySetting |
| 4, // 18: google.cloud.discoveryengine.v1beta.Engine.marketplace_agent_visibility:type_name -> google.cloud.discoveryengine.v1beta.Engine.MarketplaceAgentVisibility |
| 28, // 19: google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig.search_tier:type_name -> google.cloud.discoveryengine.v1beta.SearchTier |
| 29, // 20: google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig.required_subscription_tier:type_name -> google.cloud.discoveryengine.v1beta.SubscriptionTier |
| 30, // 21: google.cloud.discoveryengine.v1beta.Engine.SearchEngineConfig.search_add_ons:type_name -> google.cloud.discoveryengine.v1beta.SearchAddOn |
| 16, // 22: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.optimization_objective_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.OptimizationObjectiveConfig |
| 5, // 23: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.training_state:type_name -> google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.TrainingState |
| 17, // 24: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.engine_features_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfig |
| 20, // 25: google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.agent_creation_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.ChatEngineConfig.AgentCreationConfig |
| 21, // 26: google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig.feature_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.KnowledgeGraphConfig.FeatureConfig |
| 1, // 27: google.cloud.discoveryengine.v1beta.Engine.FeaturesEntry.value:type_name -> google.cloud.discoveryengine.v1beta.Engine.FeatureState |
| 3, // 28: google.cloud.discoveryengine.v1beta.Engine.ModelConfigsEntry.value:type_name -> google.cloud.discoveryengine.v1beta.Engine.ModelState |
| 18, // 29: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfig.recommended_for_you_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.RecommendedForYouFeatureConfig |
| 19, // 30: google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.EngineFeaturesConfig.most_popular_config:type_name -> google.cloud.discoveryengine.v1beta.Engine.MediaRecommendationEngineConfig.MostPopularFeatureConfig |
| 31, // [31:31] is the sub-list for method output_type |
| 31, // [31:31] is the sub-list for method input_type |
| 31, // [31:31] is the sub-list for extension type_name |
| 31, // [31:31] is the sub-list for extension extendee |
| 0, // [0:31] is the sub-list for field type_name |
| } |
| |
| func init() { file_google_cloud_discoveryengine_v1beta_engine_proto_init() } |
| func file_google_cloud_discoveryengine_v1beta_engine_proto_init() { |
| if File_google_cloud_discoveryengine_v1beta_engine_proto != nil { |
| return |
| } |
| file_google_cloud_discoveryengine_v1beta_agent_gateway_setting_proto_init() |
| file_google_cloud_discoveryengine_v1beta_cmek_config_service_proto_init() |
| file_google_cloud_discoveryengine_v1beta_common_proto_init() |
| file_google_cloud_discoveryengine_v1beta_logging_proto_init() |
| file_google_cloud_discoveryengine_v1beta_engine_proto_msgTypes[0].OneofWrappers = []any{ |
| (*Engine_ChatEngineConfig_)(nil), |
| (*Engine_SearchEngineConfig_)(nil), |
| (*Engine_MediaRecommendationEngineConfig_)(nil), |
| (*Engine_ChatEngineMetadata_)(nil), |
| } |
| file_google_cloud_discoveryengine_v1beta_engine_proto_msgTypes[11].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_v1beta_engine_proto_rawDesc), len(file_google_cloud_discoveryengine_v1beta_engine_proto_rawDesc)), |
| NumEnums: 6, |
| NumMessages: 16, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_google_cloud_discoveryengine_v1beta_engine_proto_goTypes, |
| DependencyIndexes: file_google_cloud_discoveryengine_v1beta_engine_proto_depIdxs, |
| EnumInfos: file_google_cloud_discoveryengine_v1beta_engine_proto_enumTypes, |
| MessageInfos: file_google_cloud_discoveryengine_v1beta_engine_proto_msgTypes, |
| }.Build() |
| File_google_cloud_discoveryengine_v1beta_engine_proto = out.File |
| file_google_cloud_discoveryengine_v1beta_engine_proto_goTypes = nil |
| file_google_cloud_discoveryengine_v1beta_engine_proto_depIdxs = nil |
| } |