// 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/dialogflow/cx/v3beta1/generative_settings.proto

package cxpb

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"
)

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 input token limits for 1 LLM call. For the limit of each model, see
// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models for
// more information.
type LlmModelSettings_Parameters_InputTokenLimit int32

const (
	// Limit not specified. Treated as 'INPUT_TOKEN_LIMIT_SHORT'.
	LlmModelSettings_Parameters_INPUT_TOKEN_LIMIT_UNSPECIFIED LlmModelSettings_Parameters_InputTokenLimit = 0
	// Input token limit up to 8k.
	LlmModelSettings_Parameters_INPUT_TOKEN_LIMIT_SHORT LlmModelSettings_Parameters_InputTokenLimit = 1
	// Input token limit up to 32k.
	LlmModelSettings_Parameters_INPUT_TOKEN_LIMIT_MEDIUM LlmModelSettings_Parameters_InputTokenLimit = 2
	// Input token limit up to 100k.
	LlmModelSettings_Parameters_INPUT_TOKEN_LIMIT_LONG LlmModelSettings_Parameters_InputTokenLimit = 3
)

// Enum value maps for LlmModelSettings_Parameters_InputTokenLimit.
var (
	LlmModelSettings_Parameters_InputTokenLimit_name = map[int32]string{
		0: "INPUT_TOKEN_LIMIT_UNSPECIFIED",
		1: "INPUT_TOKEN_LIMIT_SHORT",
		2: "INPUT_TOKEN_LIMIT_MEDIUM",
		3: "INPUT_TOKEN_LIMIT_LONG",
	}
	LlmModelSettings_Parameters_InputTokenLimit_value = map[string]int32{
		"INPUT_TOKEN_LIMIT_UNSPECIFIED": 0,
		"INPUT_TOKEN_LIMIT_SHORT":       1,
		"INPUT_TOKEN_LIMIT_MEDIUM":      2,
		"INPUT_TOKEN_LIMIT_LONG":        3,
	}
)

func (x LlmModelSettings_Parameters_InputTokenLimit) Enum() *LlmModelSettings_Parameters_InputTokenLimit {
	p := new(LlmModelSettings_Parameters_InputTokenLimit)
	*p = x
	return p
}

func (x LlmModelSettings_Parameters_InputTokenLimit) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (LlmModelSettings_Parameters_InputTokenLimit) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_enumTypes[0].Descriptor()
}

func (LlmModelSettings_Parameters_InputTokenLimit) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_enumTypes[0]
}

func (x LlmModelSettings_Parameters_InputTokenLimit) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use LlmModelSettings_Parameters_InputTokenLimit.Descriptor instead.
func (LlmModelSettings_Parameters_InputTokenLimit) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{1, 0, 0}
}

// The output token limits for 1 LLM call. The limits are subject to change.
// For the limit of each model, see
// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models for
// more information.
type LlmModelSettings_Parameters_OutputTokenLimit int32

const (
	// Limit not specified.
	LlmModelSettings_Parameters_OUTPUT_TOKEN_LIMIT_UNSPECIFIED LlmModelSettings_Parameters_OutputTokenLimit = 0
	// Input token limit up to 512 tokens.
	LlmModelSettings_Parameters_OUTPUT_TOKEN_LIMIT_SHORT LlmModelSettings_Parameters_OutputTokenLimit = 1
	// Input token limit up to 1k.
	LlmModelSettings_Parameters_OUTPUT_TOKEN_LIMIT_MEDIUM LlmModelSettings_Parameters_OutputTokenLimit = 2
	// Input token limit up to 2k.
	LlmModelSettings_Parameters_OUTPUT_TOKEN_LIMIT_LONG LlmModelSettings_Parameters_OutputTokenLimit = 3
)

// Enum value maps for LlmModelSettings_Parameters_OutputTokenLimit.
var (
	LlmModelSettings_Parameters_OutputTokenLimit_name = map[int32]string{
		0: "OUTPUT_TOKEN_LIMIT_UNSPECIFIED",
		1: "OUTPUT_TOKEN_LIMIT_SHORT",
		2: "OUTPUT_TOKEN_LIMIT_MEDIUM",
		3: "OUTPUT_TOKEN_LIMIT_LONG",
	}
	LlmModelSettings_Parameters_OutputTokenLimit_value = map[string]int32{
		"OUTPUT_TOKEN_LIMIT_UNSPECIFIED": 0,
		"OUTPUT_TOKEN_LIMIT_SHORT":       1,
		"OUTPUT_TOKEN_LIMIT_MEDIUM":      2,
		"OUTPUT_TOKEN_LIMIT_LONG":        3,
	}
)

func (x LlmModelSettings_Parameters_OutputTokenLimit) Enum() *LlmModelSettings_Parameters_OutputTokenLimit {
	p := new(LlmModelSettings_Parameters_OutputTokenLimit)
	*p = x
	return p
}

func (x LlmModelSettings_Parameters_OutputTokenLimit) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (LlmModelSettings_Parameters_OutputTokenLimit) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_enumTypes[1].Descriptor()
}

func (LlmModelSettings_Parameters_OutputTokenLimit) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_enumTypes[1]
}

func (x LlmModelSettings_Parameters_OutputTokenLimit) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use LlmModelSettings_Parameters_OutputTokenLimit.Descriptor instead.
func (LlmModelSettings_Parameters_OutputTokenLimit) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{1, 0, 1}
}

// Settings for Generative AI.
type GenerativeSettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings`.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// Settings for Generative Fallback.
	FallbackSettings *GenerativeSettings_FallbackSettings `protobuf:"bytes,1,opt,name=fallback_settings,json=fallbackSettings,proto3" json:"fallback_settings,omitempty"`
	// Settings for Generative Safety.
	GenerativeSafetySettings *SafetySettings `protobuf:"bytes,3,opt,name=generative_safety_settings,json=generativeSafetySettings,proto3" json:"generative_safety_settings,omitempty"`
	// Settings for knowledge connector.
	KnowledgeConnectorSettings *GenerativeSettings_KnowledgeConnectorSettings `protobuf:"bytes,7,opt,name=knowledge_connector_settings,json=knowledgeConnectorSettings,proto3" json:"knowledge_connector_settings,omitempty"`
	// Language for this settings.
	LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// LLM model settings.
	LlmModelSettings *LlmModelSettings `protobuf:"bytes,8,opt,name=llm_model_settings,json=llmModelSettings,proto3" json:"llm_model_settings,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *GenerativeSettings) Reset() {
	*x = GenerativeSettings{}
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GenerativeSettings) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GenerativeSettings) ProtoMessage() {}

func (x *GenerativeSettings) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_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 GenerativeSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{0}
}

func (x *GenerativeSettings) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *GenerativeSettings) GetFallbackSettings() *GenerativeSettings_FallbackSettings {
	if x != nil {
		return x.FallbackSettings
	}
	return nil
}

func (x *GenerativeSettings) GetGenerativeSafetySettings() *SafetySettings {
	if x != nil {
		return x.GenerativeSafetySettings
	}
	return nil
}

func (x *GenerativeSettings) GetKnowledgeConnectorSettings() *GenerativeSettings_KnowledgeConnectorSettings {
	if x != nil {
		return x.KnowledgeConnectorSettings
	}
	return nil
}

func (x *GenerativeSettings) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

func (x *GenerativeSettings) GetLlmModelSettings() *LlmModelSettings {
	if x != nil {
		return x.LlmModelSettings
	}
	return nil
}

// Settings for LLM models.
type LlmModelSettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The selected LLM model.
	Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// The custom prompt to use.
	PromptText string `protobuf:"bytes,2,opt,name=prompt_text,json=promptText,proto3" json:"prompt_text,omitempty"`
	// Generative model parameters.
	Parameters    *LlmModelSettings_Parameters `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *LlmModelSettings) Reset() {
	*x = LlmModelSettings{}
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *LlmModelSettings) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*LlmModelSettings) ProtoMessage() {}

func (x *LlmModelSettings) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_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 LlmModelSettings.ProtoReflect.Descriptor instead.
func (*LlmModelSettings) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{1}
}

func (x *LlmModelSettings) GetModel() string {
	if x != nil {
		return x.Model
	}
	return ""
}

func (x *LlmModelSettings) GetPromptText() string {
	if x != nil {
		return x.PromptText
	}
	return ""
}

func (x *LlmModelSettings) GetParameters() *LlmModelSettings_Parameters {
	if x != nil {
		return x.Parameters
	}
	return nil
}

// Settings for Generative Fallback.
type GenerativeSettings_FallbackSettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Display name of the selected prompt.
	SelectedPrompt string `protobuf:"bytes,3,opt,name=selected_prompt,json=selectedPrompt,proto3" json:"selected_prompt,omitempty"`
	// Stored prompts that can be selected, for example default templates like
	// "conservative" or "chatty", or user defined ones.
	PromptTemplates []*GenerativeSettings_FallbackSettings_PromptTemplate `protobuf:"bytes,4,rep,name=prompt_templates,json=promptTemplates,proto3" json:"prompt_templates,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *GenerativeSettings_FallbackSettings) Reset() {
	*x = GenerativeSettings_FallbackSettings{}
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GenerativeSettings_FallbackSettings) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GenerativeSettings_FallbackSettings) ProtoMessage() {}

func (x *GenerativeSettings_FallbackSettings) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_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 GenerativeSettings_FallbackSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_FallbackSettings) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{0, 0}
}

func (x *GenerativeSettings_FallbackSettings) GetSelectedPrompt() string {
	if x != nil {
		return x.SelectedPrompt
	}
	return ""
}

func (x *GenerativeSettings_FallbackSettings) GetPromptTemplates() []*GenerativeSettings_FallbackSettings_PromptTemplate {
	if x != nil {
		return x.PromptTemplates
	}
	return nil
}

// Settings for knowledge connector. These parameters are used for LLM prompt
// like "You are <agent>. You are a helpful and verbose <agent_identity> at
// <business>, <business_description>. Your task is to help humans on
// <agent_scope>".
type GenerativeSettings_KnowledgeConnectorSettings 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"`
	// Name of the virtual agent. Used for LLM prompt. Can be left empty.
	Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
	// Identity of the agent, e.g. "virtual agent", "AI assistant".
	AgentIdentity string `protobuf:"bytes,3,opt,name=agent_identity,json=agentIdentity,proto3" json:"agent_identity,omitempty"`
	// Company description, used for LLM prompt, e.g. "a family company selling
	// freshly roasted coffee beans".
	BusinessDescription string `protobuf:"bytes,4,opt,name=business_description,json=businessDescription,proto3" json:"business_description,omitempty"`
	// Agent scope, e.g. "Example company website", "internal Example
	// company website for employees", "manual of car owner".
	AgentScope string `protobuf:"bytes,5,opt,name=agent_scope,json=agentScope,proto3" json:"agent_scope,omitempty"`
	// Whether to disable fallback to Data Store search results (in case the LLM
	// couldn't pick a proper answer). Per default the feature is enabled.
	DisableDataStoreFallback bool `protobuf:"varint,8,opt,name=disable_data_store_fallback,json=disableDataStoreFallback,proto3" json:"disable_data_store_fallback,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *GenerativeSettings_KnowledgeConnectorSettings) Reset() {
	*x = GenerativeSettings_KnowledgeConnectorSettings{}
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GenerativeSettings_KnowledgeConnectorSettings) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GenerativeSettings_KnowledgeConnectorSettings) ProtoMessage() {}

func (x *GenerativeSettings_KnowledgeConnectorSettings) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_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 GenerativeSettings_KnowledgeConnectorSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_KnowledgeConnectorSettings) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{0, 1}
}

func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusiness() string {
	if x != nil {
		return x.Business
	}
	return ""
}

func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgent() string {
	if x != nil {
		return x.Agent
	}
	return ""
}

func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentIdentity() string {
	if x != nil {
		return x.AgentIdentity
	}
	return ""
}

func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusinessDescription() string {
	if x != nil {
		return x.BusinessDescription
	}
	return ""
}

func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentScope() string {
	if x != nil {
		return x.AgentScope
	}
	return ""
}

func (x *GenerativeSettings_KnowledgeConnectorSettings) GetDisableDataStoreFallback() bool {
	if x != nil {
		return x.DisableDataStoreFallback
	}
	return false
}

// Prompt template.
type GenerativeSettings_FallbackSettings_PromptTemplate struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Prompt name.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Prompt text that is sent to a LLM on no-match default, placeholders are
	// filled downstream. For example: "Here is a conversation $conversation,
	// a response is: "
	PromptText string `protobuf:"bytes,2,opt,name=prompt_text,json=promptText,proto3" json:"prompt_text,omitempty"`
	// If the flag is true, the prompt is frozen and cannot be modified by
	// users.
	Frozen        bool `protobuf:"varint,3,opt,name=frozen,proto3" json:"frozen,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GenerativeSettings_FallbackSettings_PromptTemplate) Reset() {
	*x = GenerativeSettings_FallbackSettings_PromptTemplate{}
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GenerativeSettings_FallbackSettings_PromptTemplate) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoMessage() {}

func (x *GenerativeSettings_FallbackSettings_PromptTemplate) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_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 GenerativeSettings_FallbackSettings_PromptTemplate.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_FallbackSettings_PromptTemplate) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{0, 0, 0}
}

func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetPromptText() string {
	if x != nil {
		return x.PromptText
	}
	return ""
}

func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetFrozen() bool {
	if x != nil {
		return x.Frozen
	}
	return false
}

// Generative model parameters to control the model behavior.
type LlmModelSettings_Parameters struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The temperature used for sampling during response generation. Value
	// ranges from 0 to 1. Temperature controls the degree of randomness in
	// token selection. Lower temperature means less randomness, while higher
	// temperature means more randomness.
	// Valid range: [0.0, 1.0]
	Temperature *float32 `protobuf:"fixed32,1,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
	// The input token limit.
	// This setting is currently only supported by playbooks.
	InputTokenLimit *LlmModelSettings_Parameters_InputTokenLimit `protobuf:"varint,2,opt,name=input_token_limit,json=inputTokenLimit,proto3,enum=google.cloud.dialogflow.cx.v3beta1.LlmModelSettings_Parameters_InputTokenLimit,oneof" json:"input_token_limit,omitempty"`
	// The output token limit.
	// This setting is currently only supported by playbooks.
	// Only one of output_token_limit and max_output_tokens is allowed to be
	// set.
	OutputTokenLimit *LlmModelSettings_Parameters_OutputTokenLimit `protobuf:"varint,3,opt,name=output_token_limit,json=outputTokenLimit,proto3,enum=google.cloud.dialogflow.cx.v3beta1.LlmModelSettings_Parameters_OutputTokenLimit,oneof" json:"output_token_limit,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *LlmModelSettings_Parameters) Reset() {
	*x = LlmModelSettings_Parameters{}
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *LlmModelSettings_Parameters) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*LlmModelSettings_Parameters) ProtoMessage() {}

func (x *LlmModelSettings_Parameters) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_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 LlmModelSettings_Parameters.ProtoReflect.Descriptor instead.
func (*LlmModelSettings_Parameters) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{1, 0}
}

func (x *LlmModelSettings_Parameters) GetTemperature() float32 {
	if x != nil && x.Temperature != nil {
		return *x.Temperature
	}
	return 0
}

func (x *LlmModelSettings_Parameters) GetInputTokenLimit() LlmModelSettings_Parameters_InputTokenLimit {
	if x != nil && x.InputTokenLimit != nil {
		return *x.InputTokenLimit
	}
	return LlmModelSettings_Parameters_INPUT_TOKEN_LIMIT_UNSPECIFIED
}

func (x *LlmModelSettings_Parameters) GetOutputTokenLimit() LlmModelSettings_Parameters_OutputTokenLimit {
	if x != nil && x.OutputTokenLimit != nil {
		return *x.OutputTokenLimit
	}
	return LlmModelSettings_Parameters_OUTPUT_TOKEN_LIMIT_UNSPECIFIED
}

var File_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc = "" +
	"\n" +
	"<google/cloud/dialogflow/cx/v3beta1/generative_settings.proto\x12\"google.cloud.dialogflow.cx.v3beta1\x1a\x19google/api/resource.proto\x1a8google/cloud/dialogflow/cx/v3beta1/safety_settings.proto\"\xee\t\n" +
	"\x12GenerativeSettings\x12\x12\n" +
	"\x04name\x18\x05 \x01(\tR\x04name\x12t\n" +
	"\x11fallback_settings\x18\x01 \x01(\v2G.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettingsR\x10fallbackSettings\x12p\n" +
	"\x1agenerative_safety_settings\x18\x03 \x01(\v22.google.cloud.dialogflow.cx.v3beta1.SafetySettingsR\x18generativeSafetySettings\x12\x93\x01\n" +
	"\x1cknowledge_connector_settings\x18\a \x01(\v2Q.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettingsR\x1aknowledgeConnectorSettings\x12#\n" +
	"\rlanguage_code\x18\x04 \x01(\tR\flanguageCode\x12b\n" +
	"\x12llm_model_settings\x18\b \x01(\v24.google.cloud.dialogflow.cx.v3beta1.LlmModelSettingsR\x10llmModelSettings\x1a\xad\x02\n" +
	"\x10FallbackSettings\x12'\n" +
	"\x0fselected_prompt\x18\x03 \x01(\tR\x0eselectedPrompt\x12\x81\x01\n" +
	"\x10prompt_templates\x18\x04 \x03(\v2V.google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplateR\x0fpromptTemplates\x1al\n" +
	"\x0ePromptTemplate\x12!\n" +
	"\fdisplay_name\x18\x01 \x01(\tR\vdisplayName\x12\x1f\n" +
	"\vprompt_text\x18\x02 \x01(\tR\n" +
	"promptText\x12\x16\n" +
	"\x06frozen\x18\x03 \x01(\bR\x06frozen\x1a\x88\x02\n" +
	"\x1aKnowledgeConnectorSettings\x12\x1a\n" +
	"\bbusiness\x18\x01 \x01(\tR\bbusiness\x12\x14\n" +
	"\x05agent\x18\x02 \x01(\tR\x05agent\x12%\n" +
	"\x0eagent_identity\x18\x03 \x01(\tR\ragentIdentity\x121\n" +
	"\x14business_description\x18\x04 \x01(\tR\x13businessDescription\x12\x1f\n" +
	"\vagent_scope\x18\x05 \x01(\tR\n" +
	"agentScope\x12=\n" +
	"\x1bdisable_data_store_fallback\x18\b \x01(\bR\x18disableDataStoreFallback:\x81\x01\xeaA~\n" +
	"1dialogflow.googleapis.com/AgentGenerativeSettings\x12Iprojects/{project}/locations/{location}/agents/{agent}/generativeSettings\"\xc7\x06\n" +
	"\x10LlmModelSettings\x12\x14\n" +
	"\x05model\x18\x01 \x01(\tR\x05model\x12\x1f\n" +
	"\vprompt_text\x18\x02 \x01(\tR\n" +
	"promptText\x12_\n" +
	"\n" +
	"parameters\x18\x04 \x01(\v2?.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.ParametersR\n" +
	"parameters\x1a\x9a\x05\n" +
	"\n" +
	"Parameters\x12%\n" +
	"\vtemperature\x18\x01 \x01(\x02H\x00R\vtemperature\x88\x01\x01\x12\x80\x01\n" +
	"\x11input_token_limit\x18\x02 \x01(\x0e2O.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.InputTokenLimitH\x01R\x0finputTokenLimit\x88\x01\x01\x12\x83\x01\n" +
	"\x12output_token_limit\x18\x03 \x01(\x0e2P.google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.OutputTokenLimitH\x02R\x10outputTokenLimit\x88\x01\x01\"\x8b\x01\n" +
	"\x0fInputTokenLimit\x12!\n" +
	"\x1dINPUT_TOKEN_LIMIT_UNSPECIFIED\x10\x00\x12\x1b\n" +
	"\x17INPUT_TOKEN_LIMIT_SHORT\x10\x01\x12\x1c\n" +
	"\x18INPUT_TOKEN_LIMIT_MEDIUM\x10\x02\x12\x1a\n" +
	"\x16INPUT_TOKEN_LIMIT_LONG\x10\x03\"\x90\x01\n" +
	"\x10OutputTokenLimit\x12\"\n" +
	"\x1eOUTPUT_TOKEN_LIMIT_UNSPECIFIED\x10\x00\x12\x1c\n" +
	"\x18OUTPUT_TOKEN_LIMIT_SHORT\x10\x01\x12\x1d\n" +
	"\x19OUTPUT_TOKEN_LIMIT_MEDIUM\x10\x02\x12\x1b\n" +
	"\x17OUTPUT_TOKEN_LIMIT_LONG\x10\x03B\x0e\n" +
	"\f_temperatureB\x14\n" +
	"\x12_input_token_limitB\x15\n" +
	"\x13_output_token_limitB\xce\x01\n" +
	"&com.google.cloud.dialogflow.cx.v3beta1B\x17GenerativeSettingsProtoP\x01Z6cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb;cxpb\xa2\x02\x02DF\xaa\x02\"Google.Cloud.Dialogflow.Cx.V3Beta1\xea\x02&Google::Cloud::Dialogflow::CX::V3beta1b\x06proto3"

var (
	file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescData
}

var file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_goTypes = []any{
	(LlmModelSettings_Parameters_InputTokenLimit)(0),           // 0: google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.InputTokenLimit
	(LlmModelSettings_Parameters_OutputTokenLimit)(0),          // 1: google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.OutputTokenLimit
	(*GenerativeSettings)(nil),                                 // 2: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings
	(*LlmModelSettings)(nil),                                   // 3: google.cloud.dialogflow.cx.v3beta1.LlmModelSettings
	(*GenerativeSettings_FallbackSettings)(nil),                // 4: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings
	(*GenerativeSettings_KnowledgeConnectorSettings)(nil),      // 5: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings
	(*GenerativeSettings_FallbackSettings_PromptTemplate)(nil), // 6: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate
	(*LlmModelSettings_Parameters)(nil),                        // 7: google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters
	(*SafetySettings)(nil),                                     // 8: google.cloud.dialogflow.cx.v3beta1.SafetySettings
}
var file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_depIdxs = []int32{
	4, // 0: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.fallback_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings
	8, // 1: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.generative_safety_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.SafetySettings
	5, // 2: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.knowledge_connector_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings
	3, // 3: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.llm_model_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.LlmModelSettings
	7, // 4: google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.parameters:type_name -> google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters
	6, // 5: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.prompt_templates:type_name -> google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate
	0, // 6: google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.input_token_limit:type_name -> google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.InputTokenLimit
	1, // 7: google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.output_token_limit:type_name -> google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.OutputTokenLimit
	8, // [8:8] is the sub-list for method output_type
	8, // [8:8] is the sub-list for method input_type
	8, // [8:8] is the sub-list for extension type_name
	8, // [8:8] is the sub-list for extension extendee
	0, // [0:8] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_init() }
func file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_init() {
	if File_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto != nil {
		return
	}
	file_google_cloud_dialogflow_cx_v3beta1_safety_settings_proto_init()
	file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[5].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_depIdxs,
		EnumInfos:         file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_enumTypes,
		MessageInfos:      file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto = out.File
	file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_goTypes = nil
	file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_depIdxs = nil
}
