Debian Codegraph @

dialogflow/cx/apiv3beta1/cxpb/generative_settings.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/dialogflow/cx/v3beta1/generative_settings.proto
20
21 package cxpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Settings for Generative AI.
39 type GenerativeSettings struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Format:
45 // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings`.
46 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
47 // Settings for Generative Fallback.
48 FallbackSettings *GenerativeSettings_FallbackSettings `protobuf:"bytes,1,opt,name=fallback_settings,json=fallbackSettings,proto3" json:"fallback_settings,omitempty"`
49 // Settings for Generative Safety.
50 GenerativeSafetySettings *SafetySettings `protobuf:"bytes,3,opt,name=generative_safety_settings,json=generativeSafetySettings,proto3" json:"generative_safety_settings,omitempty"`
51 // Settings for knowledge connector.
52 KnowledgeConnectorSettings *GenerativeSettings_KnowledgeConnectorSettings `protobuf:"bytes,7,opt,name=knowledge_connector_settings,json=knowledgeConnectorSettings,proto3" json:"knowledge_connector_settings,omitempty"`
53 // Language for this settings.
54 LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
55 // LLM model settings.
56 LlmModelSettings *LlmModelSettings `protobuf:"bytes,8,opt,name=llm_model_settings,json=llmModelSettings,proto3" json:"llm_model_settings,omitempty"`
57 }
58
59 func (x *GenerativeSettings) Reset() {
60 *x = GenerativeSettings{}
61 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
64 }
65
66 func (x *GenerativeSettings) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*GenerativeSettings) ProtoMessage() {}
71
72 func (x *GenerativeSettings) ProtoReflect() protoreflect.Message {
73 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[0]
74 if x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use GenerativeSettings.ProtoReflect.Descriptor instead.
85 func (*GenerativeSettings) Descriptor() ([]byte, []int) {
86 return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *GenerativeSettings) GetName() string {
90 if x != nil {
91 return x.Name
92 }
93 return ""
94 }
95
96 func (x *GenerativeSettings) GetFallbackSettings() *GenerativeSettings_FallbackSettings {
97 if x != nil {
98 return x.FallbackSettings
99 }
100 return nil
101 }
102
103 func (x *GenerativeSettings) GetGenerativeSafetySettings() *SafetySettings {
104 if x != nil {
105 return x.GenerativeSafetySettings
106 }
107 return nil
108 }
109
110 func (x *GenerativeSettings) GetKnowledgeConnectorSettings() *GenerativeSettings_KnowledgeConnectorSettings {
111 if x != nil {
112 return x.KnowledgeConnectorSettings
113 }
114 return nil
115 }
116
117 func (x *GenerativeSettings) GetLanguageCode() string {
118 if x != nil {
119 return x.LanguageCode
120 }
121 return ""
122 }
123
124 func (x *GenerativeSettings) GetLlmModelSettings() *LlmModelSettings {
125 if x != nil {
126 return x.LlmModelSettings
127 }
128 return nil
129 }
130
131 // Settings for LLM models.
132 type LlmModelSettings struct {
133 state protoimpl.MessageState
134 sizeCache protoimpl.SizeCache
135 unknownFields protoimpl.UnknownFields
136
137 // The selected LLM model.
138 Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
139 // The custom prompt to use.
140 PromptText string `protobuf:"bytes,2,opt,name=prompt_text,json=promptText,proto3" json:"prompt_text,omitempty"`
141 }
142
143 func (x *LlmModelSettings) Reset() {
144 *x = LlmModelSettings{}
145 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[1]
146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
147 ms.StoreMessageInfo(mi)
148 }
149
150 func (x *LlmModelSettings) String() string {
151 return protoimpl.X.MessageStringOf(x)
152 }
153
154 func (*LlmModelSettings) ProtoMessage() {}
155
156 func (x *LlmModelSettings) ProtoReflect() protoreflect.Message {
157 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[1]
158 if x != nil {
159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160 if ms.LoadMessageInfo() == nil {
161 ms.StoreMessageInfo(mi)
162 }
163 return ms
164 }
165 return mi.MessageOf(x)
166 }
167
168 // Deprecated: Use LlmModelSettings.ProtoReflect.Descriptor instead.
169 func (*LlmModelSettings) Descriptor() ([]byte, []int) {
170 return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{1}
171 }
172
173 func (x *LlmModelSettings) GetModel() string {
174 if x != nil {
175 return x.Model
176 }
177 return ""
178 }
179
180 func (x *LlmModelSettings) GetPromptText() string {
181 if x != nil {
182 return x.PromptText
183 }
184 return ""
185 }
186
187 // Settings for Generative Fallback.
188 type GenerativeSettings_FallbackSettings struct {
189 state protoimpl.MessageState
190 sizeCache protoimpl.SizeCache
191 unknownFields protoimpl.UnknownFields
192
193 // Display name of the selected prompt.
194 SelectedPrompt string `protobuf:"bytes,3,opt,name=selected_prompt,json=selectedPrompt,proto3" json:"selected_prompt,omitempty"`
195 // Stored prompts that can be selected, for example default templates like
196 // "conservative" or "chatty", or user defined ones.
197 PromptTemplates []*GenerativeSettings_FallbackSettings_PromptTemplate `protobuf:"bytes,4,rep,name=prompt_templates,json=promptTemplates,proto3" json:"prompt_templates,omitempty"`
198 }
199
200 func (x *GenerativeSettings_FallbackSettings) Reset() {
201 *x = GenerativeSettings_FallbackSettings{}
202 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[2]
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 ms.StoreMessageInfo(mi)
205 }
206
207 func (x *GenerativeSettings_FallbackSettings) String() string {
208 return protoimpl.X.MessageStringOf(x)
209 }
210
211 func (*GenerativeSettings_FallbackSettings) ProtoMessage() {}
212
213 func (x *GenerativeSettings_FallbackSettings) ProtoReflect() protoreflect.Message {
214 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[2]
215 if x != nil {
216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217 if ms.LoadMessageInfo() == nil {
218 ms.StoreMessageInfo(mi)
219 }
220 return ms
221 }
222 return mi.MessageOf(x)
223 }
224
225 // Deprecated: Use GenerativeSettings_FallbackSettings.ProtoReflect.Descriptor instead.
226 func (*GenerativeSettings_FallbackSettings) Descriptor() ([]byte, []int) {
227 return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{0, 0}
228 }
229
230 func (x *GenerativeSettings_FallbackSettings) GetSelectedPrompt() string {
231 if x != nil {
232 return x.SelectedPrompt
233 }
234 return ""
235 }
236
237 func (x *GenerativeSettings_FallbackSettings) GetPromptTemplates() []*GenerativeSettings_FallbackSettings_PromptTemplate {
238 if x != nil {
239 return x.PromptTemplates
240 }
241 return nil
242 }
243
244 // Settings for knowledge connector. These parameters are used for LLM prompt
245 // like "You are <agent>. You are a helpful and verbose <agent_identity> at
246 // <business>, <business_description>. Your task is to help humans on
247 // <agent_scope>".
248 type GenerativeSettings_KnowledgeConnectorSettings struct {
249 state protoimpl.MessageState
250 sizeCache protoimpl.SizeCache
251 unknownFields protoimpl.UnknownFields
252
253 // Name of the company, organization or other entity that the agent
254 // represents. Used for knowledge connector LLM prompt and for knowledge
255 // search.
256 Business string `protobuf:"bytes,1,opt,name=business,proto3" json:"business,omitempty"`
257 // Name of the virtual agent. Used for LLM prompt. Can be left empty.
258 Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
259 // Identity of the agent, e.g. "virtual agent", "AI assistant".
260 AgentIdentity string `protobuf:"bytes,3,opt,name=agent_identity,json=agentIdentity,proto3" json:"agent_identity,omitempty"`
261 // Company description, used for LLM prompt, e.g. "a family company selling
262 // freshly roasted coffee beans".
263 BusinessDescription string `protobuf:"bytes,4,opt,name=business_description,json=businessDescription,proto3" json:"business_description,omitempty"`
264 // Agent scope, e.g. "Example company website", "internal Example
265 // company website for employees", "manual of car owner".
266 AgentScope string `protobuf:"bytes,5,opt,name=agent_scope,json=agentScope,proto3" json:"agent_scope,omitempty"`
267 // Whether to disable fallback to Data Store search results (in case the LLM
268 // couldn't pick a proper answer). Per default the feature is enabled.
269 DisableDataStoreFallback bool `protobuf:"varint,8,opt,name=disable_data_store_fallback,json=disableDataStoreFallback,proto3" json:"disable_data_store_fallback,omitempty"`
270 }
271
272 func (x *GenerativeSettings_KnowledgeConnectorSettings) Reset() {
273 *x = GenerativeSettings_KnowledgeConnectorSettings{}
274 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[3]
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 ms.StoreMessageInfo(mi)
277 }
278
279 func (x *GenerativeSettings_KnowledgeConnectorSettings) String() string {
280 return protoimpl.X.MessageStringOf(x)
281 }
282
283 func (*GenerativeSettings_KnowledgeConnectorSettings) ProtoMessage() {}
284
285 func (x *GenerativeSettings_KnowledgeConnectorSettings) ProtoReflect() protoreflect.Message {
286 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[3]
287 if x != nil {
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 if ms.LoadMessageInfo() == nil {
290 ms.StoreMessageInfo(mi)
291 }
292 return ms
293 }
294 return mi.MessageOf(x)
295 }
296
297 // Deprecated: Use GenerativeSettings_KnowledgeConnectorSettings.ProtoReflect.Descriptor instead.
298 func (*GenerativeSettings_KnowledgeConnectorSettings) Descriptor() ([]byte, []int) {
299 return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{0, 1}
300 }
301
302 func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusiness() string {
303 if x != nil {
304 return x.Business
305 }
306 return ""
307 }
308
309 func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgent() string {
310 if x != nil {
311 return x.Agent
312 }
313 return ""
314 }
315
316 func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentIdentity() string {
317 if x != nil {
318 return x.AgentIdentity
319 }
320 return ""
321 }
322
323 func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusinessDescription() string {
324 if x != nil {
325 return x.BusinessDescription
326 }
327 return ""
328 }
329
330 func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentScope() string {
331 if x != nil {
332 return x.AgentScope
333 }
334 return ""
335 }
336
337 func (x *GenerativeSettings_KnowledgeConnectorSettings) GetDisableDataStoreFallback() bool {
338 if x != nil {
339 return x.DisableDataStoreFallback
340 }
341 return false
342 }
343
344 // Prompt template.
345 type GenerativeSettings_FallbackSettings_PromptTemplate struct {
346 state protoimpl.MessageState
347 sizeCache protoimpl.SizeCache
348 unknownFields protoimpl.UnknownFields
349
350 // Prompt name.
351 DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
352 // Prompt text that is sent to a LLM on no-match default, placeholders are
353 // filled downstream. For example: "Here is a conversation $conversation,
354 // a response is: "
355 PromptText string `protobuf:"bytes,2,opt,name=prompt_text,json=promptText,proto3" json:"prompt_text,omitempty"`
356 // If the flag is true, the prompt is frozen and cannot be modified by
357 // users.
358 Frozen bool `protobuf:"varint,3,opt,name=frozen,proto3" json:"frozen,omitempty"`
359 }
360
361 func (x *GenerativeSettings_FallbackSettings_PromptTemplate) Reset() {
362 *x = GenerativeSettings_FallbackSettings_PromptTemplate{}
363 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[4]
364 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
365 ms.StoreMessageInfo(mi)
366 }
367
368 func (x *GenerativeSettings_FallbackSettings_PromptTemplate) String() string {
369 return protoimpl.X.MessageStringOf(x)
370 }
371
372 func (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoMessage() {}
373
374 func (x *GenerativeSettings_FallbackSettings_PromptTemplate) ProtoReflect() protoreflect.Message {
375 mi := &file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes[4]
376 if x != nil {
377 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378 if ms.LoadMessageInfo() == nil {
379 ms.StoreMessageInfo(mi)
380 }
381 return ms
382 }
383 return mi.MessageOf(x)
384 }
385
386 // Deprecated: Use GenerativeSettings_FallbackSettings_PromptTemplate.ProtoReflect.Descriptor instead.
387 func (*GenerativeSettings_FallbackSettings_PromptTemplate) Descriptor() ([]byte, []int) {
388 return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP(), []int{0, 0, 0}
389 }
390
391 func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetDisplayName() string {
392 if x != nil {
393 return x.DisplayName
394 }
395 return ""
396 }
397
398 func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetPromptText() string {
399 if x != nil {
400 return x.PromptText
401 }
402 return ""
403 }
404
405 func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetFrozen() bool {
406 if x != nil {
407 return x.Frozen
408 }
409 return false
410 }
411
412 var File_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto protoreflect.FileDescriptor
413
414 var file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc = []byte{
415 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64,
416 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62,
417 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
418 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22,
419 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61,
420 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74,
421 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
422 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x67,
423 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x69, 0x61, 0x6c,
424 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61,
425 0x31, 0x2f, 0x73, 0x61, 0x66, 0x65, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
426 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x09, 0x0a, 0x12, 0x47, 0x65, 0x6e, 0x65,
427 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x12,
428 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
429 0x6d, 0x65, 0x12, 0x74, 0x0a, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73,
430 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e,
431 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61,
432 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74,
433 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74,
434 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x65,
435 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x10, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b,
436 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x70, 0x0a, 0x1a, 0x67, 0x65, 0x6e, 0x65,
437 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x74, 0x79, 0x5f, 0x73, 0x65,
438 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67,
439 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c,
440 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61,
441 0x31, 0x2e, 0x53, 0x61, 0x66, 0x65, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
442 0x52, 0x18, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x61, 0x66, 0x65,
443 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x93, 0x01, 0x0a, 0x1c, 0x6b,
444 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
445 0x6f, 0x72, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
446 0x0b, 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
447 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76,
448 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76,
449 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65,
450 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x74,
451 0x69, 0x6e, 0x67, 0x73, 0x52, 0x1a, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x43,
452 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
453 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64,
454 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
455 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x62, 0x0a, 0x12, 0x6c, 0x6c, 0x6d, 0x5f, 0x6d, 0x6f, 0x64,
456 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28,
457 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
458 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76,
459 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x6c, 0x6d, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x53,
460 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x10, 0x6c, 0x6c, 0x6d, 0x4d, 0x6f, 0x64, 0x65,
461 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0xad, 0x02, 0x0a, 0x10, 0x46, 0x61,
462 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x27,
463 0x0a, 0x0f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70,
464 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65,
465 0x64, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x81, 0x01, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d,
466 0x70, 0x74, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03,
467 0x28, 0x0b, 0x32, 0x56, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
468 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e,
469 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
470 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x46, 0x61, 0x6c, 0x6c, 0x62,
471 0x61, 0x63, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x6d,
472 0x70, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x6d,
473 0x70, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x6c, 0x0a, 0x0e, 0x50,
474 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a,
475 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
476 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65,
477 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18,
478 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x54, 0x65, 0x78,
479 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
480 0x08, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x1a, 0x88, 0x02, 0x0a, 0x1a, 0x4b, 0x6e,
481 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
482 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69,
483 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x75, 0x73, 0x69,
484 0x6e, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
485 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x67,
486 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01,
487 0x28, 0x09, 0x52, 0x0d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
488 0x79, 0x12, 0x31, 0x0a, 0x14, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x64, 0x65,
489 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
490 0x13, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
491 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x63,
492 0x6f, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x67, 0x65, 0x6e, 0x74,
493 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x1b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
494 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x66, 0x61, 0x6c, 0x6c,
495 0x62, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x64, 0x69, 0x73, 0x61,
496 0x62, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x61, 0x6c, 0x6c,
497 0x62, 0x61, 0x63, 0x6b, 0x3a, 0x81, 0x01, 0xea, 0x41, 0x7e, 0x0a, 0x31, 0x64, 0x69, 0x61, 0x6c,
498 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
499 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72,
500 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x49, 0x70,
501 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
502 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63,
503 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61,
504 0x67, 0x65, 0x6e, 0x74, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65,
505 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x49, 0x0a, 0x10, 0x4c, 0x6c, 0x6d, 0x4d,
506 0x6f, 0x64, 0x65, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05,
507 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64,
508 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x5f, 0x74, 0x65, 0x78,
509 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x54,
510 0x65, 0x78, 0x74, 0x42, 0xce, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
511 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x64, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66,
512 0x6c, 0x6f, 0x77, 0x2e, 0x63, 0x78, 0x2e, 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x17,
513 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
514 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x63, 0x6c, 0x6f, 0x75, 0x64,
515 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x64,
516 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x78, 0x2f, 0x61, 0x70, 0x69,
517 0x76, 0x33, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x78, 0x70, 0x62, 0x3b, 0x63, 0x78, 0x70,
518 0x62, 0xa2, 0x02, 0x02, 0x44, 0x46, 0xaa, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
519 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x69, 0x61, 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77,
520 0x2e, 0x43, 0x78, 0x2e, 0x56, 0x33, 0x42, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x26, 0x47, 0x6f,
521 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x44, 0x69, 0x61,
522 0x6c, 0x6f, 0x67, 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x3a, 0x43, 0x58, 0x3a, 0x3a, 0x56, 0x33, 0x62,
523 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
524 }
525
526 var (
527 file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescOnce sync.Once
528 file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescData = file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc
529 )
530
531 func file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescGZIP() []byte {
532 file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescOnce.Do(func() {
533 file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescData)
534 })
535 return file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDescData
536 }
537
538 var file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
539 var file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_goTypes = []any{
540 (*GenerativeSettings)(nil), // 0: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings
541 (*LlmModelSettings)(nil), // 1: google.cloud.dialogflow.cx.v3beta1.LlmModelSettings
542 (*GenerativeSettings_FallbackSettings)(nil), // 2: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings
543 (*GenerativeSettings_KnowledgeConnectorSettings)(nil), // 3: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings
544 (*GenerativeSettings_FallbackSettings_PromptTemplate)(nil), // 4: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate
545 (*SafetySettings)(nil), // 5: google.cloud.dialogflow.cx.v3beta1.SafetySettings
546 }
547 var file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_depIdxs = []int32{
548 2, // 0: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.fallback_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings
549 5, // 1: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.generative_safety_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.SafetySettings
550 3, // 2: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.knowledge_connector_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.KnowledgeConnectorSettings
551 1, // 3: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.llm_model_settings:type_name -> google.cloud.dialogflow.cx.v3beta1.LlmModelSettings
552 4, // 4: google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.prompt_templates:type_name -> google.cloud.dialogflow.cx.v3beta1.GenerativeSettings.FallbackSettings.PromptTemplate
553 5, // [5:5] is the sub-list for method output_type
554 5, // [5:5] is the sub-list for method input_type
555 5, // [5:5] is the sub-list for extension type_name
556 5, // [5:5] is the sub-list for extension extendee
557 0, // [0:5] is the sub-list for field type_name
558 }
559
560 func init() { file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_init() }
561 func file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_init() {
562 if File_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto != nil {
563 return
564 }
565 file_google_cloud_dialogflow_cx_v3beta1_safety_settings_proto_init()
566 type x struct{}
567 out := protoimpl.TypeBuilder{
568 File: protoimpl.DescBuilder{
569 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
570 RawDescriptor: file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc,
571 NumEnums: 0,
572 NumMessages: 5,
573 NumExtensions: 0,
574 NumServices: 0,
575 },
576 GoTypes: file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_goTypes,
577 DependencyIndexes: file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_depIdxs,
578 MessageInfos: file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_msgTypes,
579 }.Build()
580 File_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto = out.File
581 file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_rawDesc = nil
582 file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_goTypes = nil
583 file_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto_depIdxs = nil
584 }