1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/dialogflow/v2/intent.proto
3
4package dialogflow
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	_ "github.com/golang/protobuf/ptypes/duration"
13	empty "github.com/golang/protobuf/ptypes/empty"
14	_struct "github.com/golang/protobuf/ptypes/struct"
15	_ "google.golang.org/genproto/googleapis/api/annotations"
16	longrunning "google.golang.org/genproto/googleapis/longrunning"
17	field_mask "google.golang.org/genproto/protobuf/field_mask"
18	grpc "google.golang.org/grpc"
19)
20
21// Reference imports to suppress errors if they are not otherwise used.
22var _ = proto.Marshal
23var _ = fmt.Errorf
24var _ = math.Inf
25
26// This is a compile-time assertion to ensure that this generated file
27// is compatible with the proto package it is being compiled against.
28// A compilation error at this line likely means your copy of the
29// proto package needs to be updated.
30const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
31
32// Represents the options for views of an intent.
33// An intent can be a sizable object. Therefore, we provide a resource view that
34// does not return training phrases in the response by default.
35type IntentView int32
36
37const (
38	// Training phrases field is not populated in the response.
39	IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0
40	// All fields are populated.
41	IntentView_INTENT_VIEW_FULL IntentView = 1
42)
43
44var IntentView_name = map[int32]string{
45	0: "INTENT_VIEW_UNSPECIFIED",
46	1: "INTENT_VIEW_FULL",
47}
48
49var IntentView_value = map[string]int32{
50	"INTENT_VIEW_UNSPECIFIED": 0,
51	"INTENT_VIEW_FULL":        1,
52}
53
54func (x IntentView) String() string {
55	return proto.EnumName(IntentView_name, int32(x))
56}
57
58func (IntentView) EnumDescriptor() ([]byte, []int) {
59	return fileDescriptor_6c20e31044d743bd, []int{0}
60}
61
62// Represents the different states that webhooks can be in.
63type Intent_WebhookState int32
64
65const (
66	// Webhook is disabled in the agent and in the intent.
67	Intent_WEBHOOK_STATE_UNSPECIFIED Intent_WebhookState = 0
68	// Webhook is enabled in the agent and in the intent.
69	Intent_WEBHOOK_STATE_ENABLED Intent_WebhookState = 1
70	// Webhook is enabled in the agent and in the intent. Also, each slot
71	// filling prompt is forwarded to the webhook.
72	Intent_WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING Intent_WebhookState = 2
73)
74
75var Intent_WebhookState_name = map[int32]string{
76	0: "WEBHOOK_STATE_UNSPECIFIED",
77	1: "WEBHOOK_STATE_ENABLED",
78	2: "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING",
79}
80
81var Intent_WebhookState_value = map[string]int32{
82	"WEBHOOK_STATE_UNSPECIFIED":              0,
83	"WEBHOOK_STATE_ENABLED":                  1,
84	"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING": 2,
85}
86
87func (x Intent_WebhookState) String() string {
88	return proto.EnumName(Intent_WebhookState_name, int32(x))
89}
90
91func (Intent_WebhookState) EnumDescriptor() ([]byte, []int) {
92	return fileDescriptor_6c20e31044d743bd, []int{0, 0}
93}
94
95// Represents different types of training phrases.
96type Intent_TrainingPhrase_Type int32
97
98const (
99	// Not specified. This value should never be used.
100	Intent_TrainingPhrase_TYPE_UNSPECIFIED Intent_TrainingPhrase_Type = 0
101	// Examples do not contain @-prefixed entity type names, but example parts
102	// can be annotated with entity types.
103	Intent_TrainingPhrase_EXAMPLE Intent_TrainingPhrase_Type = 1
104	// Templates are not annotated with entity types, but they can contain
105	// @-prefixed entity type names as substrings.
106	// Template mode has been deprecated. Example mode is the only supported
107	// way to create new training phrases. If you have existing training
108	// phrases that you've created in template mode, those will continue to
109	// work.
110	Intent_TrainingPhrase_TEMPLATE Intent_TrainingPhrase_Type = 2 // Deprecated: Do not use.
111)
112
113var Intent_TrainingPhrase_Type_name = map[int32]string{
114	0: "TYPE_UNSPECIFIED",
115	1: "EXAMPLE",
116	2: "TEMPLATE",
117}
118
119var Intent_TrainingPhrase_Type_value = map[string]int32{
120	"TYPE_UNSPECIFIED": 0,
121	"EXAMPLE":          1,
122	"TEMPLATE":         2,
123}
124
125func (x Intent_TrainingPhrase_Type) String() string {
126	return proto.EnumName(Intent_TrainingPhrase_Type_name, int32(x))
127}
128
129func (Intent_TrainingPhrase_Type) EnumDescriptor() ([]byte, []int) {
130	return fileDescriptor_6c20e31044d743bd, []int{0, 0, 0}
131}
132
133// Represents different platforms that a rich message can be intended for.
134type Intent_Message_Platform int32
135
136const (
137	// Not specified.
138	Intent_Message_PLATFORM_UNSPECIFIED Intent_Message_Platform = 0
139	// Facebook.
140	Intent_Message_FACEBOOK Intent_Message_Platform = 1
141	// Slack.
142	Intent_Message_SLACK Intent_Message_Platform = 2
143	// Telegram.
144	Intent_Message_TELEGRAM Intent_Message_Platform = 3
145	// Kik.
146	Intent_Message_KIK Intent_Message_Platform = 4
147	// Skype.
148	Intent_Message_SKYPE Intent_Message_Platform = 5
149	// Line.
150	Intent_Message_LINE Intent_Message_Platform = 6
151	// Viber.
152	Intent_Message_VIBER Intent_Message_Platform = 7
153	// Actions on Google.
154	// When using Actions on Google, you can choose one of the specific
155	// Intent.Message types that mention support for Actions on Google,
156	// or you can use the advanced Intent.Message.payload field.
157	// The payload field provides access to AoG features not available in the
158	// specific message types.
159	// If using the Intent.Message.payload field, it should have a structure
160	// similar to the JSON message shown here. For more information, see
161	// [Actions on Google Webhook
162	// Format](https://developers.google.com/actions/dialogflow/webhook)
163	// <pre>{
164	//   "expectUserResponse": true,
165	//   "isSsml": false,
166	//   "noInputPrompts": [],
167	//   "richResponse": {
168	//     "items": [
169	//       {
170	//         "simpleResponse": {
171	//           "displayText": "hi",
172	//           "textToSpeech": "hello"
173	//         }
174	//       }
175	//     ],
176	//     "suggestions": [
177	//       {
178	//         "title": "Say this"
179	//       },
180	//       {
181	//         "title": "or this"
182	//       }
183	//     ]
184	//   },
185	//   "systemIntent": {
186	//     "data": {
187	//       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
188	//       "listSelect": {
189	//         "items": [
190	//           {
191	//             "optionInfo": {
192	//               "key": "key1",
193	//               "synonyms": [
194	//                 "key one"
195	//               ]
196	//             },
197	//             "title": "must not be empty, but unique"
198	//           },
199	//           {
200	//             "optionInfo": {
201	//               "key": "key2",
202	//               "synonyms": [
203	//                 "key two"
204	//               ]
205	//             },
206	//             "title": "must not be empty, but unique"
207	//           }
208	//         ]
209	//       }
210	//     },
211	//     "intent": "actions.intent.OPTION"
212	//   }
213	// }</pre>
214	Intent_Message_ACTIONS_ON_GOOGLE Intent_Message_Platform = 8
215	// Google Hangouts.
216	Intent_Message_GOOGLE_HANGOUTS Intent_Message_Platform = 11
217)
218
219var Intent_Message_Platform_name = map[int32]string{
220	0:  "PLATFORM_UNSPECIFIED",
221	1:  "FACEBOOK",
222	2:  "SLACK",
223	3:  "TELEGRAM",
224	4:  "KIK",
225	5:  "SKYPE",
226	6:  "LINE",
227	7:  "VIBER",
228	8:  "ACTIONS_ON_GOOGLE",
229	11: "GOOGLE_HANGOUTS",
230}
231
232var Intent_Message_Platform_value = map[string]int32{
233	"PLATFORM_UNSPECIFIED": 0,
234	"FACEBOOK":             1,
235	"SLACK":                2,
236	"TELEGRAM":             3,
237	"KIK":                  4,
238	"SKYPE":                5,
239	"LINE":                 6,
240	"VIBER":                7,
241	"ACTIONS_ON_GOOGLE":    8,
242	"GOOGLE_HANGOUTS":      11,
243}
244
245func (x Intent_Message_Platform) String() string {
246	return proto.EnumName(Intent_Message_Platform_name, int32(x))
247}
248
249func (Intent_Message_Platform) EnumDescriptor() ([]byte, []int) {
250	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 0}
251}
252
253// Represents an intent.
254// Intents convert a number of user expressions or patterns into an action. An
255// action is an extraction of a user command or sentence semantics.
256type Intent struct {
257	// The unique identifier of this intent.
258	// Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
259	// methods.
260	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
261	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
262	// Required. The name of this intent.
263	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
264	// Optional. Indicates whether webhooks are enabled for the intent.
265	WebhookState Intent_WebhookState `protobuf:"varint,6,opt,name=webhook_state,json=webhookState,proto3,enum=google.cloud.dialogflow.v2.Intent_WebhookState" json:"webhook_state,omitempty"`
266	// Optional. The priority of this intent. Higher numbers represent higher
267	// priorities. If this is zero or unspecified, we use the default
268	// priority 500000.
269	//
270	// Negative numbers mean that the intent is disabled.
271	Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
272	// Optional. Indicates whether this is a fallback intent.
273	IsFallback bool `protobuf:"varint,4,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"`
274	// Optional. Indicates whether Machine Learning is disabled for the intent.
275	// Note: If `ml_diabled` setting is set to true, then this intent is not
276	// taken into account during inference in `ML ONLY` match mode. Also,
277	// auto-markup in the UI is turned off.
278	MlDisabled bool `protobuf:"varint,19,opt,name=ml_disabled,json=mlDisabled,proto3" json:"ml_disabled,omitempty"`
279	// Optional. The list of context names required for this intent to be
280	// triggered.
281	// Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
282	InputContextNames []string `protobuf:"bytes,7,rep,name=input_context_names,json=inputContextNames,proto3" json:"input_context_names,omitempty"`
283	// Optional. The collection of event names that trigger the intent.
284	// If the collection of input contexts is not empty, all of the contexts must
285	// be present in the active user session for an event to trigger this intent.
286	Events []string `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"`
287	// Optional. The collection of examples that the agent is
288	// trained on.
289	TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,9,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"`
290	// Optional. The name of the action associated with the intent.
291	// Note: The action name must not contain whitespaces.
292	Action string `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"`
293	// Optional. The collection of contexts that are activated when the intent
294	// is matched. Context messages in this collection should not set the
295	// parameters field. Setting the `lifespan_count` to 0 will reset the context
296	// when the intent is matched.
297	// Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
298	OutputContexts []*Context `protobuf:"bytes,11,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"`
299	// Optional. Indicates whether to delete all contexts in the current
300	// session when this intent is matched.
301	ResetContexts bool `protobuf:"varint,12,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"`
302	// Optional. The collection of parameters associated with the intent.
303	Parameters []*Intent_Parameter `protobuf:"bytes,13,rep,name=parameters,proto3" json:"parameters,omitempty"`
304	// Optional. The collection of rich messages corresponding to the
305	// `Response` field in the Dialogflow console.
306	Messages []*Intent_Message `protobuf:"bytes,14,rep,name=messages,proto3" json:"messages,omitempty"`
307	// Optional. The list of platforms for which the first responses will be
308	// copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
309	DefaultResponsePlatforms []Intent_Message_Platform `protobuf:"varint,15,rep,packed,name=default_response_platforms,json=defaultResponsePlatforms,proto3,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"default_response_platforms,omitempty"`
310	// Read-only. The unique identifier of the root intent in the chain of
311	// followup intents. It identifies the correct followup intents chain for
312	// this intent. We populate this field only in the output.
313	//
314	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
315	RootFollowupIntentName string `protobuf:"bytes,16,opt,name=root_followup_intent_name,json=rootFollowupIntentName,proto3" json:"root_followup_intent_name,omitempty"`
316	// Read-only after creation. The unique identifier of the parent intent in the
317	// chain of followup intents. You can set this field when creating an intent,
318	// for example with [CreateIntent][] or [BatchUpdateIntents][], in order to
319	// make this intent a followup intent.
320	//
321	// It identifies the parent followup intent.
322	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
323	ParentFollowupIntentName string `protobuf:"bytes,17,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"`
324	// Read-only. Information about all followup intents that have this intent as
325	// a direct or indirect parent. We populate this field only in the output.
326	FollowupIntentInfo   []*Intent_FollowupIntentInfo `protobuf:"bytes,18,rep,name=followup_intent_info,json=followupIntentInfo,proto3" json:"followup_intent_info,omitempty"`
327	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
328	XXX_unrecognized     []byte                       `json:"-"`
329	XXX_sizecache        int32                        `json:"-"`
330}
331
332func (m *Intent) Reset()         { *m = Intent{} }
333func (m *Intent) String() string { return proto.CompactTextString(m) }
334func (*Intent) ProtoMessage()    {}
335func (*Intent) Descriptor() ([]byte, []int) {
336	return fileDescriptor_6c20e31044d743bd, []int{0}
337}
338
339func (m *Intent) XXX_Unmarshal(b []byte) error {
340	return xxx_messageInfo_Intent.Unmarshal(m, b)
341}
342func (m *Intent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
343	return xxx_messageInfo_Intent.Marshal(b, m, deterministic)
344}
345func (m *Intent) XXX_Merge(src proto.Message) {
346	xxx_messageInfo_Intent.Merge(m, src)
347}
348func (m *Intent) XXX_Size() int {
349	return xxx_messageInfo_Intent.Size(m)
350}
351func (m *Intent) XXX_DiscardUnknown() {
352	xxx_messageInfo_Intent.DiscardUnknown(m)
353}
354
355var xxx_messageInfo_Intent proto.InternalMessageInfo
356
357func (m *Intent) GetName() string {
358	if m != nil {
359		return m.Name
360	}
361	return ""
362}
363
364func (m *Intent) GetDisplayName() string {
365	if m != nil {
366		return m.DisplayName
367	}
368	return ""
369}
370
371func (m *Intent) GetWebhookState() Intent_WebhookState {
372	if m != nil {
373		return m.WebhookState
374	}
375	return Intent_WEBHOOK_STATE_UNSPECIFIED
376}
377
378func (m *Intent) GetPriority() int32 {
379	if m != nil {
380		return m.Priority
381	}
382	return 0
383}
384
385func (m *Intent) GetIsFallback() bool {
386	if m != nil {
387		return m.IsFallback
388	}
389	return false
390}
391
392func (m *Intent) GetMlDisabled() bool {
393	if m != nil {
394		return m.MlDisabled
395	}
396	return false
397}
398
399func (m *Intent) GetInputContextNames() []string {
400	if m != nil {
401		return m.InputContextNames
402	}
403	return nil
404}
405
406func (m *Intent) GetEvents() []string {
407	if m != nil {
408		return m.Events
409	}
410	return nil
411}
412
413func (m *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase {
414	if m != nil {
415		return m.TrainingPhrases
416	}
417	return nil
418}
419
420func (m *Intent) GetAction() string {
421	if m != nil {
422		return m.Action
423	}
424	return ""
425}
426
427func (m *Intent) GetOutputContexts() []*Context {
428	if m != nil {
429		return m.OutputContexts
430	}
431	return nil
432}
433
434func (m *Intent) GetResetContexts() bool {
435	if m != nil {
436		return m.ResetContexts
437	}
438	return false
439}
440
441func (m *Intent) GetParameters() []*Intent_Parameter {
442	if m != nil {
443		return m.Parameters
444	}
445	return nil
446}
447
448func (m *Intent) GetMessages() []*Intent_Message {
449	if m != nil {
450		return m.Messages
451	}
452	return nil
453}
454
455func (m *Intent) GetDefaultResponsePlatforms() []Intent_Message_Platform {
456	if m != nil {
457		return m.DefaultResponsePlatforms
458	}
459	return nil
460}
461
462func (m *Intent) GetRootFollowupIntentName() string {
463	if m != nil {
464		return m.RootFollowupIntentName
465	}
466	return ""
467}
468
469func (m *Intent) GetParentFollowupIntentName() string {
470	if m != nil {
471		return m.ParentFollowupIntentName
472	}
473	return ""
474}
475
476func (m *Intent) GetFollowupIntentInfo() []*Intent_FollowupIntentInfo {
477	if m != nil {
478		return m.FollowupIntentInfo
479	}
480	return nil
481}
482
483// Represents an example that the agent is trained on.
484type Intent_TrainingPhrase struct {
485	// Output only. The unique identifier of this training phrase.
486	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
487	// Required. The type of the training phrase.
488	Type Intent_TrainingPhrase_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.dialogflow.v2.Intent_TrainingPhrase_Type" json:"type,omitempty"`
489	// Required. The ordered list of training phrase parts.
490	// The parts are concatenated in order to form the training phrase.
491	//
492	// Note: The API does not automatically annotate training phrases like the
493	// Dialogflow Console does.
494	//
495	// Note: Do not forget to include whitespace at part boundaries,
496	// so the training phrase is well formatted when the parts are concatenated.
497	//
498	// If the training phrase does not need to be annotated with parameters,
499	// you just need a single part with only the [Part.text][google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part.text] field set.
500	//
501	// If you want to annotate the training phrase, you must create multiple
502	// parts, where the fields of each part are populated in one of two ways:
503	//
504	// -   `Part.text` is set to a part of the phrase that has no parameters.
505	// -   `Part.text` is set to a part of the phrase that you want to annotate,
506	//     and the `entity_type`, `alias`, and `user_defined` fields are all
507	//     set.
508	Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,3,rep,name=parts,proto3" json:"parts,omitempty"`
509	// Optional. Indicates how many times this example was added to
510	// the intent. Each time a developer adds an existing sample by editing an
511	// intent or training, this counter is increased.
512	TimesAddedCount      int32    `protobuf:"varint,4,opt,name=times_added_count,json=timesAddedCount,proto3" json:"times_added_count,omitempty"`
513	XXX_NoUnkeyedLiteral struct{} `json:"-"`
514	XXX_unrecognized     []byte   `json:"-"`
515	XXX_sizecache        int32    `json:"-"`
516}
517
518func (m *Intent_TrainingPhrase) Reset()         { *m = Intent_TrainingPhrase{} }
519func (m *Intent_TrainingPhrase) String() string { return proto.CompactTextString(m) }
520func (*Intent_TrainingPhrase) ProtoMessage()    {}
521func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int) {
522	return fileDescriptor_6c20e31044d743bd, []int{0, 0}
523}
524
525func (m *Intent_TrainingPhrase) XXX_Unmarshal(b []byte) error {
526	return xxx_messageInfo_Intent_TrainingPhrase.Unmarshal(m, b)
527}
528func (m *Intent_TrainingPhrase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
529	return xxx_messageInfo_Intent_TrainingPhrase.Marshal(b, m, deterministic)
530}
531func (m *Intent_TrainingPhrase) XXX_Merge(src proto.Message) {
532	xxx_messageInfo_Intent_TrainingPhrase.Merge(m, src)
533}
534func (m *Intent_TrainingPhrase) XXX_Size() int {
535	return xxx_messageInfo_Intent_TrainingPhrase.Size(m)
536}
537func (m *Intent_TrainingPhrase) XXX_DiscardUnknown() {
538	xxx_messageInfo_Intent_TrainingPhrase.DiscardUnknown(m)
539}
540
541var xxx_messageInfo_Intent_TrainingPhrase proto.InternalMessageInfo
542
543func (m *Intent_TrainingPhrase) GetName() string {
544	if m != nil {
545		return m.Name
546	}
547	return ""
548}
549
550func (m *Intent_TrainingPhrase) GetType() Intent_TrainingPhrase_Type {
551	if m != nil {
552		return m.Type
553	}
554	return Intent_TrainingPhrase_TYPE_UNSPECIFIED
555}
556
557func (m *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part {
558	if m != nil {
559		return m.Parts
560	}
561	return nil
562}
563
564func (m *Intent_TrainingPhrase) GetTimesAddedCount() int32 {
565	if m != nil {
566		return m.TimesAddedCount
567	}
568	return 0
569}
570
571// Represents a part of a training phrase.
572type Intent_TrainingPhrase_Part struct {
573	// Required. The text for this part.
574	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
575	// Optional. The entity type name prefixed with `@`.
576	// This field is required for annotated parts of the training phrase.
577	EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
578	// Optional. The parameter name for the value extracted from the
579	// annotated part of the example.
580	// This field is required for annotated parts of the training phrase.
581	Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
582	// Optional. Indicates whether the text was manually annotated.
583	// This field is set to true when the Dialogflow Console is used to
584	// manually annotate the part. When creating an annotated part with the
585	// API, you must set this to true.
586	UserDefined          bool     `protobuf:"varint,4,opt,name=user_defined,json=userDefined,proto3" json:"user_defined,omitempty"`
587	XXX_NoUnkeyedLiteral struct{} `json:"-"`
588	XXX_unrecognized     []byte   `json:"-"`
589	XXX_sizecache        int32    `json:"-"`
590}
591
592func (m *Intent_TrainingPhrase_Part) Reset()         { *m = Intent_TrainingPhrase_Part{} }
593func (m *Intent_TrainingPhrase_Part) String() string { return proto.CompactTextString(m) }
594func (*Intent_TrainingPhrase_Part) ProtoMessage()    {}
595func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int) {
596	return fileDescriptor_6c20e31044d743bd, []int{0, 0, 0}
597}
598
599func (m *Intent_TrainingPhrase_Part) XXX_Unmarshal(b []byte) error {
600	return xxx_messageInfo_Intent_TrainingPhrase_Part.Unmarshal(m, b)
601}
602func (m *Intent_TrainingPhrase_Part) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
603	return xxx_messageInfo_Intent_TrainingPhrase_Part.Marshal(b, m, deterministic)
604}
605func (m *Intent_TrainingPhrase_Part) XXX_Merge(src proto.Message) {
606	xxx_messageInfo_Intent_TrainingPhrase_Part.Merge(m, src)
607}
608func (m *Intent_TrainingPhrase_Part) XXX_Size() int {
609	return xxx_messageInfo_Intent_TrainingPhrase_Part.Size(m)
610}
611func (m *Intent_TrainingPhrase_Part) XXX_DiscardUnknown() {
612	xxx_messageInfo_Intent_TrainingPhrase_Part.DiscardUnknown(m)
613}
614
615var xxx_messageInfo_Intent_TrainingPhrase_Part proto.InternalMessageInfo
616
617func (m *Intent_TrainingPhrase_Part) GetText() string {
618	if m != nil {
619		return m.Text
620	}
621	return ""
622}
623
624func (m *Intent_TrainingPhrase_Part) GetEntityType() string {
625	if m != nil {
626		return m.EntityType
627	}
628	return ""
629}
630
631func (m *Intent_TrainingPhrase_Part) GetAlias() string {
632	if m != nil {
633		return m.Alias
634	}
635	return ""
636}
637
638func (m *Intent_TrainingPhrase_Part) GetUserDefined() bool {
639	if m != nil {
640		return m.UserDefined
641	}
642	return false
643}
644
645// Represents intent parameters.
646type Intent_Parameter struct {
647	// The unique identifier of this parameter.
648	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
649	// Required. The name of the parameter.
650	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
651	// Optional. The definition of the parameter value. It can be:
652	// - a constant string,
653	// - a parameter value defined as `$parameter_name`,
654	// - an original parameter value defined as `$parameter_name.original`,
655	// - a parameter value from some context defined as
656	//   `#context_name.parameter_name`.
657	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
658	// Optional. The default value to use when the `value` yields an empty
659	// result.
660	// Default values can be extracted from contexts by using the following
661	// syntax: `#context_name.parameter_name`.
662	DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
663	// Optional. The name of the entity type, prefixed with `@`, that
664	// describes values of the parameter. If the parameter is
665	// required, this must be provided.
666	EntityTypeDisplayName string `protobuf:"bytes,5,opt,name=entity_type_display_name,json=entityTypeDisplayName,proto3" json:"entity_type_display_name,omitempty"`
667	// Optional. Indicates whether the parameter is required. That is,
668	// whether the intent cannot be completed without collecting the parameter
669	// value.
670	Mandatory bool `protobuf:"varint,6,opt,name=mandatory,proto3" json:"mandatory,omitempty"`
671	// Optional. The collection of prompts that the agent can present to the
672	// user in order to collect a value for the parameter.
673	Prompts []string `protobuf:"bytes,7,rep,name=prompts,proto3" json:"prompts,omitempty"`
674	// Optional. Indicates whether the parameter represents a list of values.
675	IsList               bool     `protobuf:"varint,8,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"`
676	XXX_NoUnkeyedLiteral struct{} `json:"-"`
677	XXX_unrecognized     []byte   `json:"-"`
678	XXX_sizecache        int32    `json:"-"`
679}
680
681func (m *Intent_Parameter) Reset()         { *m = Intent_Parameter{} }
682func (m *Intent_Parameter) String() string { return proto.CompactTextString(m) }
683func (*Intent_Parameter) ProtoMessage()    {}
684func (*Intent_Parameter) Descriptor() ([]byte, []int) {
685	return fileDescriptor_6c20e31044d743bd, []int{0, 1}
686}
687
688func (m *Intent_Parameter) XXX_Unmarshal(b []byte) error {
689	return xxx_messageInfo_Intent_Parameter.Unmarshal(m, b)
690}
691func (m *Intent_Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
692	return xxx_messageInfo_Intent_Parameter.Marshal(b, m, deterministic)
693}
694func (m *Intent_Parameter) XXX_Merge(src proto.Message) {
695	xxx_messageInfo_Intent_Parameter.Merge(m, src)
696}
697func (m *Intent_Parameter) XXX_Size() int {
698	return xxx_messageInfo_Intent_Parameter.Size(m)
699}
700func (m *Intent_Parameter) XXX_DiscardUnknown() {
701	xxx_messageInfo_Intent_Parameter.DiscardUnknown(m)
702}
703
704var xxx_messageInfo_Intent_Parameter proto.InternalMessageInfo
705
706func (m *Intent_Parameter) GetName() string {
707	if m != nil {
708		return m.Name
709	}
710	return ""
711}
712
713func (m *Intent_Parameter) GetDisplayName() string {
714	if m != nil {
715		return m.DisplayName
716	}
717	return ""
718}
719
720func (m *Intent_Parameter) GetValue() string {
721	if m != nil {
722		return m.Value
723	}
724	return ""
725}
726
727func (m *Intent_Parameter) GetDefaultValue() string {
728	if m != nil {
729		return m.DefaultValue
730	}
731	return ""
732}
733
734func (m *Intent_Parameter) GetEntityTypeDisplayName() string {
735	if m != nil {
736		return m.EntityTypeDisplayName
737	}
738	return ""
739}
740
741func (m *Intent_Parameter) GetMandatory() bool {
742	if m != nil {
743		return m.Mandatory
744	}
745	return false
746}
747
748func (m *Intent_Parameter) GetPrompts() []string {
749	if m != nil {
750		return m.Prompts
751	}
752	return nil
753}
754
755func (m *Intent_Parameter) GetIsList() bool {
756	if m != nil {
757		return m.IsList
758	}
759	return false
760}
761
762// Corresponds to the `Response` field in the Dialogflow console.
763type Intent_Message struct {
764	// Required. The rich response message.
765	//
766	// Types that are valid to be assigned to Message:
767	//	*Intent_Message_Text_
768	//	*Intent_Message_Image_
769	//	*Intent_Message_QuickReplies_
770	//	*Intent_Message_Card_
771	//	*Intent_Message_Payload
772	//	*Intent_Message_SimpleResponses_
773	//	*Intent_Message_BasicCard_
774	//	*Intent_Message_Suggestions_
775	//	*Intent_Message_LinkOutSuggestion_
776	//	*Intent_Message_ListSelect_
777	//	*Intent_Message_CarouselSelect_
778	Message isIntent_Message_Message `protobuf_oneof:"message"`
779	// Optional. The platform that this message is intended for.
780	Platform             Intent_Message_Platform `protobuf:"varint,6,opt,name=platform,proto3,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"platform,omitempty"`
781	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
782	XXX_unrecognized     []byte                  `json:"-"`
783	XXX_sizecache        int32                   `json:"-"`
784}
785
786func (m *Intent_Message) Reset()         { *m = Intent_Message{} }
787func (m *Intent_Message) String() string { return proto.CompactTextString(m) }
788func (*Intent_Message) ProtoMessage()    {}
789func (*Intent_Message) Descriptor() ([]byte, []int) {
790	return fileDescriptor_6c20e31044d743bd, []int{0, 2}
791}
792
793func (m *Intent_Message) XXX_Unmarshal(b []byte) error {
794	return xxx_messageInfo_Intent_Message.Unmarshal(m, b)
795}
796func (m *Intent_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
797	return xxx_messageInfo_Intent_Message.Marshal(b, m, deterministic)
798}
799func (m *Intent_Message) XXX_Merge(src proto.Message) {
800	xxx_messageInfo_Intent_Message.Merge(m, src)
801}
802func (m *Intent_Message) XXX_Size() int {
803	return xxx_messageInfo_Intent_Message.Size(m)
804}
805func (m *Intent_Message) XXX_DiscardUnknown() {
806	xxx_messageInfo_Intent_Message.DiscardUnknown(m)
807}
808
809var xxx_messageInfo_Intent_Message proto.InternalMessageInfo
810
811type isIntent_Message_Message interface {
812	isIntent_Message_Message()
813}
814
815type Intent_Message_Text_ struct {
816	Text *Intent_Message_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
817}
818
819type Intent_Message_Image_ struct {
820	Image *Intent_Message_Image `protobuf:"bytes,2,opt,name=image,proto3,oneof"`
821}
822
823type Intent_Message_QuickReplies_ struct {
824	QuickReplies *Intent_Message_QuickReplies `protobuf:"bytes,3,opt,name=quick_replies,json=quickReplies,proto3,oneof"`
825}
826
827type Intent_Message_Card_ struct {
828	Card *Intent_Message_Card `protobuf:"bytes,4,opt,name=card,proto3,oneof"`
829}
830
831type Intent_Message_Payload struct {
832	Payload *_struct.Struct `protobuf:"bytes,5,opt,name=payload,proto3,oneof"`
833}
834
835type Intent_Message_SimpleResponses_ struct {
836	SimpleResponses *Intent_Message_SimpleResponses `protobuf:"bytes,7,opt,name=simple_responses,json=simpleResponses,proto3,oneof"`
837}
838
839type Intent_Message_BasicCard_ struct {
840	BasicCard *Intent_Message_BasicCard `protobuf:"bytes,8,opt,name=basic_card,json=basicCard,proto3,oneof"`
841}
842
843type Intent_Message_Suggestions_ struct {
844	Suggestions *Intent_Message_Suggestions `protobuf:"bytes,9,opt,name=suggestions,proto3,oneof"`
845}
846
847type Intent_Message_LinkOutSuggestion_ struct {
848	LinkOutSuggestion *Intent_Message_LinkOutSuggestion `protobuf:"bytes,10,opt,name=link_out_suggestion,json=linkOutSuggestion,proto3,oneof"`
849}
850
851type Intent_Message_ListSelect_ struct {
852	ListSelect *Intent_Message_ListSelect `protobuf:"bytes,11,opt,name=list_select,json=listSelect,proto3,oneof"`
853}
854
855type Intent_Message_CarouselSelect_ struct {
856	CarouselSelect *Intent_Message_CarouselSelect `protobuf:"bytes,12,opt,name=carousel_select,json=carouselSelect,proto3,oneof"`
857}
858
859func (*Intent_Message_Text_) isIntent_Message_Message() {}
860
861func (*Intent_Message_Image_) isIntent_Message_Message() {}
862
863func (*Intent_Message_QuickReplies_) isIntent_Message_Message() {}
864
865func (*Intent_Message_Card_) isIntent_Message_Message() {}
866
867func (*Intent_Message_Payload) isIntent_Message_Message() {}
868
869func (*Intent_Message_SimpleResponses_) isIntent_Message_Message() {}
870
871func (*Intent_Message_BasicCard_) isIntent_Message_Message() {}
872
873func (*Intent_Message_Suggestions_) isIntent_Message_Message() {}
874
875func (*Intent_Message_LinkOutSuggestion_) isIntent_Message_Message() {}
876
877func (*Intent_Message_ListSelect_) isIntent_Message_Message() {}
878
879func (*Intent_Message_CarouselSelect_) isIntent_Message_Message() {}
880
881func (m *Intent_Message) GetMessage() isIntent_Message_Message {
882	if m != nil {
883		return m.Message
884	}
885	return nil
886}
887
888func (m *Intent_Message) GetText() *Intent_Message_Text {
889	if x, ok := m.GetMessage().(*Intent_Message_Text_); ok {
890		return x.Text
891	}
892	return nil
893}
894
895func (m *Intent_Message) GetImage() *Intent_Message_Image {
896	if x, ok := m.GetMessage().(*Intent_Message_Image_); ok {
897		return x.Image
898	}
899	return nil
900}
901
902func (m *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies {
903	if x, ok := m.GetMessage().(*Intent_Message_QuickReplies_); ok {
904		return x.QuickReplies
905	}
906	return nil
907}
908
909func (m *Intent_Message) GetCard() *Intent_Message_Card {
910	if x, ok := m.GetMessage().(*Intent_Message_Card_); ok {
911		return x.Card
912	}
913	return nil
914}
915
916func (m *Intent_Message) GetPayload() *_struct.Struct {
917	if x, ok := m.GetMessage().(*Intent_Message_Payload); ok {
918		return x.Payload
919	}
920	return nil
921}
922
923func (m *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses {
924	if x, ok := m.GetMessage().(*Intent_Message_SimpleResponses_); ok {
925		return x.SimpleResponses
926	}
927	return nil
928}
929
930func (m *Intent_Message) GetBasicCard() *Intent_Message_BasicCard {
931	if x, ok := m.GetMessage().(*Intent_Message_BasicCard_); ok {
932		return x.BasicCard
933	}
934	return nil
935}
936
937func (m *Intent_Message) GetSuggestions() *Intent_Message_Suggestions {
938	if x, ok := m.GetMessage().(*Intent_Message_Suggestions_); ok {
939		return x.Suggestions
940	}
941	return nil
942}
943
944func (m *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion {
945	if x, ok := m.GetMessage().(*Intent_Message_LinkOutSuggestion_); ok {
946		return x.LinkOutSuggestion
947	}
948	return nil
949}
950
951func (m *Intent_Message) GetListSelect() *Intent_Message_ListSelect {
952	if x, ok := m.GetMessage().(*Intent_Message_ListSelect_); ok {
953		return x.ListSelect
954	}
955	return nil
956}
957
958func (m *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect {
959	if x, ok := m.GetMessage().(*Intent_Message_CarouselSelect_); ok {
960		return x.CarouselSelect
961	}
962	return nil
963}
964
965func (m *Intent_Message) GetPlatform() Intent_Message_Platform {
966	if m != nil {
967		return m.Platform
968	}
969	return Intent_Message_PLATFORM_UNSPECIFIED
970}
971
972// XXX_OneofWrappers is for the internal use of the proto package.
973func (*Intent_Message) XXX_OneofWrappers() []interface{} {
974	return []interface{}{
975		(*Intent_Message_Text_)(nil),
976		(*Intent_Message_Image_)(nil),
977		(*Intent_Message_QuickReplies_)(nil),
978		(*Intent_Message_Card_)(nil),
979		(*Intent_Message_Payload)(nil),
980		(*Intent_Message_SimpleResponses_)(nil),
981		(*Intent_Message_BasicCard_)(nil),
982		(*Intent_Message_Suggestions_)(nil),
983		(*Intent_Message_LinkOutSuggestion_)(nil),
984		(*Intent_Message_ListSelect_)(nil),
985		(*Intent_Message_CarouselSelect_)(nil),
986	}
987}
988
989// The text response message.
990type Intent_Message_Text struct {
991	// Optional. The collection of the agent's responses.
992	Text                 []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"`
993	XXX_NoUnkeyedLiteral struct{} `json:"-"`
994	XXX_unrecognized     []byte   `json:"-"`
995	XXX_sizecache        int32    `json:"-"`
996}
997
998func (m *Intent_Message_Text) Reset()         { *m = Intent_Message_Text{} }
999func (m *Intent_Message_Text) String() string { return proto.CompactTextString(m) }
1000func (*Intent_Message_Text) ProtoMessage()    {}
1001func (*Intent_Message_Text) Descriptor() ([]byte, []int) {
1002	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 0}
1003}
1004
1005func (m *Intent_Message_Text) XXX_Unmarshal(b []byte) error {
1006	return xxx_messageInfo_Intent_Message_Text.Unmarshal(m, b)
1007}
1008func (m *Intent_Message_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1009	return xxx_messageInfo_Intent_Message_Text.Marshal(b, m, deterministic)
1010}
1011func (m *Intent_Message_Text) XXX_Merge(src proto.Message) {
1012	xxx_messageInfo_Intent_Message_Text.Merge(m, src)
1013}
1014func (m *Intent_Message_Text) XXX_Size() int {
1015	return xxx_messageInfo_Intent_Message_Text.Size(m)
1016}
1017func (m *Intent_Message_Text) XXX_DiscardUnknown() {
1018	xxx_messageInfo_Intent_Message_Text.DiscardUnknown(m)
1019}
1020
1021var xxx_messageInfo_Intent_Message_Text proto.InternalMessageInfo
1022
1023func (m *Intent_Message_Text) GetText() []string {
1024	if m != nil {
1025		return m.Text
1026	}
1027	return nil
1028}
1029
1030// The image response message.
1031type Intent_Message_Image struct {
1032	// Optional. The public URI to an image file.
1033	ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
1034	// Optional. A text description of the image to be used for accessibility,
1035	// e.g., screen readers.
1036	AccessibilityText    string   `protobuf:"bytes,2,opt,name=accessibility_text,json=accessibilityText,proto3" json:"accessibility_text,omitempty"`
1037	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1038	XXX_unrecognized     []byte   `json:"-"`
1039	XXX_sizecache        int32    `json:"-"`
1040}
1041
1042func (m *Intent_Message_Image) Reset()         { *m = Intent_Message_Image{} }
1043func (m *Intent_Message_Image) String() string { return proto.CompactTextString(m) }
1044func (*Intent_Message_Image) ProtoMessage()    {}
1045func (*Intent_Message_Image) Descriptor() ([]byte, []int) {
1046	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 1}
1047}
1048
1049func (m *Intent_Message_Image) XXX_Unmarshal(b []byte) error {
1050	return xxx_messageInfo_Intent_Message_Image.Unmarshal(m, b)
1051}
1052func (m *Intent_Message_Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1053	return xxx_messageInfo_Intent_Message_Image.Marshal(b, m, deterministic)
1054}
1055func (m *Intent_Message_Image) XXX_Merge(src proto.Message) {
1056	xxx_messageInfo_Intent_Message_Image.Merge(m, src)
1057}
1058func (m *Intent_Message_Image) XXX_Size() int {
1059	return xxx_messageInfo_Intent_Message_Image.Size(m)
1060}
1061func (m *Intent_Message_Image) XXX_DiscardUnknown() {
1062	xxx_messageInfo_Intent_Message_Image.DiscardUnknown(m)
1063}
1064
1065var xxx_messageInfo_Intent_Message_Image proto.InternalMessageInfo
1066
1067func (m *Intent_Message_Image) GetImageUri() string {
1068	if m != nil {
1069		return m.ImageUri
1070	}
1071	return ""
1072}
1073
1074func (m *Intent_Message_Image) GetAccessibilityText() string {
1075	if m != nil {
1076		return m.AccessibilityText
1077	}
1078	return ""
1079}
1080
1081// The quick replies response message.
1082type Intent_Message_QuickReplies struct {
1083	// Optional. The title of the collection of quick replies.
1084	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
1085	// Optional. The collection of quick replies.
1086	QuickReplies         []string `protobuf:"bytes,2,rep,name=quick_replies,json=quickReplies,proto3" json:"quick_replies,omitempty"`
1087	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1088	XXX_unrecognized     []byte   `json:"-"`
1089	XXX_sizecache        int32    `json:"-"`
1090}
1091
1092func (m *Intent_Message_QuickReplies) Reset()         { *m = Intent_Message_QuickReplies{} }
1093func (m *Intent_Message_QuickReplies) String() string { return proto.CompactTextString(m) }
1094func (*Intent_Message_QuickReplies) ProtoMessage()    {}
1095func (*Intent_Message_QuickReplies) Descriptor() ([]byte, []int) {
1096	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 2}
1097}
1098
1099func (m *Intent_Message_QuickReplies) XXX_Unmarshal(b []byte) error {
1100	return xxx_messageInfo_Intent_Message_QuickReplies.Unmarshal(m, b)
1101}
1102func (m *Intent_Message_QuickReplies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1103	return xxx_messageInfo_Intent_Message_QuickReplies.Marshal(b, m, deterministic)
1104}
1105func (m *Intent_Message_QuickReplies) XXX_Merge(src proto.Message) {
1106	xxx_messageInfo_Intent_Message_QuickReplies.Merge(m, src)
1107}
1108func (m *Intent_Message_QuickReplies) XXX_Size() int {
1109	return xxx_messageInfo_Intent_Message_QuickReplies.Size(m)
1110}
1111func (m *Intent_Message_QuickReplies) XXX_DiscardUnknown() {
1112	xxx_messageInfo_Intent_Message_QuickReplies.DiscardUnknown(m)
1113}
1114
1115var xxx_messageInfo_Intent_Message_QuickReplies proto.InternalMessageInfo
1116
1117func (m *Intent_Message_QuickReplies) GetTitle() string {
1118	if m != nil {
1119		return m.Title
1120	}
1121	return ""
1122}
1123
1124func (m *Intent_Message_QuickReplies) GetQuickReplies() []string {
1125	if m != nil {
1126		return m.QuickReplies
1127	}
1128	return nil
1129}
1130
1131// The card response message.
1132type Intent_Message_Card struct {
1133	// Optional. The title of the card.
1134	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
1135	// Optional. The subtitle of the card.
1136	Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
1137	// Optional. The public URI to an image file for the card.
1138	ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
1139	// Optional. The collection of card buttons.
1140	Buttons              []*Intent_Message_Card_Button `protobuf:"bytes,4,rep,name=buttons,proto3" json:"buttons,omitempty"`
1141	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
1142	XXX_unrecognized     []byte                        `json:"-"`
1143	XXX_sizecache        int32                         `json:"-"`
1144}
1145
1146func (m *Intent_Message_Card) Reset()         { *m = Intent_Message_Card{} }
1147func (m *Intent_Message_Card) String() string { return proto.CompactTextString(m) }
1148func (*Intent_Message_Card) ProtoMessage()    {}
1149func (*Intent_Message_Card) Descriptor() ([]byte, []int) {
1150	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 3}
1151}
1152
1153func (m *Intent_Message_Card) XXX_Unmarshal(b []byte) error {
1154	return xxx_messageInfo_Intent_Message_Card.Unmarshal(m, b)
1155}
1156func (m *Intent_Message_Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1157	return xxx_messageInfo_Intent_Message_Card.Marshal(b, m, deterministic)
1158}
1159func (m *Intent_Message_Card) XXX_Merge(src proto.Message) {
1160	xxx_messageInfo_Intent_Message_Card.Merge(m, src)
1161}
1162func (m *Intent_Message_Card) XXX_Size() int {
1163	return xxx_messageInfo_Intent_Message_Card.Size(m)
1164}
1165func (m *Intent_Message_Card) XXX_DiscardUnknown() {
1166	xxx_messageInfo_Intent_Message_Card.DiscardUnknown(m)
1167}
1168
1169var xxx_messageInfo_Intent_Message_Card proto.InternalMessageInfo
1170
1171func (m *Intent_Message_Card) GetTitle() string {
1172	if m != nil {
1173		return m.Title
1174	}
1175	return ""
1176}
1177
1178func (m *Intent_Message_Card) GetSubtitle() string {
1179	if m != nil {
1180		return m.Subtitle
1181	}
1182	return ""
1183}
1184
1185func (m *Intent_Message_Card) GetImageUri() string {
1186	if m != nil {
1187		return m.ImageUri
1188	}
1189	return ""
1190}
1191
1192func (m *Intent_Message_Card) GetButtons() []*Intent_Message_Card_Button {
1193	if m != nil {
1194		return m.Buttons
1195	}
1196	return nil
1197}
1198
1199// Optional. Contains information about a button.
1200type Intent_Message_Card_Button struct {
1201	// Optional. The text to show on the button.
1202	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
1203	// Optional. The text to send back to the Dialogflow API or a URI to
1204	// open.
1205	Postback             string   `protobuf:"bytes,2,opt,name=postback,proto3" json:"postback,omitempty"`
1206	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1207	XXX_unrecognized     []byte   `json:"-"`
1208	XXX_sizecache        int32    `json:"-"`
1209}
1210
1211func (m *Intent_Message_Card_Button) Reset()         { *m = Intent_Message_Card_Button{} }
1212func (m *Intent_Message_Card_Button) String() string { return proto.CompactTextString(m) }
1213func (*Intent_Message_Card_Button) ProtoMessage()    {}
1214func (*Intent_Message_Card_Button) Descriptor() ([]byte, []int) {
1215	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 3, 0}
1216}
1217
1218func (m *Intent_Message_Card_Button) XXX_Unmarshal(b []byte) error {
1219	return xxx_messageInfo_Intent_Message_Card_Button.Unmarshal(m, b)
1220}
1221func (m *Intent_Message_Card_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1222	return xxx_messageInfo_Intent_Message_Card_Button.Marshal(b, m, deterministic)
1223}
1224func (m *Intent_Message_Card_Button) XXX_Merge(src proto.Message) {
1225	xxx_messageInfo_Intent_Message_Card_Button.Merge(m, src)
1226}
1227func (m *Intent_Message_Card_Button) XXX_Size() int {
1228	return xxx_messageInfo_Intent_Message_Card_Button.Size(m)
1229}
1230func (m *Intent_Message_Card_Button) XXX_DiscardUnknown() {
1231	xxx_messageInfo_Intent_Message_Card_Button.DiscardUnknown(m)
1232}
1233
1234var xxx_messageInfo_Intent_Message_Card_Button proto.InternalMessageInfo
1235
1236func (m *Intent_Message_Card_Button) GetText() string {
1237	if m != nil {
1238		return m.Text
1239	}
1240	return ""
1241}
1242
1243func (m *Intent_Message_Card_Button) GetPostback() string {
1244	if m != nil {
1245		return m.Postback
1246	}
1247	return ""
1248}
1249
1250// The simple response message containing speech or text.
1251type Intent_Message_SimpleResponse struct {
1252	// One of text_to_speech or ssml must be provided. The plain text of the
1253	// speech output. Mutually exclusive with ssml.
1254	TextToSpeech string `protobuf:"bytes,1,opt,name=text_to_speech,json=textToSpeech,proto3" json:"text_to_speech,omitempty"`
1255	// One of text_to_speech or ssml must be provided. Structured spoken
1256	// response to the user in the SSML format. Mutually exclusive with
1257	// text_to_speech.
1258	Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3" json:"ssml,omitempty"`
1259	// Optional. The text to display.
1260	DisplayText          string   `protobuf:"bytes,3,opt,name=display_text,json=displayText,proto3" json:"display_text,omitempty"`
1261	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1262	XXX_unrecognized     []byte   `json:"-"`
1263	XXX_sizecache        int32    `json:"-"`
1264}
1265
1266func (m *Intent_Message_SimpleResponse) Reset()         { *m = Intent_Message_SimpleResponse{} }
1267func (m *Intent_Message_SimpleResponse) String() string { return proto.CompactTextString(m) }
1268func (*Intent_Message_SimpleResponse) ProtoMessage()    {}
1269func (*Intent_Message_SimpleResponse) Descriptor() ([]byte, []int) {
1270	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 4}
1271}
1272
1273func (m *Intent_Message_SimpleResponse) XXX_Unmarshal(b []byte) error {
1274	return xxx_messageInfo_Intent_Message_SimpleResponse.Unmarshal(m, b)
1275}
1276func (m *Intent_Message_SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1277	return xxx_messageInfo_Intent_Message_SimpleResponse.Marshal(b, m, deterministic)
1278}
1279func (m *Intent_Message_SimpleResponse) XXX_Merge(src proto.Message) {
1280	xxx_messageInfo_Intent_Message_SimpleResponse.Merge(m, src)
1281}
1282func (m *Intent_Message_SimpleResponse) XXX_Size() int {
1283	return xxx_messageInfo_Intent_Message_SimpleResponse.Size(m)
1284}
1285func (m *Intent_Message_SimpleResponse) XXX_DiscardUnknown() {
1286	xxx_messageInfo_Intent_Message_SimpleResponse.DiscardUnknown(m)
1287}
1288
1289var xxx_messageInfo_Intent_Message_SimpleResponse proto.InternalMessageInfo
1290
1291func (m *Intent_Message_SimpleResponse) GetTextToSpeech() string {
1292	if m != nil {
1293		return m.TextToSpeech
1294	}
1295	return ""
1296}
1297
1298func (m *Intent_Message_SimpleResponse) GetSsml() string {
1299	if m != nil {
1300		return m.Ssml
1301	}
1302	return ""
1303}
1304
1305func (m *Intent_Message_SimpleResponse) GetDisplayText() string {
1306	if m != nil {
1307		return m.DisplayText
1308	}
1309	return ""
1310}
1311
1312// The collection of simple response candidates.
1313// This message in `QueryResult.fulfillment_messages` and
1314// `WebhookResponse.fulfillment_messages` should contain only one
1315// `SimpleResponse`.
1316type Intent_Message_SimpleResponses struct {
1317	// Required. The list of simple responses.
1318	SimpleResponses      []*Intent_Message_SimpleResponse `protobuf:"bytes,1,rep,name=simple_responses,json=simpleResponses,proto3" json:"simple_responses,omitempty"`
1319	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
1320	XXX_unrecognized     []byte                           `json:"-"`
1321	XXX_sizecache        int32                            `json:"-"`
1322}
1323
1324func (m *Intent_Message_SimpleResponses) Reset()         { *m = Intent_Message_SimpleResponses{} }
1325func (m *Intent_Message_SimpleResponses) String() string { return proto.CompactTextString(m) }
1326func (*Intent_Message_SimpleResponses) ProtoMessage()    {}
1327func (*Intent_Message_SimpleResponses) Descriptor() ([]byte, []int) {
1328	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 5}
1329}
1330
1331func (m *Intent_Message_SimpleResponses) XXX_Unmarshal(b []byte) error {
1332	return xxx_messageInfo_Intent_Message_SimpleResponses.Unmarshal(m, b)
1333}
1334func (m *Intent_Message_SimpleResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1335	return xxx_messageInfo_Intent_Message_SimpleResponses.Marshal(b, m, deterministic)
1336}
1337func (m *Intent_Message_SimpleResponses) XXX_Merge(src proto.Message) {
1338	xxx_messageInfo_Intent_Message_SimpleResponses.Merge(m, src)
1339}
1340func (m *Intent_Message_SimpleResponses) XXX_Size() int {
1341	return xxx_messageInfo_Intent_Message_SimpleResponses.Size(m)
1342}
1343func (m *Intent_Message_SimpleResponses) XXX_DiscardUnknown() {
1344	xxx_messageInfo_Intent_Message_SimpleResponses.DiscardUnknown(m)
1345}
1346
1347var xxx_messageInfo_Intent_Message_SimpleResponses proto.InternalMessageInfo
1348
1349func (m *Intent_Message_SimpleResponses) GetSimpleResponses() []*Intent_Message_SimpleResponse {
1350	if m != nil {
1351		return m.SimpleResponses
1352	}
1353	return nil
1354}
1355
1356// The basic card message. Useful for displaying information.
1357type Intent_Message_BasicCard struct {
1358	// Optional. The title of the card.
1359	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
1360	// Optional. The subtitle of the card.
1361	Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
1362	// Required, unless image is present. The body text of the card.
1363	FormattedText string `protobuf:"bytes,3,opt,name=formatted_text,json=formattedText,proto3" json:"formatted_text,omitempty"`
1364	// Optional. The image for the card.
1365	Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
1366	// Optional. The collection of card buttons.
1367	Buttons              []*Intent_Message_BasicCard_Button `protobuf:"bytes,5,rep,name=buttons,proto3" json:"buttons,omitempty"`
1368	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
1369	XXX_unrecognized     []byte                             `json:"-"`
1370	XXX_sizecache        int32                              `json:"-"`
1371}
1372
1373func (m *Intent_Message_BasicCard) Reset()         { *m = Intent_Message_BasicCard{} }
1374func (m *Intent_Message_BasicCard) String() string { return proto.CompactTextString(m) }
1375func (*Intent_Message_BasicCard) ProtoMessage()    {}
1376func (*Intent_Message_BasicCard) Descriptor() ([]byte, []int) {
1377	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 6}
1378}
1379
1380func (m *Intent_Message_BasicCard) XXX_Unmarshal(b []byte) error {
1381	return xxx_messageInfo_Intent_Message_BasicCard.Unmarshal(m, b)
1382}
1383func (m *Intent_Message_BasicCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1384	return xxx_messageInfo_Intent_Message_BasicCard.Marshal(b, m, deterministic)
1385}
1386func (m *Intent_Message_BasicCard) XXX_Merge(src proto.Message) {
1387	xxx_messageInfo_Intent_Message_BasicCard.Merge(m, src)
1388}
1389func (m *Intent_Message_BasicCard) XXX_Size() int {
1390	return xxx_messageInfo_Intent_Message_BasicCard.Size(m)
1391}
1392func (m *Intent_Message_BasicCard) XXX_DiscardUnknown() {
1393	xxx_messageInfo_Intent_Message_BasicCard.DiscardUnknown(m)
1394}
1395
1396var xxx_messageInfo_Intent_Message_BasicCard proto.InternalMessageInfo
1397
1398func (m *Intent_Message_BasicCard) GetTitle() string {
1399	if m != nil {
1400		return m.Title
1401	}
1402	return ""
1403}
1404
1405func (m *Intent_Message_BasicCard) GetSubtitle() string {
1406	if m != nil {
1407		return m.Subtitle
1408	}
1409	return ""
1410}
1411
1412func (m *Intent_Message_BasicCard) GetFormattedText() string {
1413	if m != nil {
1414		return m.FormattedText
1415	}
1416	return ""
1417}
1418
1419func (m *Intent_Message_BasicCard) GetImage() *Intent_Message_Image {
1420	if m != nil {
1421		return m.Image
1422	}
1423	return nil
1424}
1425
1426func (m *Intent_Message_BasicCard) GetButtons() []*Intent_Message_BasicCard_Button {
1427	if m != nil {
1428		return m.Buttons
1429	}
1430	return nil
1431}
1432
1433// The button object that appears at the bottom of a card.
1434type Intent_Message_BasicCard_Button struct {
1435	// Required. The title of the button.
1436	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
1437	// Required. Action to take when a user taps on the button.
1438	OpenUriAction        *Intent_Message_BasicCard_Button_OpenUriAction `protobuf:"bytes,2,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"`
1439	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
1440	XXX_unrecognized     []byte                                         `json:"-"`
1441	XXX_sizecache        int32                                          `json:"-"`
1442}
1443
1444func (m *Intent_Message_BasicCard_Button) Reset()         { *m = Intent_Message_BasicCard_Button{} }
1445func (m *Intent_Message_BasicCard_Button) String() string { return proto.CompactTextString(m) }
1446func (*Intent_Message_BasicCard_Button) ProtoMessage()    {}
1447func (*Intent_Message_BasicCard_Button) Descriptor() ([]byte, []int) {
1448	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 6, 0}
1449}
1450
1451func (m *Intent_Message_BasicCard_Button) XXX_Unmarshal(b []byte) error {
1452	return xxx_messageInfo_Intent_Message_BasicCard_Button.Unmarshal(m, b)
1453}
1454func (m *Intent_Message_BasicCard_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1455	return xxx_messageInfo_Intent_Message_BasicCard_Button.Marshal(b, m, deterministic)
1456}
1457func (m *Intent_Message_BasicCard_Button) XXX_Merge(src proto.Message) {
1458	xxx_messageInfo_Intent_Message_BasicCard_Button.Merge(m, src)
1459}
1460func (m *Intent_Message_BasicCard_Button) XXX_Size() int {
1461	return xxx_messageInfo_Intent_Message_BasicCard_Button.Size(m)
1462}
1463func (m *Intent_Message_BasicCard_Button) XXX_DiscardUnknown() {
1464	xxx_messageInfo_Intent_Message_BasicCard_Button.DiscardUnknown(m)
1465}
1466
1467var xxx_messageInfo_Intent_Message_BasicCard_Button proto.InternalMessageInfo
1468
1469func (m *Intent_Message_BasicCard_Button) GetTitle() string {
1470	if m != nil {
1471		return m.Title
1472	}
1473	return ""
1474}
1475
1476func (m *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction {
1477	if m != nil {
1478		return m.OpenUriAction
1479	}
1480	return nil
1481}
1482
1483// Opens the given URI.
1484type Intent_Message_BasicCard_Button_OpenUriAction struct {
1485	// Required. The HTTP or HTTPS scheme URI.
1486	Uri                  string   `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
1487	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1488	XXX_unrecognized     []byte   `json:"-"`
1489	XXX_sizecache        int32    `json:"-"`
1490}
1491
1492func (m *Intent_Message_BasicCard_Button_OpenUriAction) Reset() {
1493	*m = Intent_Message_BasicCard_Button_OpenUriAction{}
1494}
1495func (m *Intent_Message_BasicCard_Button_OpenUriAction) String() string {
1496	return proto.CompactTextString(m)
1497}
1498func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage() {}
1499func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int) {
1500	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 6, 0, 0}
1501}
1502
1503func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Unmarshal(b []byte) error {
1504	return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Unmarshal(m, b)
1505}
1506func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1507	return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Marshal(b, m, deterministic)
1508}
1509func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Merge(src proto.Message) {
1510	xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Merge(m, src)
1511}
1512func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Size() int {
1513	return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Size(m)
1514}
1515func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_DiscardUnknown() {
1516	xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.DiscardUnknown(m)
1517}
1518
1519var xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction proto.InternalMessageInfo
1520
1521func (m *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string {
1522	if m != nil {
1523		return m.Uri
1524	}
1525	return ""
1526}
1527
1528// The suggestion chip message that the user can tap to quickly post a reply
1529// to the conversation.
1530type Intent_Message_Suggestion struct {
1531	// Required. The text shown the in the suggestion chip.
1532	Title                string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
1533	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1534	XXX_unrecognized     []byte   `json:"-"`
1535	XXX_sizecache        int32    `json:"-"`
1536}
1537
1538func (m *Intent_Message_Suggestion) Reset()         { *m = Intent_Message_Suggestion{} }
1539func (m *Intent_Message_Suggestion) String() string { return proto.CompactTextString(m) }
1540func (*Intent_Message_Suggestion) ProtoMessage()    {}
1541func (*Intent_Message_Suggestion) Descriptor() ([]byte, []int) {
1542	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 7}
1543}
1544
1545func (m *Intent_Message_Suggestion) XXX_Unmarshal(b []byte) error {
1546	return xxx_messageInfo_Intent_Message_Suggestion.Unmarshal(m, b)
1547}
1548func (m *Intent_Message_Suggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1549	return xxx_messageInfo_Intent_Message_Suggestion.Marshal(b, m, deterministic)
1550}
1551func (m *Intent_Message_Suggestion) XXX_Merge(src proto.Message) {
1552	xxx_messageInfo_Intent_Message_Suggestion.Merge(m, src)
1553}
1554func (m *Intent_Message_Suggestion) XXX_Size() int {
1555	return xxx_messageInfo_Intent_Message_Suggestion.Size(m)
1556}
1557func (m *Intent_Message_Suggestion) XXX_DiscardUnknown() {
1558	xxx_messageInfo_Intent_Message_Suggestion.DiscardUnknown(m)
1559}
1560
1561var xxx_messageInfo_Intent_Message_Suggestion proto.InternalMessageInfo
1562
1563func (m *Intent_Message_Suggestion) GetTitle() string {
1564	if m != nil {
1565		return m.Title
1566	}
1567	return ""
1568}
1569
1570// The collection of suggestions.
1571type Intent_Message_Suggestions struct {
1572	// Required. The list of suggested replies.
1573	Suggestions          []*Intent_Message_Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
1574	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
1575	XXX_unrecognized     []byte                       `json:"-"`
1576	XXX_sizecache        int32                        `json:"-"`
1577}
1578
1579func (m *Intent_Message_Suggestions) Reset()         { *m = Intent_Message_Suggestions{} }
1580func (m *Intent_Message_Suggestions) String() string { return proto.CompactTextString(m) }
1581func (*Intent_Message_Suggestions) ProtoMessage()    {}
1582func (*Intent_Message_Suggestions) Descriptor() ([]byte, []int) {
1583	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 8}
1584}
1585
1586func (m *Intent_Message_Suggestions) XXX_Unmarshal(b []byte) error {
1587	return xxx_messageInfo_Intent_Message_Suggestions.Unmarshal(m, b)
1588}
1589func (m *Intent_Message_Suggestions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1590	return xxx_messageInfo_Intent_Message_Suggestions.Marshal(b, m, deterministic)
1591}
1592func (m *Intent_Message_Suggestions) XXX_Merge(src proto.Message) {
1593	xxx_messageInfo_Intent_Message_Suggestions.Merge(m, src)
1594}
1595func (m *Intent_Message_Suggestions) XXX_Size() int {
1596	return xxx_messageInfo_Intent_Message_Suggestions.Size(m)
1597}
1598func (m *Intent_Message_Suggestions) XXX_DiscardUnknown() {
1599	xxx_messageInfo_Intent_Message_Suggestions.DiscardUnknown(m)
1600}
1601
1602var xxx_messageInfo_Intent_Message_Suggestions proto.InternalMessageInfo
1603
1604func (m *Intent_Message_Suggestions) GetSuggestions() []*Intent_Message_Suggestion {
1605	if m != nil {
1606		return m.Suggestions
1607	}
1608	return nil
1609}
1610
1611// The suggestion chip message that allows the user to jump out to the app
1612// or website associated with this agent.
1613type Intent_Message_LinkOutSuggestion struct {
1614	// Required. The name of the app or site this chip is linking to.
1615	DestinationName string `protobuf:"bytes,1,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"`
1616	// Required. The URI of the app or site to open when the user taps the
1617	// suggestion chip.
1618	Uri                  string   `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
1619	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1620	XXX_unrecognized     []byte   `json:"-"`
1621	XXX_sizecache        int32    `json:"-"`
1622}
1623
1624func (m *Intent_Message_LinkOutSuggestion) Reset()         { *m = Intent_Message_LinkOutSuggestion{} }
1625func (m *Intent_Message_LinkOutSuggestion) String() string { return proto.CompactTextString(m) }
1626func (*Intent_Message_LinkOutSuggestion) ProtoMessage()    {}
1627func (*Intent_Message_LinkOutSuggestion) Descriptor() ([]byte, []int) {
1628	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 9}
1629}
1630
1631func (m *Intent_Message_LinkOutSuggestion) XXX_Unmarshal(b []byte) error {
1632	return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Unmarshal(m, b)
1633}
1634func (m *Intent_Message_LinkOutSuggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1635	return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Marshal(b, m, deterministic)
1636}
1637func (m *Intent_Message_LinkOutSuggestion) XXX_Merge(src proto.Message) {
1638	xxx_messageInfo_Intent_Message_LinkOutSuggestion.Merge(m, src)
1639}
1640func (m *Intent_Message_LinkOutSuggestion) XXX_Size() int {
1641	return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Size(m)
1642}
1643func (m *Intent_Message_LinkOutSuggestion) XXX_DiscardUnknown() {
1644	xxx_messageInfo_Intent_Message_LinkOutSuggestion.DiscardUnknown(m)
1645}
1646
1647var xxx_messageInfo_Intent_Message_LinkOutSuggestion proto.InternalMessageInfo
1648
1649func (m *Intent_Message_LinkOutSuggestion) GetDestinationName() string {
1650	if m != nil {
1651		return m.DestinationName
1652	}
1653	return ""
1654}
1655
1656func (m *Intent_Message_LinkOutSuggestion) GetUri() string {
1657	if m != nil {
1658		return m.Uri
1659	}
1660	return ""
1661}
1662
1663// The card for presenting a list of options to select from.
1664type Intent_Message_ListSelect struct {
1665	// Optional. The overall title of the list.
1666	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
1667	// Required. List items.
1668	Items                []*Intent_Message_ListSelect_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
1669	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
1670	XXX_unrecognized     []byte                            `json:"-"`
1671	XXX_sizecache        int32                             `json:"-"`
1672}
1673
1674func (m *Intent_Message_ListSelect) Reset()         { *m = Intent_Message_ListSelect{} }
1675func (m *Intent_Message_ListSelect) String() string { return proto.CompactTextString(m) }
1676func (*Intent_Message_ListSelect) ProtoMessage()    {}
1677func (*Intent_Message_ListSelect) Descriptor() ([]byte, []int) {
1678	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 10}
1679}
1680
1681func (m *Intent_Message_ListSelect) XXX_Unmarshal(b []byte) error {
1682	return xxx_messageInfo_Intent_Message_ListSelect.Unmarshal(m, b)
1683}
1684func (m *Intent_Message_ListSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1685	return xxx_messageInfo_Intent_Message_ListSelect.Marshal(b, m, deterministic)
1686}
1687func (m *Intent_Message_ListSelect) XXX_Merge(src proto.Message) {
1688	xxx_messageInfo_Intent_Message_ListSelect.Merge(m, src)
1689}
1690func (m *Intent_Message_ListSelect) XXX_Size() int {
1691	return xxx_messageInfo_Intent_Message_ListSelect.Size(m)
1692}
1693func (m *Intent_Message_ListSelect) XXX_DiscardUnknown() {
1694	xxx_messageInfo_Intent_Message_ListSelect.DiscardUnknown(m)
1695}
1696
1697var xxx_messageInfo_Intent_Message_ListSelect proto.InternalMessageInfo
1698
1699func (m *Intent_Message_ListSelect) GetTitle() string {
1700	if m != nil {
1701		return m.Title
1702	}
1703	return ""
1704}
1705
1706func (m *Intent_Message_ListSelect) GetItems() []*Intent_Message_ListSelect_Item {
1707	if m != nil {
1708		return m.Items
1709	}
1710	return nil
1711}
1712
1713// An item in the list.
1714type Intent_Message_ListSelect_Item struct {
1715	// Required. Additional information about this option.
1716	Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
1717	// Required. The title of the list item.
1718	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
1719	// Optional. The main text describing the item.
1720	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
1721	// Optional. The image to display.
1722	Image                *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
1723	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
1724	XXX_unrecognized     []byte                `json:"-"`
1725	XXX_sizecache        int32                 `json:"-"`
1726}
1727
1728func (m *Intent_Message_ListSelect_Item) Reset()         { *m = Intent_Message_ListSelect_Item{} }
1729func (m *Intent_Message_ListSelect_Item) String() string { return proto.CompactTextString(m) }
1730func (*Intent_Message_ListSelect_Item) ProtoMessage()    {}
1731func (*Intent_Message_ListSelect_Item) Descriptor() ([]byte, []int) {
1732	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 10, 0}
1733}
1734
1735func (m *Intent_Message_ListSelect_Item) XXX_Unmarshal(b []byte) error {
1736	return xxx_messageInfo_Intent_Message_ListSelect_Item.Unmarshal(m, b)
1737}
1738func (m *Intent_Message_ListSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1739	return xxx_messageInfo_Intent_Message_ListSelect_Item.Marshal(b, m, deterministic)
1740}
1741func (m *Intent_Message_ListSelect_Item) XXX_Merge(src proto.Message) {
1742	xxx_messageInfo_Intent_Message_ListSelect_Item.Merge(m, src)
1743}
1744func (m *Intent_Message_ListSelect_Item) XXX_Size() int {
1745	return xxx_messageInfo_Intent_Message_ListSelect_Item.Size(m)
1746}
1747func (m *Intent_Message_ListSelect_Item) XXX_DiscardUnknown() {
1748	xxx_messageInfo_Intent_Message_ListSelect_Item.DiscardUnknown(m)
1749}
1750
1751var xxx_messageInfo_Intent_Message_ListSelect_Item proto.InternalMessageInfo
1752
1753func (m *Intent_Message_ListSelect_Item) GetInfo() *Intent_Message_SelectItemInfo {
1754	if m != nil {
1755		return m.Info
1756	}
1757	return nil
1758}
1759
1760func (m *Intent_Message_ListSelect_Item) GetTitle() string {
1761	if m != nil {
1762		return m.Title
1763	}
1764	return ""
1765}
1766
1767func (m *Intent_Message_ListSelect_Item) GetDescription() string {
1768	if m != nil {
1769		return m.Description
1770	}
1771	return ""
1772}
1773
1774func (m *Intent_Message_ListSelect_Item) GetImage() *Intent_Message_Image {
1775	if m != nil {
1776		return m.Image
1777	}
1778	return nil
1779}
1780
1781// The card for presenting a carousel of options to select from.
1782type Intent_Message_CarouselSelect struct {
1783	// Required. Carousel items.
1784	Items                []*Intent_Message_CarouselSelect_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
1785	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
1786	XXX_unrecognized     []byte                                `json:"-"`
1787	XXX_sizecache        int32                                 `json:"-"`
1788}
1789
1790func (m *Intent_Message_CarouselSelect) Reset()         { *m = Intent_Message_CarouselSelect{} }
1791func (m *Intent_Message_CarouselSelect) String() string { return proto.CompactTextString(m) }
1792func (*Intent_Message_CarouselSelect) ProtoMessage()    {}
1793func (*Intent_Message_CarouselSelect) Descriptor() ([]byte, []int) {
1794	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 11}
1795}
1796
1797func (m *Intent_Message_CarouselSelect) XXX_Unmarshal(b []byte) error {
1798	return xxx_messageInfo_Intent_Message_CarouselSelect.Unmarshal(m, b)
1799}
1800func (m *Intent_Message_CarouselSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1801	return xxx_messageInfo_Intent_Message_CarouselSelect.Marshal(b, m, deterministic)
1802}
1803func (m *Intent_Message_CarouselSelect) XXX_Merge(src proto.Message) {
1804	xxx_messageInfo_Intent_Message_CarouselSelect.Merge(m, src)
1805}
1806func (m *Intent_Message_CarouselSelect) XXX_Size() int {
1807	return xxx_messageInfo_Intent_Message_CarouselSelect.Size(m)
1808}
1809func (m *Intent_Message_CarouselSelect) XXX_DiscardUnknown() {
1810	xxx_messageInfo_Intent_Message_CarouselSelect.DiscardUnknown(m)
1811}
1812
1813var xxx_messageInfo_Intent_Message_CarouselSelect proto.InternalMessageInfo
1814
1815func (m *Intent_Message_CarouselSelect) GetItems() []*Intent_Message_CarouselSelect_Item {
1816	if m != nil {
1817		return m.Items
1818	}
1819	return nil
1820}
1821
1822// An item in the carousel.
1823type Intent_Message_CarouselSelect_Item struct {
1824	// Required. Additional info about the option item.
1825	Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
1826	// Required. Title of the carousel item.
1827	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
1828	// Optional. The body text of the card.
1829	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
1830	// Optional. The image to display.
1831	Image                *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
1832	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
1833	XXX_unrecognized     []byte                `json:"-"`
1834	XXX_sizecache        int32                 `json:"-"`
1835}
1836
1837func (m *Intent_Message_CarouselSelect_Item) Reset()         { *m = Intent_Message_CarouselSelect_Item{} }
1838func (m *Intent_Message_CarouselSelect_Item) String() string { return proto.CompactTextString(m) }
1839func (*Intent_Message_CarouselSelect_Item) ProtoMessage()    {}
1840func (*Intent_Message_CarouselSelect_Item) Descriptor() ([]byte, []int) {
1841	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 11, 0}
1842}
1843
1844func (m *Intent_Message_CarouselSelect_Item) XXX_Unmarshal(b []byte) error {
1845	return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Unmarshal(m, b)
1846}
1847func (m *Intent_Message_CarouselSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1848	return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Marshal(b, m, deterministic)
1849}
1850func (m *Intent_Message_CarouselSelect_Item) XXX_Merge(src proto.Message) {
1851	xxx_messageInfo_Intent_Message_CarouselSelect_Item.Merge(m, src)
1852}
1853func (m *Intent_Message_CarouselSelect_Item) XXX_Size() int {
1854	return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Size(m)
1855}
1856func (m *Intent_Message_CarouselSelect_Item) XXX_DiscardUnknown() {
1857	xxx_messageInfo_Intent_Message_CarouselSelect_Item.DiscardUnknown(m)
1858}
1859
1860var xxx_messageInfo_Intent_Message_CarouselSelect_Item proto.InternalMessageInfo
1861
1862func (m *Intent_Message_CarouselSelect_Item) GetInfo() *Intent_Message_SelectItemInfo {
1863	if m != nil {
1864		return m.Info
1865	}
1866	return nil
1867}
1868
1869func (m *Intent_Message_CarouselSelect_Item) GetTitle() string {
1870	if m != nil {
1871		return m.Title
1872	}
1873	return ""
1874}
1875
1876func (m *Intent_Message_CarouselSelect_Item) GetDescription() string {
1877	if m != nil {
1878		return m.Description
1879	}
1880	return ""
1881}
1882
1883func (m *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image {
1884	if m != nil {
1885		return m.Image
1886	}
1887	return nil
1888}
1889
1890// Additional info about the select item for when it is triggered in a
1891// dialog.
1892type Intent_Message_SelectItemInfo struct {
1893	// Required. A unique key that will be sent back to the agent if this
1894	// response is given.
1895	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
1896	// Optional. A list of synonyms that can also be used to trigger this
1897	// item in dialog.
1898	Synonyms             []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"`
1899	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1900	XXX_unrecognized     []byte   `json:"-"`
1901	XXX_sizecache        int32    `json:"-"`
1902}
1903
1904func (m *Intent_Message_SelectItemInfo) Reset()         { *m = Intent_Message_SelectItemInfo{} }
1905func (m *Intent_Message_SelectItemInfo) String() string { return proto.CompactTextString(m) }
1906func (*Intent_Message_SelectItemInfo) ProtoMessage()    {}
1907func (*Intent_Message_SelectItemInfo) Descriptor() ([]byte, []int) {
1908	return fileDescriptor_6c20e31044d743bd, []int{0, 2, 12}
1909}
1910
1911func (m *Intent_Message_SelectItemInfo) XXX_Unmarshal(b []byte) error {
1912	return xxx_messageInfo_Intent_Message_SelectItemInfo.Unmarshal(m, b)
1913}
1914func (m *Intent_Message_SelectItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1915	return xxx_messageInfo_Intent_Message_SelectItemInfo.Marshal(b, m, deterministic)
1916}
1917func (m *Intent_Message_SelectItemInfo) XXX_Merge(src proto.Message) {
1918	xxx_messageInfo_Intent_Message_SelectItemInfo.Merge(m, src)
1919}
1920func (m *Intent_Message_SelectItemInfo) XXX_Size() int {
1921	return xxx_messageInfo_Intent_Message_SelectItemInfo.Size(m)
1922}
1923func (m *Intent_Message_SelectItemInfo) XXX_DiscardUnknown() {
1924	xxx_messageInfo_Intent_Message_SelectItemInfo.DiscardUnknown(m)
1925}
1926
1927var xxx_messageInfo_Intent_Message_SelectItemInfo proto.InternalMessageInfo
1928
1929func (m *Intent_Message_SelectItemInfo) GetKey() string {
1930	if m != nil {
1931		return m.Key
1932	}
1933	return ""
1934}
1935
1936func (m *Intent_Message_SelectItemInfo) GetSynonyms() []string {
1937	if m != nil {
1938		return m.Synonyms
1939	}
1940	return nil
1941}
1942
1943// Represents a single followup intent in the chain.
1944type Intent_FollowupIntentInfo struct {
1945	// The unique identifier of the followup intent.
1946	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
1947	FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName,proto3" json:"followup_intent_name,omitempty"`
1948	// The unique identifier of the followup intent's parent.
1949	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
1950	ParentFollowupIntentName string   `protobuf:"bytes,2,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"`
1951	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
1952	XXX_unrecognized         []byte   `json:"-"`
1953	XXX_sizecache            int32    `json:"-"`
1954}
1955
1956func (m *Intent_FollowupIntentInfo) Reset()         { *m = Intent_FollowupIntentInfo{} }
1957func (m *Intent_FollowupIntentInfo) String() string { return proto.CompactTextString(m) }
1958func (*Intent_FollowupIntentInfo) ProtoMessage()    {}
1959func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int) {
1960	return fileDescriptor_6c20e31044d743bd, []int{0, 3}
1961}
1962
1963func (m *Intent_FollowupIntentInfo) XXX_Unmarshal(b []byte) error {
1964	return xxx_messageInfo_Intent_FollowupIntentInfo.Unmarshal(m, b)
1965}
1966func (m *Intent_FollowupIntentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1967	return xxx_messageInfo_Intent_FollowupIntentInfo.Marshal(b, m, deterministic)
1968}
1969func (m *Intent_FollowupIntentInfo) XXX_Merge(src proto.Message) {
1970	xxx_messageInfo_Intent_FollowupIntentInfo.Merge(m, src)
1971}
1972func (m *Intent_FollowupIntentInfo) XXX_Size() int {
1973	return xxx_messageInfo_Intent_FollowupIntentInfo.Size(m)
1974}
1975func (m *Intent_FollowupIntentInfo) XXX_DiscardUnknown() {
1976	xxx_messageInfo_Intent_FollowupIntentInfo.DiscardUnknown(m)
1977}
1978
1979var xxx_messageInfo_Intent_FollowupIntentInfo proto.InternalMessageInfo
1980
1981func (m *Intent_FollowupIntentInfo) GetFollowupIntentName() string {
1982	if m != nil {
1983		return m.FollowupIntentName
1984	}
1985	return ""
1986}
1987
1988func (m *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string {
1989	if m != nil {
1990		return m.ParentFollowupIntentName
1991	}
1992	return ""
1993}
1994
1995// The request message for [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents].
1996type ListIntentsRequest struct {
1997	// Required. The agent to list all intents from.
1998	// Format: `projects/<Project ID>/agent`.
1999	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
2000	// Optional. The language to list training phrases, parameters and rich
2001	// messages for. If not specified, the agent's default language is used.
2002	// [Many
2003	// languages](https://cloud.google.com/dialogflow/docs/reference/language)
2004	// are supported. Note: languages must be enabled in the agent before they can
2005	// be used.
2006	LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
2007	// Optional. The resource view to apply to the returned intent.
2008	IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"`
2009	// Optional. The maximum number of items to return in a single page. By
2010	// default 100 and at most 1000.
2011	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
2012	// Optional. The next_page_token value returned from a previous list request.
2013	PageToken            string   `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
2014	XXX_NoUnkeyedLiteral struct{} `json:"-"`
2015	XXX_unrecognized     []byte   `json:"-"`
2016	XXX_sizecache        int32    `json:"-"`
2017}
2018
2019func (m *ListIntentsRequest) Reset()         { *m = ListIntentsRequest{} }
2020func (m *ListIntentsRequest) String() string { return proto.CompactTextString(m) }
2021func (*ListIntentsRequest) ProtoMessage()    {}
2022func (*ListIntentsRequest) Descriptor() ([]byte, []int) {
2023	return fileDescriptor_6c20e31044d743bd, []int{1}
2024}
2025
2026func (m *ListIntentsRequest) XXX_Unmarshal(b []byte) error {
2027	return xxx_messageInfo_ListIntentsRequest.Unmarshal(m, b)
2028}
2029func (m *ListIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2030	return xxx_messageInfo_ListIntentsRequest.Marshal(b, m, deterministic)
2031}
2032func (m *ListIntentsRequest) XXX_Merge(src proto.Message) {
2033	xxx_messageInfo_ListIntentsRequest.Merge(m, src)
2034}
2035func (m *ListIntentsRequest) XXX_Size() int {
2036	return xxx_messageInfo_ListIntentsRequest.Size(m)
2037}
2038func (m *ListIntentsRequest) XXX_DiscardUnknown() {
2039	xxx_messageInfo_ListIntentsRequest.DiscardUnknown(m)
2040}
2041
2042var xxx_messageInfo_ListIntentsRequest proto.InternalMessageInfo
2043
2044func (m *ListIntentsRequest) GetParent() string {
2045	if m != nil {
2046		return m.Parent
2047	}
2048	return ""
2049}
2050
2051func (m *ListIntentsRequest) GetLanguageCode() string {
2052	if m != nil {
2053		return m.LanguageCode
2054	}
2055	return ""
2056}
2057
2058func (m *ListIntentsRequest) GetIntentView() IntentView {
2059	if m != nil {
2060		return m.IntentView
2061	}
2062	return IntentView_INTENT_VIEW_UNSPECIFIED
2063}
2064
2065func (m *ListIntentsRequest) GetPageSize() int32 {
2066	if m != nil {
2067		return m.PageSize
2068	}
2069	return 0
2070}
2071
2072func (m *ListIntentsRequest) GetPageToken() string {
2073	if m != nil {
2074		return m.PageToken
2075	}
2076	return ""
2077}
2078
2079// The response message for [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents].
2080type ListIntentsResponse struct {
2081	// The list of agent intents. There will be a maximum number of items
2082	// returned based on the page_size field in the request.
2083	Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"`
2084	// Token to retrieve the next page of results, or empty if there are no
2085	// more results in the list.
2086	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
2087	XXX_NoUnkeyedLiteral struct{} `json:"-"`
2088	XXX_unrecognized     []byte   `json:"-"`
2089	XXX_sizecache        int32    `json:"-"`
2090}
2091
2092func (m *ListIntentsResponse) Reset()         { *m = ListIntentsResponse{} }
2093func (m *ListIntentsResponse) String() string { return proto.CompactTextString(m) }
2094func (*ListIntentsResponse) ProtoMessage()    {}
2095func (*ListIntentsResponse) Descriptor() ([]byte, []int) {
2096	return fileDescriptor_6c20e31044d743bd, []int{2}
2097}
2098
2099func (m *ListIntentsResponse) XXX_Unmarshal(b []byte) error {
2100	return xxx_messageInfo_ListIntentsResponse.Unmarshal(m, b)
2101}
2102func (m *ListIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2103	return xxx_messageInfo_ListIntentsResponse.Marshal(b, m, deterministic)
2104}
2105func (m *ListIntentsResponse) XXX_Merge(src proto.Message) {
2106	xxx_messageInfo_ListIntentsResponse.Merge(m, src)
2107}
2108func (m *ListIntentsResponse) XXX_Size() int {
2109	return xxx_messageInfo_ListIntentsResponse.Size(m)
2110}
2111func (m *ListIntentsResponse) XXX_DiscardUnknown() {
2112	xxx_messageInfo_ListIntentsResponse.DiscardUnknown(m)
2113}
2114
2115var xxx_messageInfo_ListIntentsResponse proto.InternalMessageInfo
2116
2117func (m *ListIntentsResponse) GetIntents() []*Intent {
2118	if m != nil {
2119		return m.Intents
2120	}
2121	return nil
2122}
2123
2124func (m *ListIntentsResponse) GetNextPageToken() string {
2125	if m != nil {
2126		return m.NextPageToken
2127	}
2128	return ""
2129}
2130
2131// The request message for [Intents.GetIntent][google.cloud.dialogflow.v2.Intents.GetIntent].
2132type GetIntentRequest struct {
2133	// Required. The name of the intent.
2134	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
2135	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
2136	// Optional. The language to retrieve training phrases, parameters and rich
2137	// messages for. If not specified, the agent's default language is used.
2138	// [Many
2139	// languages](https://cloud.google.com/dialogflow/docs/reference/language)
2140	// are supported. Note: languages must be enabled in the agent before they can
2141	// be used.
2142	LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
2143	// Optional. The resource view to apply to the returned intent.
2144	IntentView           IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"`
2145	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
2146	XXX_unrecognized     []byte     `json:"-"`
2147	XXX_sizecache        int32      `json:"-"`
2148}
2149
2150func (m *GetIntentRequest) Reset()         { *m = GetIntentRequest{} }
2151func (m *GetIntentRequest) String() string { return proto.CompactTextString(m) }
2152func (*GetIntentRequest) ProtoMessage()    {}
2153func (*GetIntentRequest) Descriptor() ([]byte, []int) {
2154	return fileDescriptor_6c20e31044d743bd, []int{3}
2155}
2156
2157func (m *GetIntentRequest) XXX_Unmarshal(b []byte) error {
2158	return xxx_messageInfo_GetIntentRequest.Unmarshal(m, b)
2159}
2160func (m *GetIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2161	return xxx_messageInfo_GetIntentRequest.Marshal(b, m, deterministic)
2162}
2163func (m *GetIntentRequest) XXX_Merge(src proto.Message) {
2164	xxx_messageInfo_GetIntentRequest.Merge(m, src)
2165}
2166func (m *GetIntentRequest) XXX_Size() int {
2167	return xxx_messageInfo_GetIntentRequest.Size(m)
2168}
2169func (m *GetIntentRequest) XXX_DiscardUnknown() {
2170	xxx_messageInfo_GetIntentRequest.DiscardUnknown(m)
2171}
2172
2173var xxx_messageInfo_GetIntentRequest proto.InternalMessageInfo
2174
2175func (m *GetIntentRequest) GetName() string {
2176	if m != nil {
2177		return m.Name
2178	}
2179	return ""
2180}
2181
2182func (m *GetIntentRequest) GetLanguageCode() string {
2183	if m != nil {
2184		return m.LanguageCode
2185	}
2186	return ""
2187}
2188
2189func (m *GetIntentRequest) GetIntentView() IntentView {
2190	if m != nil {
2191		return m.IntentView
2192	}
2193	return IntentView_INTENT_VIEW_UNSPECIFIED
2194}
2195
2196// The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent].
2197type CreateIntentRequest struct {
2198	// Required. The agent to create a intent for.
2199	// Format: `projects/<Project ID>/agent`.
2200	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
2201	// Required. The intent to create.
2202	Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
2203	// Optional. The language of training phrases, parameters and rich messages
2204	// defined in `intent`. If not specified, the agent's default language is
2205	// used. [Many
2206	// languages](https://cloud.google.com/dialogflow/docs/reference/language)
2207	// are supported. Note: languages must be enabled in the agent before they can
2208	// be used.
2209	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
2210	// Optional. The resource view to apply to the returned intent.
2211	IntentView           IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"`
2212	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
2213	XXX_unrecognized     []byte     `json:"-"`
2214	XXX_sizecache        int32      `json:"-"`
2215}
2216
2217func (m *CreateIntentRequest) Reset()         { *m = CreateIntentRequest{} }
2218func (m *CreateIntentRequest) String() string { return proto.CompactTextString(m) }
2219func (*CreateIntentRequest) ProtoMessage()    {}
2220func (*CreateIntentRequest) Descriptor() ([]byte, []int) {
2221	return fileDescriptor_6c20e31044d743bd, []int{4}
2222}
2223
2224func (m *CreateIntentRequest) XXX_Unmarshal(b []byte) error {
2225	return xxx_messageInfo_CreateIntentRequest.Unmarshal(m, b)
2226}
2227func (m *CreateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2228	return xxx_messageInfo_CreateIntentRequest.Marshal(b, m, deterministic)
2229}
2230func (m *CreateIntentRequest) XXX_Merge(src proto.Message) {
2231	xxx_messageInfo_CreateIntentRequest.Merge(m, src)
2232}
2233func (m *CreateIntentRequest) XXX_Size() int {
2234	return xxx_messageInfo_CreateIntentRequest.Size(m)
2235}
2236func (m *CreateIntentRequest) XXX_DiscardUnknown() {
2237	xxx_messageInfo_CreateIntentRequest.DiscardUnknown(m)
2238}
2239
2240var xxx_messageInfo_CreateIntentRequest proto.InternalMessageInfo
2241
2242func (m *CreateIntentRequest) GetParent() string {
2243	if m != nil {
2244		return m.Parent
2245	}
2246	return ""
2247}
2248
2249func (m *CreateIntentRequest) GetIntent() *Intent {
2250	if m != nil {
2251		return m.Intent
2252	}
2253	return nil
2254}
2255
2256func (m *CreateIntentRequest) GetLanguageCode() string {
2257	if m != nil {
2258		return m.LanguageCode
2259	}
2260	return ""
2261}
2262
2263func (m *CreateIntentRequest) GetIntentView() IntentView {
2264	if m != nil {
2265		return m.IntentView
2266	}
2267	return IntentView_INTENT_VIEW_UNSPECIFIED
2268}
2269
2270// The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent].
2271type UpdateIntentRequest struct {
2272	// Required. The intent to update.
2273	Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
2274	// Optional. The language of training phrases, parameters and rich messages
2275	// defined in `intent`. If not specified, the agent's default language is
2276	// used. [Many
2277	// languages](https://cloud.google.com/dialogflow/docs/reference/language)
2278	// are supported. Note: languages must be enabled in the agent before they can
2279	// be used.
2280	LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
2281	// Optional. The mask to control which fields get updated.
2282	UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
2283	// Optional. The resource view to apply to the returned intent.
2284	IntentView           IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"`
2285	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
2286	XXX_unrecognized     []byte     `json:"-"`
2287	XXX_sizecache        int32      `json:"-"`
2288}
2289
2290func (m *UpdateIntentRequest) Reset()         { *m = UpdateIntentRequest{} }
2291func (m *UpdateIntentRequest) String() string { return proto.CompactTextString(m) }
2292func (*UpdateIntentRequest) ProtoMessage()    {}
2293func (*UpdateIntentRequest) Descriptor() ([]byte, []int) {
2294	return fileDescriptor_6c20e31044d743bd, []int{5}
2295}
2296
2297func (m *UpdateIntentRequest) XXX_Unmarshal(b []byte) error {
2298	return xxx_messageInfo_UpdateIntentRequest.Unmarshal(m, b)
2299}
2300func (m *UpdateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2301	return xxx_messageInfo_UpdateIntentRequest.Marshal(b, m, deterministic)
2302}
2303func (m *UpdateIntentRequest) XXX_Merge(src proto.Message) {
2304	xxx_messageInfo_UpdateIntentRequest.Merge(m, src)
2305}
2306func (m *UpdateIntentRequest) XXX_Size() int {
2307	return xxx_messageInfo_UpdateIntentRequest.Size(m)
2308}
2309func (m *UpdateIntentRequest) XXX_DiscardUnknown() {
2310	xxx_messageInfo_UpdateIntentRequest.DiscardUnknown(m)
2311}
2312
2313var xxx_messageInfo_UpdateIntentRequest proto.InternalMessageInfo
2314
2315func (m *UpdateIntentRequest) GetIntent() *Intent {
2316	if m != nil {
2317		return m.Intent
2318	}
2319	return nil
2320}
2321
2322func (m *UpdateIntentRequest) GetLanguageCode() string {
2323	if m != nil {
2324		return m.LanguageCode
2325	}
2326	return ""
2327}
2328
2329func (m *UpdateIntentRequest) GetUpdateMask() *field_mask.FieldMask {
2330	if m != nil {
2331		return m.UpdateMask
2332	}
2333	return nil
2334}
2335
2336func (m *UpdateIntentRequest) GetIntentView() IntentView {
2337	if m != nil {
2338		return m.IntentView
2339	}
2340	return IntentView_INTENT_VIEW_UNSPECIFIED
2341}
2342
2343// The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2.Intents.DeleteIntent].
2344type DeleteIntentRequest struct {
2345	// Required. The name of the intent to delete. If this intent has direct or
2346	// indirect followup intents, we also delete them.
2347	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
2348	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
2349	XXX_NoUnkeyedLiteral struct{} `json:"-"`
2350	XXX_unrecognized     []byte   `json:"-"`
2351	XXX_sizecache        int32    `json:"-"`
2352}
2353
2354func (m *DeleteIntentRequest) Reset()         { *m = DeleteIntentRequest{} }
2355func (m *DeleteIntentRequest) String() string { return proto.CompactTextString(m) }
2356func (*DeleteIntentRequest) ProtoMessage()    {}
2357func (*DeleteIntentRequest) Descriptor() ([]byte, []int) {
2358	return fileDescriptor_6c20e31044d743bd, []int{6}
2359}
2360
2361func (m *DeleteIntentRequest) XXX_Unmarshal(b []byte) error {
2362	return xxx_messageInfo_DeleteIntentRequest.Unmarshal(m, b)
2363}
2364func (m *DeleteIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2365	return xxx_messageInfo_DeleteIntentRequest.Marshal(b, m, deterministic)
2366}
2367func (m *DeleteIntentRequest) XXX_Merge(src proto.Message) {
2368	xxx_messageInfo_DeleteIntentRequest.Merge(m, src)
2369}
2370func (m *DeleteIntentRequest) XXX_Size() int {
2371	return xxx_messageInfo_DeleteIntentRequest.Size(m)
2372}
2373func (m *DeleteIntentRequest) XXX_DiscardUnknown() {
2374	xxx_messageInfo_DeleteIntentRequest.DiscardUnknown(m)
2375}
2376
2377var xxx_messageInfo_DeleteIntentRequest proto.InternalMessageInfo
2378
2379func (m *DeleteIntentRequest) GetName() string {
2380	if m != nil {
2381		return m.Name
2382	}
2383	return ""
2384}
2385
2386// The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents].
2387type BatchUpdateIntentsRequest struct {
2388	// Required. The name of the agent to update or create intents in.
2389	// Format: `projects/<Project ID>/agent`.
2390	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
2391	// Required. The source of the intent batch.
2392	//
2393	// Types that are valid to be assigned to IntentBatch:
2394	//	*BatchUpdateIntentsRequest_IntentBatchUri
2395	//	*BatchUpdateIntentsRequest_IntentBatchInline
2396	IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"`
2397	// Optional. The language of training phrases, parameters and rich messages
2398	// defined in `intents`. If not specified, the agent's default language is
2399	// used. [Many
2400	// languages](https://cloud.google.com/dialogflow/docs/reference/language)
2401	// are supported. Note: languages must be enabled in the agent before they can
2402	// be used.
2403	LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
2404	// Optional. The mask to control which fields get updated.
2405	UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
2406	// Optional. The resource view to apply to the returned intent.
2407	IntentView           IntentView `protobuf:"varint,6,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"`
2408	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
2409	XXX_unrecognized     []byte     `json:"-"`
2410	XXX_sizecache        int32      `json:"-"`
2411}
2412
2413func (m *BatchUpdateIntentsRequest) Reset()         { *m = BatchUpdateIntentsRequest{} }
2414func (m *BatchUpdateIntentsRequest) String() string { return proto.CompactTextString(m) }
2415func (*BatchUpdateIntentsRequest) ProtoMessage()    {}
2416func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int) {
2417	return fileDescriptor_6c20e31044d743bd, []int{7}
2418}
2419
2420func (m *BatchUpdateIntentsRequest) XXX_Unmarshal(b []byte) error {
2421	return xxx_messageInfo_BatchUpdateIntentsRequest.Unmarshal(m, b)
2422}
2423func (m *BatchUpdateIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2424	return xxx_messageInfo_BatchUpdateIntentsRequest.Marshal(b, m, deterministic)
2425}
2426func (m *BatchUpdateIntentsRequest) XXX_Merge(src proto.Message) {
2427	xxx_messageInfo_BatchUpdateIntentsRequest.Merge(m, src)
2428}
2429func (m *BatchUpdateIntentsRequest) XXX_Size() int {
2430	return xxx_messageInfo_BatchUpdateIntentsRequest.Size(m)
2431}
2432func (m *BatchUpdateIntentsRequest) XXX_DiscardUnknown() {
2433	xxx_messageInfo_BatchUpdateIntentsRequest.DiscardUnknown(m)
2434}
2435
2436var xxx_messageInfo_BatchUpdateIntentsRequest proto.InternalMessageInfo
2437
2438func (m *BatchUpdateIntentsRequest) GetParent() string {
2439	if m != nil {
2440		return m.Parent
2441	}
2442	return ""
2443}
2444
2445type isBatchUpdateIntentsRequest_IntentBatch interface {
2446	isBatchUpdateIntentsRequest_IntentBatch()
2447}
2448
2449type BatchUpdateIntentsRequest_IntentBatchUri struct {
2450	IntentBatchUri string `protobuf:"bytes,2,opt,name=intent_batch_uri,json=intentBatchUri,proto3,oneof"`
2451}
2452
2453type BatchUpdateIntentsRequest_IntentBatchInline struct {
2454	IntentBatchInline *IntentBatch `protobuf:"bytes,3,opt,name=intent_batch_inline,json=intentBatchInline,proto3,oneof"`
2455}
2456
2457func (*BatchUpdateIntentsRequest_IntentBatchUri) isBatchUpdateIntentsRequest_IntentBatch() {}
2458
2459func (*BatchUpdateIntentsRequest_IntentBatchInline) isBatchUpdateIntentsRequest_IntentBatch() {}
2460
2461func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch {
2462	if m != nil {
2463		return m.IntentBatch
2464	}
2465	return nil
2466}
2467
2468func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string {
2469	if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchUri); ok {
2470		return x.IntentBatchUri
2471	}
2472	return ""
2473}
2474
2475func (m *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch {
2476	if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchInline); ok {
2477		return x.IntentBatchInline
2478	}
2479	return nil
2480}
2481
2482func (m *BatchUpdateIntentsRequest) GetLanguageCode() string {
2483	if m != nil {
2484		return m.LanguageCode
2485	}
2486	return ""
2487}
2488
2489func (m *BatchUpdateIntentsRequest) GetUpdateMask() *field_mask.FieldMask {
2490	if m != nil {
2491		return m.UpdateMask
2492	}
2493	return nil
2494}
2495
2496func (m *BatchUpdateIntentsRequest) GetIntentView() IntentView {
2497	if m != nil {
2498		return m.IntentView
2499	}
2500	return IntentView_INTENT_VIEW_UNSPECIFIED
2501}
2502
2503// XXX_OneofWrappers is for the internal use of the proto package.
2504func (*BatchUpdateIntentsRequest) XXX_OneofWrappers() []interface{} {
2505	return []interface{}{
2506		(*BatchUpdateIntentsRequest_IntentBatchUri)(nil),
2507		(*BatchUpdateIntentsRequest_IntentBatchInline)(nil),
2508	}
2509}
2510
2511// The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents].
2512type BatchUpdateIntentsResponse struct {
2513	// The collection of updated or created intents.
2514	Intents              []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"`
2515	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
2516	XXX_unrecognized     []byte    `json:"-"`
2517	XXX_sizecache        int32     `json:"-"`
2518}
2519
2520func (m *BatchUpdateIntentsResponse) Reset()         { *m = BatchUpdateIntentsResponse{} }
2521func (m *BatchUpdateIntentsResponse) String() string { return proto.CompactTextString(m) }
2522func (*BatchUpdateIntentsResponse) ProtoMessage()    {}
2523func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int) {
2524	return fileDescriptor_6c20e31044d743bd, []int{8}
2525}
2526
2527func (m *BatchUpdateIntentsResponse) XXX_Unmarshal(b []byte) error {
2528	return xxx_messageInfo_BatchUpdateIntentsResponse.Unmarshal(m, b)
2529}
2530func (m *BatchUpdateIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2531	return xxx_messageInfo_BatchUpdateIntentsResponse.Marshal(b, m, deterministic)
2532}
2533func (m *BatchUpdateIntentsResponse) XXX_Merge(src proto.Message) {
2534	xxx_messageInfo_BatchUpdateIntentsResponse.Merge(m, src)
2535}
2536func (m *BatchUpdateIntentsResponse) XXX_Size() int {
2537	return xxx_messageInfo_BatchUpdateIntentsResponse.Size(m)
2538}
2539func (m *BatchUpdateIntentsResponse) XXX_DiscardUnknown() {
2540	xxx_messageInfo_BatchUpdateIntentsResponse.DiscardUnknown(m)
2541}
2542
2543var xxx_messageInfo_BatchUpdateIntentsResponse proto.InternalMessageInfo
2544
2545func (m *BatchUpdateIntentsResponse) GetIntents() []*Intent {
2546	if m != nil {
2547		return m.Intents
2548	}
2549	return nil
2550}
2551
2552// The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2.Intents.BatchDeleteIntents].
2553type BatchDeleteIntentsRequest struct {
2554	// Required. The name of the agent to delete all entities types for. Format:
2555	// `projects/<Project ID>/agent`.
2556	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
2557	// Required. The collection of intents to delete. Only intent `name` must be
2558	// filled in.
2559	Intents              []*Intent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"`
2560	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
2561	XXX_unrecognized     []byte    `json:"-"`
2562	XXX_sizecache        int32     `json:"-"`
2563}
2564
2565func (m *BatchDeleteIntentsRequest) Reset()         { *m = BatchDeleteIntentsRequest{} }
2566func (m *BatchDeleteIntentsRequest) String() string { return proto.CompactTextString(m) }
2567func (*BatchDeleteIntentsRequest) ProtoMessage()    {}
2568func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int) {
2569	return fileDescriptor_6c20e31044d743bd, []int{9}
2570}
2571
2572func (m *BatchDeleteIntentsRequest) XXX_Unmarshal(b []byte) error {
2573	return xxx_messageInfo_BatchDeleteIntentsRequest.Unmarshal(m, b)
2574}
2575func (m *BatchDeleteIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2576	return xxx_messageInfo_BatchDeleteIntentsRequest.Marshal(b, m, deterministic)
2577}
2578func (m *BatchDeleteIntentsRequest) XXX_Merge(src proto.Message) {
2579	xxx_messageInfo_BatchDeleteIntentsRequest.Merge(m, src)
2580}
2581func (m *BatchDeleteIntentsRequest) XXX_Size() int {
2582	return xxx_messageInfo_BatchDeleteIntentsRequest.Size(m)
2583}
2584func (m *BatchDeleteIntentsRequest) XXX_DiscardUnknown() {
2585	xxx_messageInfo_BatchDeleteIntentsRequest.DiscardUnknown(m)
2586}
2587
2588var xxx_messageInfo_BatchDeleteIntentsRequest proto.InternalMessageInfo
2589
2590func (m *BatchDeleteIntentsRequest) GetParent() string {
2591	if m != nil {
2592		return m.Parent
2593	}
2594	return ""
2595}
2596
2597func (m *BatchDeleteIntentsRequest) GetIntents() []*Intent {
2598	if m != nil {
2599		return m.Intents
2600	}
2601	return nil
2602}
2603
2604// This message is a wrapper around a collection of intents.
2605type IntentBatch struct {
2606	// A collection of intents.
2607	Intents              []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"`
2608	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
2609	XXX_unrecognized     []byte    `json:"-"`
2610	XXX_sizecache        int32     `json:"-"`
2611}
2612
2613func (m *IntentBatch) Reset()         { *m = IntentBatch{} }
2614func (m *IntentBatch) String() string { return proto.CompactTextString(m) }
2615func (*IntentBatch) ProtoMessage()    {}
2616func (*IntentBatch) Descriptor() ([]byte, []int) {
2617	return fileDescriptor_6c20e31044d743bd, []int{10}
2618}
2619
2620func (m *IntentBatch) XXX_Unmarshal(b []byte) error {
2621	return xxx_messageInfo_IntentBatch.Unmarshal(m, b)
2622}
2623func (m *IntentBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
2624	return xxx_messageInfo_IntentBatch.Marshal(b, m, deterministic)
2625}
2626func (m *IntentBatch) XXX_Merge(src proto.Message) {
2627	xxx_messageInfo_IntentBatch.Merge(m, src)
2628}
2629func (m *IntentBatch) XXX_Size() int {
2630	return xxx_messageInfo_IntentBatch.Size(m)
2631}
2632func (m *IntentBatch) XXX_DiscardUnknown() {
2633	xxx_messageInfo_IntentBatch.DiscardUnknown(m)
2634}
2635
2636var xxx_messageInfo_IntentBatch proto.InternalMessageInfo
2637
2638func (m *IntentBatch) GetIntents() []*Intent {
2639	if m != nil {
2640		return m.Intents
2641	}
2642	return nil
2643}
2644
2645func init() {
2646	proto.RegisterEnum("google.cloud.dialogflow.v2.IntentView", IntentView_name, IntentView_value)
2647	proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_WebhookState", Intent_WebhookState_name, Intent_WebhookState_value)
2648	proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_TrainingPhrase_Type", Intent_TrainingPhrase_Type_name, Intent_TrainingPhrase_Type_value)
2649	proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_Message_Platform", Intent_Message_Platform_name, Intent_Message_Platform_value)
2650	proto.RegisterType((*Intent)(nil), "google.cloud.dialogflow.v2.Intent")
2651	proto.RegisterType((*Intent_TrainingPhrase)(nil), "google.cloud.dialogflow.v2.Intent.TrainingPhrase")
2652	proto.RegisterType((*Intent_TrainingPhrase_Part)(nil), "google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part")
2653	proto.RegisterType((*Intent_Parameter)(nil), "google.cloud.dialogflow.v2.Intent.Parameter")
2654	proto.RegisterType((*Intent_Message)(nil), "google.cloud.dialogflow.v2.Intent.Message")
2655	proto.RegisterType((*Intent_Message_Text)(nil), "google.cloud.dialogflow.v2.Intent.Message.Text")
2656	proto.RegisterType((*Intent_Message_Image)(nil), "google.cloud.dialogflow.v2.Intent.Message.Image")
2657	proto.RegisterType((*Intent_Message_QuickReplies)(nil), "google.cloud.dialogflow.v2.Intent.Message.QuickReplies")
2658	proto.RegisterType((*Intent_Message_Card)(nil), "google.cloud.dialogflow.v2.Intent.Message.Card")
2659	proto.RegisterType((*Intent_Message_Card_Button)(nil), "google.cloud.dialogflow.v2.Intent.Message.Card.Button")
2660	proto.RegisterType((*Intent_Message_SimpleResponse)(nil), "google.cloud.dialogflow.v2.Intent.Message.SimpleResponse")
2661	proto.RegisterType((*Intent_Message_SimpleResponses)(nil), "google.cloud.dialogflow.v2.Intent.Message.SimpleResponses")
2662	proto.RegisterType((*Intent_Message_BasicCard)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard")
2663	proto.RegisterType((*Intent_Message_BasicCard_Button)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button")
2664	proto.RegisterType((*Intent_Message_BasicCard_Button_OpenUriAction)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction")
2665	proto.RegisterType((*Intent_Message_Suggestion)(nil), "google.cloud.dialogflow.v2.Intent.Message.Suggestion")
2666	proto.RegisterType((*Intent_Message_Suggestions)(nil), "google.cloud.dialogflow.v2.Intent.Message.Suggestions")
2667	proto.RegisterType((*Intent_Message_LinkOutSuggestion)(nil), "google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion")
2668	proto.RegisterType((*Intent_Message_ListSelect)(nil), "google.cloud.dialogflow.v2.Intent.Message.ListSelect")
2669	proto.RegisterType((*Intent_Message_ListSelect_Item)(nil), "google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item")
2670	proto.RegisterType((*Intent_Message_CarouselSelect)(nil), "google.cloud.dialogflow.v2.Intent.Message.CarouselSelect")
2671	proto.RegisterType((*Intent_Message_CarouselSelect_Item)(nil), "google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item")
2672	proto.RegisterType((*Intent_Message_SelectItemInfo)(nil), "google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo")
2673	proto.RegisterType((*Intent_FollowupIntentInfo)(nil), "google.cloud.dialogflow.v2.Intent.FollowupIntentInfo")
2674	proto.RegisterType((*ListIntentsRequest)(nil), "google.cloud.dialogflow.v2.ListIntentsRequest")
2675	proto.RegisterType((*ListIntentsResponse)(nil), "google.cloud.dialogflow.v2.ListIntentsResponse")
2676	proto.RegisterType((*GetIntentRequest)(nil), "google.cloud.dialogflow.v2.GetIntentRequest")
2677	proto.RegisterType((*CreateIntentRequest)(nil), "google.cloud.dialogflow.v2.CreateIntentRequest")
2678	proto.RegisterType((*UpdateIntentRequest)(nil), "google.cloud.dialogflow.v2.UpdateIntentRequest")
2679	proto.RegisterType((*DeleteIntentRequest)(nil), "google.cloud.dialogflow.v2.DeleteIntentRequest")
2680	proto.RegisterType((*BatchUpdateIntentsRequest)(nil), "google.cloud.dialogflow.v2.BatchUpdateIntentsRequest")
2681	proto.RegisterType((*BatchUpdateIntentsResponse)(nil), "google.cloud.dialogflow.v2.BatchUpdateIntentsResponse")
2682	proto.RegisterType((*BatchDeleteIntentsRequest)(nil), "google.cloud.dialogflow.v2.BatchDeleteIntentsRequest")
2683	proto.RegisterType((*IntentBatch)(nil), "google.cloud.dialogflow.v2.IntentBatch")
2684}
2685
2686func init() {
2687	proto.RegisterFile("google/cloud/dialogflow/v2/intent.proto", fileDescriptor_6c20e31044d743bd)
2688}
2689
2690var fileDescriptor_6c20e31044d743bd = []byte{
2691	// 2656 bytes of a gzipped FileDescriptorProto
2692	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x1a, 0x4b, 0x73, 0x23, 0x47,
2693	0xd9, 0x23, 0xc9, 0xb6, 0xf4, 0x49, 0x96, 0xe5, 0xf6, 0x66, 0x57, 0x3b, 0x79, 0xe0, 0x28, 0x24,
2694	0x71, 0x5c, 0x59, 0x29, 0x51, 0x48, 0x42, 0x76, 0x93, 0x50, 0xb2, 0x2d, 0xdb, 0xc2, 0xb2, 0x25,
2695	0x46, 0xf2, 0x6e, 0x36, 0x45, 0x31, 0x35, 0xd6, 0xb4, 0xb4, 0x8d, 0x47, 0x33, 0xb3, 0xd3, 0xad,
2696	0x75, 0x94, 0x54, 0x2e, 0x54, 0x01, 0x17, 0x6e, 0x70, 0x4a, 0x55, 0xaa, 0x80, 0x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, 0x47,
2719	0xd8, 0x66, 0x34, 0x1b, 0x17, 0x24, 0x72, 0x85, 0xbe, 0x0f, 0x19, 0xe6, 0x19, 0x84, 0x27, 0x5c,
2720	0x77, 0x1f, 0x78, 0x06, 0xc5, 0x34, 0x9b, 0xd8, 0x88, 0x6e, 0x26, 0x8b, 0x6f, 0xce, 0xe0, 0x7e,
2721	0x53, 0xb2, 0xd6, 0x05, 0xa7, 0xb6, 0xca, 0x46, 0xd6, 0x42, 0xab, 0xd1, 0xe2, 0x15, 0x92, 0x05,
2722	0x11, 0x76, 0xb9, 0x42, 0x55, 0x58, 0x75, 0x7a, 0x2c, 0x64, 0x3e, 0xcd, 0x26, 0x85, 0xd2, 0x97,
2723	0x2e, 0x52, 0x2a, 0x1d, 0xd2, 0xd2, 0x3e, 0xaf, 0x5c, 0x52, 0xf4, 0x32, 0xa4, 0x3d, 0x4c, 0x71,
2724	0x48, 0x58, 0x4a, 0xc4, 0x6b, 0x45, 0x40, 0x07, 0x64, 0x55, 0x00, 0xd7, 0xf0, 0x8c, 0x2e, 0x66,
2725	0xd8, 0xa3, 0xd9, 0x15, 0xa1, 0xef, 0xf5, 0x19, 0x9c, 0xac, 0x07, 0x4c, 0x5a, 0x88, 0x1f, 0xed,
2726	0x41, 0xbc, 0x8b, 0x29, 0x35, 0x3a, 0x98, 0x66, 0xd3, 0x42, 0xd6, 0xd6, 0x0c, 0xb2, 0x8e, 0x7c,
2727	0x16, 0x6d, 0xc0, 0x8b, 0x1e, 0x82, 0x6a, 0xe2, 0xb6, 0xd1, 0xb3, 0x98, 0xee, 0x61, 0xea, 0x3a,
2728	0x36, 0xc5, 0xba, 0x6b, 0x19, 0xac, 0xed, 0x78, 0x5d, 0x9a, 0x5d, 0xdd, 0x88, 0x6e, 0xa6, 0x8b,
2729	0x6f, 0xcd, 0x2e, 0x39, 0x5f, 0x97, 0xbc, 0x5a, 0x56, 0x8a, 0xd5, 0xa4, 0xd4, 0x00, 0x41, 0xd1,
2730	0x7b,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0x76, 0x8d, 0x6c, 0x6a, 0xf5, 0x6f, 0x0a, 0xc4,
2775	0x44, 0x85, 0x4e, 0x97, 0xa1, 0x42, 0x9c, 0xf6, 0x4e, 0x7d, 0x84, 0x6f, 0xce, 0x60, 0x3d, 0xea,
2776	0x51, 0x74, 0xcc, 0xa3, 0x3a, 0x2c, 0x9f, 0xf6, 0x18, 0xe3, 0xc5, 0x1e, 0x9b, 0x79, 0xc4, 0x86,
2777	0xfb, 0x45, 0x7e, 0x5b, 0xb0, 0x6b, 0x81, 0x18, 0xf5, 0xdb, 0xb0, 0xe4, 0x83, 0xa6, 0x8e, 0x4e,
2778	0x7e, 0x80, 0x77, 0x28, 0x13, 0x27, 0x74, 0x69, 0x68, 0xb0, 0x56, 0xbb, 0x90, 0x1e, 0xdd, 0xf9,
2779	0xe8, 0x9b, 0x90, 0x16, 0xe7, 0x70, 0xe6, 0xe8, 0xd4, 0xc5, 0xb8, 0xf5, 0x40, 0xca, 0x4a, 0x71,
2780	0x68, 0xd3, 0x69, 0x08, 0x18, 0xd7, 0x43, 0x69, 0xd7, 0x92, 0xf2, 0xc4, 0x77, 0x78, 0xd2, 0x09,
2781	0x1b, 0xa2, 0x23, 0x93, 0x4e, 0x64, 0xe7, 0x1c, 0x56, 0xc7, 0x1a, 0x0d, 0x32, 0xa7, 0xb4, 0x2f,
2782	0x45, 0x84, 0xe5, 0xbd, 0x2b, 0xb7, 0xaf, 0x89, 0xde, 0xa5, 0xfe, 0x2e, 0x0a, 0x89, 0x41, 0xff,
2783	0xb9, 0x42, 0x42, 0x5f, 0x86, 0x34, 0xaf, 0x67, 0x83, 0x31, 0x6c, 0x86, 0xbd, 0x5b, 0x19, 0x40,
2784	0x45, 0x99, 0xef, 0x05, 0x13, 0x2b, 0x76, 0xb5, 0x89, 0x15, 0xcc, 0xab, 0x93, 0x61, 0x89, 0x2c,
2785	0x8a, 0x58, 0xdc, 0xb9, 0x4a, 0x9f, 0x9d, 0xa8, 0x93, 0xaf, 0x94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 0x15, 0x3c, 0x87, 0xbe, 0x7e, 0x19, 0xf9, 0x50, 0xd5, 0xf6, 0x17, 0x0a, 0xbc,
2853	0xd0, 0x72, 0xba, 0x17, 0xc4, 0x64, 0x5b, 0xf6, 0xe0, 0x3a, 0xaf, 0x9b, 0xba, 0xf2, 0xf1, 0xae,
2854	0x24, 0xed, 0x38, 0x7c, 0x20, 0xe6, 0x1d, 0xaf, 0x53, 0xe8, 0x60, 0x5b, 0x54, 0x55, 0x61, 0xa8,
2855	0x6c, 0xda, 0x9f, 0x28, 0xee, 0x0c, 0x57, 0xff, 0x52, 0x94, 0x5f, 0x47, 0x22, 0xbb, 0x7b, 0xbf,
2856	0x8d, 0xa8, 0xfb, 0xbe, 0xb8, 0x1d, 0xa1, 0x79, 0x77, 0xa8, 0xf9, 0x6e, 0xf1, 0x74, 0x49, 0x48,
2857	0x7d, 0xeb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x89, 0x7d, 0xef, 0xa6, 0x2b, 0x22, 0x00, 0x00,
2858}
2859
2860// Reference imports to suppress errors if they are not otherwise used.
2861var _ context.Context
2862var _ grpc.ClientConn
2863
2864// This is a compile-time assertion to ensure that this generated file
2865// is compatible with the grpc package it is being compiled against.
2866const _ = grpc.SupportPackageIsVersion4
2867
2868// IntentsClient is the client API for Intents service.
2869//
2870// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2871type IntentsClient interface {
2872	// Returns the list of all intents in the specified agent.
2873	ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error)
2874	// Retrieves the specified intent.
2875	GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error)
2876	// Creates an intent in the specified agent.
2877	CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error)
2878	// Updates the specified intent.
2879	UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error)
2880	// Deletes the specified intent and its direct or indirect followup intents.
2881	DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error)
2882	// Updates/Creates multiple intents in the specified agent.
2883	//
2884	// Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]>
2885	BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
2886	// Deletes intents in the specified agent.
2887	//
2888	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
2889	BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
2890}
2891
2892type intentsClient struct {
2893	cc *grpc.ClientConn
2894}
2895
2896func NewIntentsClient(cc *grpc.ClientConn) IntentsClient {
2897	return &intentsClient{cc}
2898}
2899
2900func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) {
2901	out := new(ListIntentsResponse)
2902	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/ListIntents", in, out, opts...)
2903	if err != nil {
2904		return nil, err
2905	}
2906	return out, nil
2907}
2908
2909func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) {
2910	out := new(Intent)
2911	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/GetIntent", in, out, opts...)
2912	if err != nil {
2913		return nil, err
2914	}
2915	return out, nil
2916}
2917
2918func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) {
2919	out := new(Intent)
2920	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/CreateIntent", in, out, opts...)
2921	if err != nil {
2922		return nil, err
2923	}
2924	return out, nil
2925}
2926
2927func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) {
2928	out := new(Intent)
2929	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/UpdateIntent", in, out, opts...)
2930	if err != nil {
2931		return nil, err
2932	}
2933	return out, nil
2934}
2935
2936func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
2937	out := new(empty.Empty)
2938	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/DeleteIntent", in, out, opts...)
2939	if err != nil {
2940		return nil, err
2941	}
2942	return out, nil
2943}
2944
2945func (c *intentsClient) BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
2946	out := new(longrunning.Operation)
2947	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/BatchUpdateIntents", in, out, opts...)
2948	if err != nil {
2949		return nil, err
2950	}
2951	return out, nil
2952}
2953
2954func (c *intentsClient) BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
2955	out := new(longrunning.Operation)
2956	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/BatchDeleteIntents", in, out, opts...)
2957	if err != nil {
2958		return nil, err
2959	}
2960	return out, nil
2961}
2962
2963// IntentsServer is the server API for Intents service.
2964type IntentsServer interface {
2965	// Returns the list of all intents in the specified agent.
2966	ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error)
2967	// Retrieves the specified intent.
2968	GetIntent(context.Context, *GetIntentRequest) (*Intent, error)
2969	// Creates an intent in the specified agent.
2970	CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error)
2971	// Updates the specified intent.
2972	UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error)
2973	// Deletes the specified intent and its direct or indirect followup intents.
2974	DeleteIntent(context.Context, *DeleteIntentRequest) (*empty.Empty, error)
2975	// Updates/Creates multiple intents in the specified agent.
2976	//
2977	// Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]>
2978	BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*longrunning.Operation, error)
2979	// Deletes intents in the specified agent.
2980	//
2981	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
2982	BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*longrunning.Operation, error)
2983}
2984
2985func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) {
2986	s.RegisterService(&_Intents_serviceDesc, srv)
2987}
2988
2989func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2990	in := new(ListIntentsRequest)
2991	if err := dec(in); err != nil {
2992		return nil, err
2993	}
2994	if interceptor == nil {
2995		return srv.(IntentsServer).ListIntents(ctx, in)
2996	}
2997	info := &grpc.UnaryServerInfo{
2998		Server:     srv,
2999		FullMethod: "/google.cloud.dialogflow.v2.Intents/ListIntents",
3000	}
3001	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3002		return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest))
3003	}
3004	return interceptor(ctx, in, info, handler)
3005}
3006
3007func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3008	in := new(GetIntentRequest)
3009	if err := dec(in); err != nil {
3010		return nil, err
3011	}
3012	if interceptor == nil {
3013		return srv.(IntentsServer).GetIntent(ctx, in)
3014	}
3015	info := &grpc.UnaryServerInfo{
3016		Server:     srv,
3017		FullMethod: "/google.cloud.dialogflow.v2.Intents/GetIntent",
3018	}
3019	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3020		return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest))
3021	}
3022	return interceptor(ctx, in, info, handler)
3023}
3024
3025func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3026	in := new(CreateIntentRequest)
3027	if err := dec(in); err != nil {
3028		return nil, err
3029	}
3030	if interceptor == nil {
3031		return srv.(IntentsServer).CreateIntent(ctx, in)
3032	}
3033	info := &grpc.UnaryServerInfo{
3034		Server:     srv,
3035		FullMethod: "/google.cloud.dialogflow.v2.Intents/CreateIntent",
3036	}
3037	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3038		return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest))
3039	}
3040	return interceptor(ctx, in, info, handler)
3041}
3042
3043func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3044	in := new(UpdateIntentRequest)
3045	if err := dec(in); err != nil {
3046		return nil, err
3047	}
3048	if interceptor == nil {
3049		return srv.(IntentsServer).UpdateIntent(ctx, in)
3050	}
3051	info := &grpc.UnaryServerInfo{
3052		Server:     srv,
3053		FullMethod: "/google.cloud.dialogflow.v2.Intents/UpdateIntent",
3054	}
3055	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3056		return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest))
3057	}
3058	return interceptor(ctx, in, info, handler)
3059}
3060
3061func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3062	in := new(DeleteIntentRequest)
3063	if err := dec(in); err != nil {
3064		return nil, err
3065	}
3066	if interceptor == nil {
3067		return srv.(IntentsServer).DeleteIntent(ctx, in)
3068	}
3069	info := &grpc.UnaryServerInfo{
3070		Server:     srv,
3071		FullMethod: "/google.cloud.dialogflow.v2.Intents/DeleteIntent",
3072	}
3073	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3074		return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest))
3075	}
3076	return interceptor(ctx, in, info, handler)
3077}
3078
3079func _Intents_BatchUpdateIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3080	in := new(BatchUpdateIntentsRequest)
3081	if err := dec(in); err != nil {
3082		return nil, err
3083	}
3084	if interceptor == nil {
3085		return srv.(IntentsServer).BatchUpdateIntents(ctx, in)
3086	}
3087	info := &grpc.UnaryServerInfo{
3088		Server:     srv,
3089		FullMethod: "/google.cloud.dialogflow.v2.Intents/BatchUpdateIntents",
3090	}
3091	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3092		return srv.(IntentsServer).BatchUpdateIntents(ctx, req.(*BatchUpdateIntentsRequest))
3093	}
3094	return interceptor(ctx, in, info, handler)
3095}
3096
3097func _Intents_BatchDeleteIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3098	in := new(BatchDeleteIntentsRequest)
3099	if err := dec(in); err != nil {
3100		return nil, err
3101	}
3102	if interceptor == nil {
3103		return srv.(IntentsServer).BatchDeleteIntents(ctx, in)
3104	}
3105	info := &grpc.UnaryServerInfo{
3106		Server:     srv,
3107		FullMethod: "/google.cloud.dialogflow.v2.Intents/BatchDeleteIntents",
3108	}
3109	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3110		return srv.(IntentsServer).BatchDeleteIntents(ctx, req.(*BatchDeleteIntentsRequest))
3111	}
3112	return interceptor(ctx, in, info, handler)
3113}
3114
3115var _Intents_serviceDesc = grpc.ServiceDesc{
3116	ServiceName: "google.cloud.dialogflow.v2.Intents",
3117	HandlerType: (*IntentsServer)(nil),
3118	Methods: []grpc.MethodDesc{
3119		{
3120			MethodName: "ListIntents",
3121			Handler:    _Intents_ListIntents_Handler,
3122		},
3123		{
3124			MethodName: "GetIntent",
3125			Handler:    _Intents_GetIntent_Handler,
3126		},
3127		{
3128			MethodName: "CreateIntent",
3129			Handler:    _Intents_CreateIntent_Handler,
3130		},
3131		{
3132			MethodName: "UpdateIntent",
3133			Handler:    _Intents_UpdateIntent_Handler,
3134		},
3135		{
3136			MethodName: "DeleteIntent",
3137			Handler:    _Intents_DeleteIntent_Handler,
3138		},
3139		{
3140			MethodName: "BatchUpdateIntents",
3141			Handler:    _Intents_BatchUpdateIntents_Handler,
3142		},
3143		{
3144			MethodName: "BatchDeleteIntents",
3145			Handler:    _Intents_BatchDeleteIntents_Handler,
3146		},
3147	},
3148	Streams:  []grpc.StreamDesc{},
3149	Metadata: "google/cloud/dialogflow/v2/intent.proto",
3150}
3151