1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/dialogflow/v2/agent.proto
3
4package dialogflow
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	empty "github.com/golang/protobuf/ptypes/empty"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	longrunning "google.golang.org/genproto/googleapis/longrunning"
15	field_mask "google.golang.org/genproto/protobuf/field_mask"
16	grpc "google.golang.org/grpc"
17)
18
19// Reference imports to suppress errors if they are not otherwise used.
20var _ = proto.Marshal
21var _ = fmt.Errorf
22var _ = math.Inf
23
24// This is a compile-time assertion to ensure that this generated file
25// is compatible with the proto package it is being compiled against.
26// A compilation error at this line likely means your copy of the
27// proto package needs to be updated.
28const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
29
30// Match mode determines how intents are detected from user queries.
31type Agent_MatchMode int32
32
33const (
34	// Not specified.
35	Agent_MATCH_MODE_UNSPECIFIED Agent_MatchMode = 0
36	// Best for agents with a small number of examples in intents and/or wide
37	// use of templates syntax and composite entities.
38	Agent_MATCH_MODE_HYBRID Agent_MatchMode = 1
39	// Can be used for agents with a large number of examples in intents,
40	// especially the ones using @sys.any or very large developer entities.
41	Agent_MATCH_MODE_ML_ONLY Agent_MatchMode = 2
42)
43
44var Agent_MatchMode_name = map[int32]string{
45	0: "MATCH_MODE_UNSPECIFIED",
46	1: "MATCH_MODE_HYBRID",
47	2: "MATCH_MODE_ML_ONLY",
48}
49
50var Agent_MatchMode_value = map[string]int32{
51	"MATCH_MODE_UNSPECIFIED": 0,
52	"MATCH_MODE_HYBRID":      1,
53	"MATCH_MODE_ML_ONLY":     2,
54}
55
56func (x Agent_MatchMode) String() string {
57	return proto.EnumName(Agent_MatchMode_name, int32(x))
58}
59
60func (Agent_MatchMode) EnumDescriptor() ([]byte, []int) {
61	return fileDescriptor_59198d2091110e70, []int{0, 0}
62}
63
64// API version for the agent.
65type Agent_ApiVersion int32
66
67const (
68	// Not specified.
69	Agent_API_VERSION_UNSPECIFIED Agent_ApiVersion = 0
70	// Legacy V1 API.
71	Agent_API_VERSION_V1 Agent_ApiVersion = 1
72	// V2 API.
73	Agent_API_VERSION_V2 Agent_ApiVersion = 2
74	// V2beta1 API.
75	Agent_API_VERSION_V2_BETA_1 Agent_ApiVersion = 3
76)
77
78var Agent_ApiVersion_name = map[int32]string{
79	0: "API_VERSION_UNSPECIFIED",
80	1: "API_VERSION_V1",
81	2: "API_VERSION_V2",
82	3: "API_VERSION_V2_BETA_1",
83}
84
85var Agent_ApiVersion_value = map[string]int32{
86	"API_VERSION_UNSPECIFIED": 0,
87	"API_VERSION_V1":          1,
88	"API_VERSION_V2":          2,
89	"API_VERSION_V2_BETA_1":   3,
90}
91
92func (x Agent_ApiVersion) String() string {
93	return proto.EnumName(Agent_ApiVersion_name, int32(x))
94}
95
96func (Agent_ApiVersion) EnumDescriptor() ([]byte, []int) {
97	return fileDescriptor_59198d2091110e70, []int{0, 1}
98}
99
100// Represents the agent tier.
101type Agent_Tier int32
102
103const (
104	// Not specified. This value should never be used.
105	Agent_TIER_UNSPECIFIED Agent_Tier = 0
106	// Standard tier.
107	Agent_TIER_STANDARD Agent_Tier = 1
108	// Enterprise tier (Essentials).
109	Agent_TIER_ENTERPRISE Agent_Tier = 2
110	// Enterprise tier (Plus).
111	Agent_TIER_ENTERPRISE_PLUS Agent_Tier = 3
112)
113
114var Agent_Tier_name = map[int32]string{
115	0: "TIER_UNSPECIFIED",
116	1: "TIER_STANDARD",
117	2: "TIER_ENTERPRISE",
118	3: "TIER_ENTERPRISE_PLUS",
119}
120
121var Agent_Tier_value = map[string]int32{
122	"TIER_UNSPECIFIED":     0,
123	"TIER_STANDARD":        1,
124	"TIER_ENTERPRISE":      2,
125	"TIER_ENTERPRISE_PLUS": 3,
126}
127
128func (x Agent_Tier) String() string {
129	return proto.EnumName(Agent_Tier_name, int32(x))
130}
131
132func (Agent_Tier) EnumDescriptor() ([]byte, []int) {
133	return fileDescriptor_59198d2091110e70, []int{0, 2}
134}
135
136// Represents a conversational agent.
137type Agent struct {
138	// Required. The project of this agent.
139	// Format: `projects/<Project ID>`.
140	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
141	// Required. The name of this agent.
142	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
143	// Required. The default language of the agent as a language tag. See
144	// [Language
145	// Support](https://cloud.google.com/dialogflow/docs/reference/language)
146	// for a list of the currently supported language codes. This field cannot be
147	// set by the `Update` method.
148	DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"`
149	// Optional. The list of all languages supported by this agent (except for the
150	// `default_language_code`).
151	SupportedLanguageCodes []string `protobuf:"bytes,4,rep,name=supported_language_codes,json=supportedLanguageCodes,proto3" json:"supported_language_codes,omitempty"`
152	// Required. The time zone of this agent from the
153	// [time zone database](https://www.iana.org/time-zones), e.g.,
154	// America/New_York, Europe/Paris.
155	TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
156	// Optional. The description of this agent.
157	// The maximum length is 500 characters. If exceeded, the request is rejected.
158	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
159	// Optional. The URI of the agent's avatar.
160	// Avatars are used throughout the Dialogflow console and in the self-hosted
161	// [Web
162	// Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
163	// integration.
164	AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"`
165	// Optional. Determines whether this agent should log conversation queries.
166	EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"`
167	// Optional. Determines how intents are detected from user queries.
168	MatchMode Agent_MatchMode `protobuf:"varint,9,opt,name=match_mode,json=matchMode,proto3,enum=google.cloud.dialogflow.v2.Agent_MatchMode" json:"match_mode,omitempty"`
169	// Optional. To filter out false positive results and still get variety in
170	// matched natural language inputs for your agent, you can tune the machine
171	// learning classification threshold. If the returned score value is less than
172	// the threshold value, then a fallback intent will be triggered or, if there
173	// are no fallback intents defined, no intent will be triggered. The score
174	// values range from 0.0 (completely uncertain) to 1.0 (completely certain).
175	// If set to 0.0, the default of 0.3 is used.
176	ClassificationThreshold float32 `protobuf:"fixed32,10,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"`
177	// Optional. API version displayed in Dialogflow console. If not specified,
178	// V2 API is assumed. Clients are free to query different service endpoints
179	// for different API versions. However, bots connectors and webhook calls will
180	// follow the specified API version.
181	ApiVersion Agent_ApiVersion `protobuf:"varint,14,opt,name=api_version,json=apiVersion,proto3,enum=google.cloud.dialogflow.v2.Agent_ApiVersion" json:"api_version,omitempty"`
182	// Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
183	Tier                 Agent_Tier `protobuf:"varint,15,opt,name=tier,proto3,enum=google.cloud.dialogflow.v2.Agent_Tier" json:"tier,omitempty"`
184	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
185	XXX_unrecognized     []byte     `json:"-"`
186	XXX_sizecache        int32      `json:"-"`
187}
188
189func (m *Agent) Reset()         { *m = Agent{} }
190func (m *Agent) String() string { return proto.CompactTextString(m) }
191func (*Agent) ProtoMessage()    {}
192func (*Agent) Descriptor() ([]byte, []int) {
193	return fileDescriptor_59198d2091110e70, []int{0}
194}
195
196func (m *Agent) XXX_Unmarshal(b []byte) error {
197	return xxx_messageInfo_Agent.Unmarshal(m, b)
198}
199func (m *Agent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
200	return xxx_messageInfo_Agent.Marshal(b, m, deterministic)
201}
202func (m *Agent) XXX_Merge(src proto.Message) {
203	xxx_messageInfo_Agent.Merge(m, src)
204}
205func (m *Agent) XXX_Size() int {
206	return xxx_messageInfo_Agent.Size(m)
207}
208func (m *Agent) XXX_DiscardUnknown() {
209	xxx_messageInfo_Agent.DiscardUnknown(m)
210}
211
212var xxx_messageInfo_Agent proto.InternalMessageInfo
213
214func (m *Agent) GetParent() string {
215	if m != nil {
216		return m.Parent
217	}
218	return ""
219}
220
221func (m *Agent) GetDisplayName() string {
222	if m != nil {
223		return m.DisplayName
224	}
225	return ""
226}
227
228func (m *Agent) GetDefaultLanguageCode() string {
229	if m != nil {
230		return m.DefaultLanguageCode
231	}
232	return ""
233}
234
235func (m *Agent) GetSupportedLanguageCodes() []string {
236	if m != nil {
237		return m.SupportedLanguageCodes
238	}
239	return nil
240}
241
242func (m *Agent) GetTimeZone() string {
243	if m != nil {
244		return m.TimeZone
245	}
246	return ""
247}
248
249func (m *Agent) GetDescription() string {
250	if m != nil {
251		return m.Description
252	}
253	return ""
254}
255
256func (m *Agent) GetAvatarUri() string {
257	if m != nil {
258		return m.AvatarUri
259	}
260	return ""
261}
262
263func (m *Agent) GetEnableLogging() bool {
264	if m != nil {
265		return m.EnableLogging
266	}
267	return false
268}
269
270func (m *Agent) GetMatchMode() Agent_MatchMode {
271	if m != nil {
272		return m.MatchMode
273	}
274	return Agent_MATCH_MODE_UNSPECIFIED
275}
276
277func (m *Agent) GetClassificationThreshold() float32 {
278	if m != nil {
279		return m.ClassificationThreshold
280	}
281	return 0
282}
283
284func (m *Agent) GetApiVersion() Agent_ApiVersion {
285	if m != nil {
286		return m.ApiVersion
287	}
288	return Agent_API_VERSION_UNSPECIFIED
289}
290
291func (m *Agent) GetTier() Agent_Tier {
292	if m != nil {
293		return m.Tier
294	}
295	return Agent_TIER_UNSPECIFIED
296}
297
298// The request message for [Agents.GetAgent][google.cloud.dialogflow.v2.Agents.GetAgent].
299type GetAgentRequest struct {
300	// Required. The project that the agent to fetch is associated with.
301	// Format: `projects/<Project ID>`.
302	Parent               string   `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
303	XXX_NoUnkeyedLiteral struct{} `json:"-"`
304	XXX_unrecognized     []byte   `json:"-"`
305	XXX_sizecache        int32    `json:"-"`
306}
307
308func (m *GetAgentRequest) Reset()         { *m = GetAgentRequest{} }
309func (m *GetAgentRequest) String() string { return proto.CompactTextString(m) }
310func (*GetAgentRequest) ProtoMessage()    {}
311func (*GetAgentRequest) Descriptor() ([]byte, []int) {
312	return fileDescriptor_59198d2091110e70, []int{1}
313}
314
315func (m *GetAgentRequest) XXX_Unmarshal(b []byte) error {
316	return xxx_messageInfo_GetAgentRequest.Unmarshal(m, b)
317}
318func (m *GetAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
319	return xxx_messageInfo_GetAgentRequest.Marshal(b, m, deterministic)
320}
321func (m *GetAgentRequest) XXX_Merge(src proto.Message) {
322	xxx_messageInfo_GetAgentRequest.Merge(m, src)
323}
324func (m *GetAgentRequest) XXX_Size() int {
325	return xxx_messageInfo_GetAgentRequest.Size(m)
326}
327func (m *GetAgentRequest) XXX_DiscardUnknown() {
328	xxx_messageInfo_GetAgentRequest.DiscardUnknown(m)
329}
330
331var xxx_messageInfo_GetAgentRequest proto.InternalMessageInfo
332
333func (m *GetAgentRequest) GetParent() string {
334	if m != nil {
335		return m.Parent
336	}
337	return ""
338}
339
340// The request message for [Agents.SetAgent][google.cloud.dialogflow.v2.Agents.SetAgent].
341type SetAgentRequest struct {
342	// Required. The agent to update.
343	Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
344	// Optional. The mask to control which fields get updated.
345	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
346	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
347	XXX_unrecognized     []byte                `json:"-"`
348	XXX_sizecache        int32                 `json:"-"`
349}
350
351func (m *SetAgentRequest) Reset()         { *m = SetAgentRequest{} }
352func (m *SetAgentRequest) String() string { return proto.CompactTextString(m) }
353func (*SetAgentRequest) ProtoMessage()    {}
354func (*SetAgentRequest) Descriptor() ([]byte, []int) {
355	return fileDescriptor_59198d2091110e70, []int{2}
356}
357
358func (m *SetAgentRequest) XXX_Unmarshal(b []byte) error {
359	return xxx_messageInfo_SetAgentRequest.Unmarshal(m, b)
360}
361func (m *SetAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
362	return xxx_messageInfo_SetAgentRequest.Marshal(b, m, deterministic)
363}
364func (m *SetAgentRequest) XXX_Merge(src proto.Message) {
365	xxx_messageInfo_SetAgentRequest.Merge(m, src)
366}
367func (m *SetAgentRequest) XXX_Size() int {
368	return xxx_messageInfo_SetAgentRequest.Size(m)
369}
370func (m *SetAgentRequest) XXX_DiscardUnknown() {
371	xxx_messageInfo_SetAgentRequest.DiscardUnknown(m)
372}
373
374var xxx_messageInfo_SetAgentRequest proto.InternalMessageInfo
375
376func (m *SetAgentRequest) GetAgent() *Agent {
377	if m != nil {
378		return m.Agent
379	}
380	return nil
381}
382
383func (m *SetAgentRequest) GetUpdateMask() *field_mask.FieldMask {
384	if m != nil {
385		return m.UpdateMask
386	}
387	return nil
388}
389
390// The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2.Agents.DeleteAgent].
391type DeleteAgentRequest struct {
392	// Required. The project that the agent to delete is associated with.
393	// Format: `projects/<Project ID>`.
394	Parent               string   `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
395	XXX_NoUnkeyedLiteral struct{} `json:"-"`
396	XXX_unrecognized     []byte   `json:"-"`
397	XXX_sizecache        int32    `json:"-"`
398}
399
400func (m *DeleteAgentRequest) Reset()         { *m = DeleteAgentRequest{} }
401func (m *DeleteAgentRequest) String() string { return proto.CompactTextString(m) }
402func (*DeleteAgentRequest) ProtoMessage()    {}
403func (*DeleteAgentRequest) Descriptor() ([]byte, []int) {
404	return fileDescriptor_59198d2091110e70, []int{3}
405}
406
407func (m *DeleteAgentRequest) XXX_Unmarshal(b []byte) error {
408	return xxx_messageInfo_DeleteAgentRequest.Unmarshal(m, b)
409}
410func (m *DeleteAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
411	return xxx_messageInfo_DeleteAgentRequest.Marshal(b, m, deterministic)
412}
413func (m *DeleteAgentRequest) XXX_Merge(src proto.Message) {
414	xxx_messageInfo_DeleteAgentRequest.Merge(m, src)
415}
416func (m *DeleteAgentRequest) XXX_Size() int {
417	return xxx_messageInfo_DeleteAgentRequest.Size(m)
418}
419func (m *DeleteAgentRequest) XXX_DiscardUnknown() {
420	xxx_messageInfo_DeleteAgentRequest.DiscardUnknown(m)
421}
422
423var xxx_messageInfo_DeleteAgentRequest proto.InternalMessageInfo
424
425func (m *DeleteAgentRequest) GetParent() string {
426	if m != nil {
427		return m.Parent
428	}
429	return ""
430}
431
432// The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
433type SearchAgentsRequest struct {
434	// Required. The project to list agents from.
435	// Format: `projects/<Project ID or '-'>`.
436	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
437	// Optional. The maximum number of items to return in a single page. By
438	// default 100 and at most 1000.
439	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
440	// Optional. The next_page_token value returned from a previous list request.
441	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
442	XXX_NoUnkeyedLiteral struct{} `json:"-"`
443	XXX_unrecognized     []byte   `json:"-"`
444	XXX_sizecache        int32    `json:"-"`
445}
446
447func (m *SearchAgentsRequest) Reset()         { *m = SearchAgentsRequest{} }
448func (m *SearchAgentsRequest) String() string { return proto.CompactTextString(m) }
449func (*SearchAgentsRequest) ProtoMessage()    {}
450func (*SearchAgentsRequest) Descriptor() ([]byte, []int) {
451	return fileDescriptor_59198d2091110e70, []int{4}
452}
453
454func (m *SearchAgentsRequest) XXX_Unmarshal(b []byte) error {
455	return xxx_messageInfo_SearchAgentsRequest.Unmarshal(m, b)
456}
457func (m *SearchAgentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
458	return xxx_messageInfo_SearchAgentsRequest.Marshal(b, m, deterministic)
459}
460func (m *SearchAgentsRequest) XXX_Merge(src proto.Message) {
461	xxx_messageInfo_SearchAgentsRequest.Merge(m, src)
462}
463func (m *SearchAgentsRequest) XXX_Size() int {
464	return xxx_messageInfo_SearchAgentsRequest.Size(m)
465}
466func (m *SearchAgentsRequest) XXX_DiscardUnknown() {
467	xxx_messageInfo_SearchAgentsRequest.DiscardUnknown(m)
468}
469
470var xxx_messageInfo_SearchAgentsRequest proto.InternalMessageInfo
471
472func (m *SearchAgentsRequest) GetParent() string {
473	if m != nil {
474		return m.Parent
475	}
476	return ""
477}
478
479func (m *SearchAgentsRequest) GetPageSize() int32 {
480	if m != nil {
481		return m.PageSize
482	}
483	return 0
484}
485
486func (m *SearchAgentsRequest) GetPageToken() string {
487	if m != nil {
488		return m.PageToken
489	}
490	return ""
491}
492
493// The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
494type SearchAgentsResponse struct {
495	// The list of agents. There will be a maximum number of items returned based
496	// on the page_size field in the request.
497	Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
498	// Token to retrieve the next page of results, or empty if there are no
499	// more results in the list.
500	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
501	XXX_NoUnkeyedLiteral struct{} `json:"-"`
502	XXX_unrecognized     []byte   `json:"-"`
503	XXX_sizecache        int32    `json:"-"`
504}
505
506func (m *SearchAgentsResponse) Reset()         { *m = SearchAgentsResponse{} }
507func (m *SearchAgentsResponse) String() string { return proto.CompactTextString(m) }
508func (*SearchAgentsResponse) ProtoMessage()    {}
509func (*SearchAgentsResponse) Descriptor() ([]byte, []int) {
510	return fileDescriptor_59198d2091110e70, []int{5}
511}
512
513func (m *SearchAgentsResponse) XXX_Unmarshal(b []byte) error {
514	return xxx_messageInfo_SearchAgentsResponse.Unmarshal(m, b)
515}
516func (m *SearchAgentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
517	return xxx_messageInfo_SearchAgentsResponse.Marshal(b, m, deterministic)
518}
519func (m *SearchAgentsResponse) XXX_Merge(src proto.Message) {
520	xxx_messageInfo_SearchAgentsResponse.Merge(m, src)
521}
522func (m *SearchAgentsResponse) XXX_Size() int {
523	return xxx_messageInfo_SearchAgentsResponse.Size(m)
524}
525func (m *SearchAgentsResponse) XXX_DiscardUnknown() {
526	xxx_messageInfo_SearchAgentsResponse.DiscardUnknown(m)
527}
528
529var xxx_messageInfo_SearchAgentsResponse proto.InternalMessageInfo
530
531func (m *SearchAgentsResponse) GetAgents() []*Agent {
532	if m != nil {
533		return m.Agents
534	}
535	return nil
536}
537
538func (m *SearchAgentsResponse) GetNextPageToken() string {
539	if m != nil {
540		return m.NextPageToken
541	}
542	return ""
543}
544
545// The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent].
546type TrainAgentRequest struct {
547	// Required. The project that the agent to train is associated with.
548	// Format: `projects/<Project ID>`.
549	Parent               string   `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
550	XXX_NoUnkeyedLiteral struct{} `json:"-"`
551	XXX_unrecognized     []byte   `json:"-"`
552	XXX_sizecache        int32    `json:"-"`
553}
554
555func (m *TrainAgentRequest) Reset()         { *m = TrainAgentRequest{} }
556func (m *TrainAgentRequest) String() string { return proto.CompactTextString(m) }
557func (*TrainAgentRequest) ProtoMessage()    {}
558func (*TrainAgentRequest) Descriptor() ([]byte, []int) {
559	return fileDescriptor_59198d2091110e70, []int{6}
560}
561
562func (m *TrainAgentRequest) XXX_Unmarshal(b []byte) error {
563	return xxx_messageInfo_TrainAgentRequest.Unmarshal(m, b)
564}
565func (m *TrainAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
566	return xxx_messageInfo_TrainAgentRequest.Marshal(b, m, deterministic)
567}
568func (m *TrainAgentRequest) XXX_Merge(src proto.Message) {
569	xxx_messageInfo_TrainAgentRequest.Merge(m, src)
570}
571func (m *TrainAgentRequest) XXX_Size() int {
572	return xxx_messageInfo_TrainAgentRequest.Size(m)
573}
574func (m *TrainAgentRequest) XXX_DiscardUnknown() {
575	xxx_messageInfo_TrainAgentRequest.DiscardUnknown(m)
576}
577
578var xxx_messageInfo_TrainAgentRequest proto.InternalMessageInfo
579
580func (m *TrainAgentRequest) GetParent() string {
581	if m != nil {
582		return m.Parent
583	}
584	return ""
585}
586
587// The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].
588type ExportAgentRequest struct {
589	// Required. The project that the agent to export is associated with.
590	// Format: `projects/<Project ID>`.
591	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
592	// Optional. The
593	// [Google Cloud Storage](https://cloud.google.com/storage/docs/)
594	// URI to export the agent to.
595	// The format of this URI must be `gs://<bucket-name>/<object-name>`.
596	// If left unspecified, the serialized agent is returned inline.
597	AgentUri             string   `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"`
598	XXX_NoUnkeyedLiteral struct{} `json:"-"`
599	XXX_unrecognized     []byte   `json:"-"`
600	XXX_sizecache        int32    `json:"-"`
601}
602
603func (m *ExportAgentRequest) Reset()         { *m = ExportAgentRequest{} }
604func (m *ExportAgentRequest) String() string { return proto.CompactTextString(m) }
605func (*ExportAgentRequest) ProtoMessage()    {}
606func (*ExportAgentRequest) Descriptor() ([]byte, []int) {
607	return fileDescriptor_59198d2091110e70, []int{7}
608}
609
610func (m *ExportAgentRequest) XXX_Unmarshal(b []byte) error {
611	return xxx_messageInfo_ExportAgentRequest.Unmarshal(m, b)
612}
613func (m *ExportAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
614	return xxx_messageInfo_ExportAgentRequest.Marshal(b, m, deterministic)
615}
616func (m *ExportAgentRequest) XXX_Merge(src proto.Message) {
617	xxx_messageInfo_ExportAgentRequest.Merge(m, src)
618}
619func (m *ExportAgentRequest) XXX_Size() int {
620	return xxx_messageInfo_ExportAgentRequest.Size(m)
621}
622func (m *ExportAgentRequest) XXX_DiscardUnknown() {
623	xxx_messageInfo_ExportAgentRequest.DiscardUnknown(m)
624}
625
626var xxx_messageInfo_ExportAgentRequest proto.InternalMessageInfo
627
628func (m *ExportAgentRequest) GetParent() string {
629	if m != nil {
630		return m.Parent
631	}
632	return ""
633}
634
635func (m *ExportAgentRequest) GetAgentUri() string {
636	if m != nil {
637		return m.AgentUri
638	}
639	return ""
640}
641
642// The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].
643type ExportAgentResponse struct {
644	// Required. The exported agent.
645	//
646	// Types that are valid to be assigned to Agent:
647	//	*ExportAgentResponse_AgentUri
648	//	*ExportAgentResponse_AgentContent
649	Agent                isExportAgentResponse_Agent `protobuf_oneof:"agent"`
650	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
651	XXX_unrecognized     []byte                      `json:"-"`
652	XXX_sizecache        int32                       `json:"-"`
653}
654
655func (m *ExportAgentResponse) Reset()         { *m = ExportAgentResponse{} }
656func (m *ExportAgentResponse) String() string { return proto.CompactTextString(m) }
657func (*ExportAgentResponse) ProtoMessage()    {}
658func (*ExportAgentResponse) Descriptor() ([]byte, []int) {
659	return fileDescriptor_59198d2091110e70, []int{8}
660}
661
662func (m *ExportAgentResponse) XXX_Unmarshal(b []byte) error {
663	return xxx_messageInfo_ExportAgentResponse.Unmarshal(m, b)
664}
665func (m *ExportAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
666	return xxx_messageInfo_ExportAgentResponse.Marshal(b, m, deterministic)
667}
668func (m *ExportAgentResponse) XXX_Merge(src proto.Message) {
669	xxx_messageInfo_ExportAgentResponse.Merge(m, src)
670}
671func (m *ExportAgentResponse) XXX_Size() int {
672	return xxx_messageInfo_ExportAgentResponse.Size(m)
673}
674func (m *ExportAgentResponse) XXX_DiscardUnknown() {
675	xxx_messageInfo_ExportAgentResponse.DiscardUnknown(m)
676}
677
678var xxx_messageInfo_ExportAgentResponse proto.InternalMessageInfo
679
680type isExportAgentResponse_Agent interface {
681	isExportAgentResponse_Agent()
682}
683
684type ExportAgentResponse_AgentUri struct {
685	AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"`
686}
687
688type ExportAgentResponse_AgentContent struct {
689	AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"`
690}
691
692func (*ExportAgentResponse_AgentUri) isExportAgentResponse_Agent() {}
693
694func (*ExportAgentResponse_AgentContent) isExportAgentResponse_Agent() {}
695
696func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent {
697	if m != nil {
698		return m.Agent
699	}
700	return nil
701}
702
703func (m *ExportAgentResponse) GetAgentUri() string {
704	if x, ok := m.GetAgent().(*ExportAgentResponse_AgentUri); ok {
705		return x.AgentUri
706	}
707	return ""
708}
709
710func (m *ExportAgentResponse) GetAgentContent() []byte {
711	if x, ok := m.GetAgent().(*ExportAgentResponse_AgentContent); ok {
712		return x.AgentContent
713	}
714	return nil
715}
716
717// XXX_OneofWrappers is for the internal use of the proto package.
718func (*ExportAgentResponse) XXX_OneofWrappers() []interface{} {
719	return []interface{}{
720		(*ExportAgentResponse_AgentUri)(nil),
721		(*ExportAgentResponse_AgentContent)(nil),
722	}
723}
724
725// The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2.Agents.ImportAgent].
726type ImportAgentRequest struct {
727	// Required. The project that the agent to import is associated with.
728	// Format: `projects/<Project ID>`.
729	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
730	// Required. The agent to import.
731	//
732	// Types that are valid to be assigned to Agent:
733	//	*ImportAgentRequest_AgentUri
734	//	*ImportAgentRequest_AgentContent
735	Agent                isImportAgentRequest_Agent `protobuf_oneof:"agent"`
736	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
737	XXX_unrecognized     []byte                     `json:"-"`
738	XXX_sizecache        int32                      `json:"-"`
739}
740
741func (m *ImportAgentRequest) Reset()         { *m = ImportAgentRequest{} }
742func (m *ImportAgentRequest) String() string { return proto.CompactTextString(m) }
743func (*ImportAgentRequest) ProtoMessage()    {}
744func (*ImportAgentRequest) Descriptor() ([]byte, []int) {
745	return fileDescriptor_59198d2091110e70, []int{9}
746}
747
748func (m *ImportAgentRequest) XXX_Unmarshal(b []byte) error {
749	return xxx_messageInfo_ImportAgentRequest.Unmarshal(m, b)
750}
751func (m *ImportAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
752	return xxx_messageInfo_ImportAgentRequest.Marshal(b, m, deterministic)
753}
754func (m *ImportAgentRequest) XXX_Merge(src proto.Message) {
755	xxx_messageInfo_ImportAgentRequest.Merge(m, src)
756}
757func (m *ImportAgentRequest) XXX_Size() int {
758	return xxx_messageInfo_ImportAgentRequest.Size(m)
759}
760func (m *ImportAgentRequest) XXX_DiscardUnknown() {
761	xxx_messageInfo_ImportAgentRequest.DiscardUnknown(m)
762}
763
764var xxx_messageInfo_ImportAgentRequest proto.InternalMessageInfo
765
766func (m *ImportAgentRequest) GetParent() string {
767	if m != nil {
768		return m.Parent
769	}
770	return ""
771}
772
773type isImportAgentRequest_Agent interface {
774	isImportAgentRequest_Agent()
775}
776
777type ImportAgentRequest_AgentUri struct {
778	AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"`
779}
780
781type ImportAgentRequest_AgentContent struct {
782	AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"`
783}
784
785func (*ImportAgentRequest_AgentUri) isImportAgentRequest_Agent() {}
786
787func (*ImportAgentRequest_AgentContent) isImportAgentRequest_Agent() {}
788
789func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent {
790	if m != nil {
791		return m.Agent
792	}
793	return nil
794}
795
796func (m *ImportAgentRequest) GetAgentUri() string {
797	if x, ok := m.GetAgent().(*ImportAgentRequest_AgentUri); ok {
798		return x.AgentUri
799	}
800	return ""
801}
802
803func (m *ImportAgentRequest) GetAgentContent() []byte {
804	if x, ok := m.GetAgent().(*ImportAgentRequest_AgentContent); ok {
805		return x.AgentContent
806	}
807	return nil
808}
809
810// XXX_OneofWrappers is for the internal use of the proto package.
811func (*ImportAgentRequest) XXX_OneofWrappers() []interface{} {
812	return []interface{}{
813		(*ImportAgentRequest_AgentUri)(nil),
814		(*ImportAgentRequest_AgentContent)(nil),
815	}
816}
817
818// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2.Agents.RestoreAgent].
819type RestoreAgentRequest struct {
820	// Required. The project that the agent to restore is associated with.
821	// Format: `projects/<Project ID>`.
822	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
823	// Required. The agent to restore.
824	//
825	// Types that are valid to be assigned to Agent:
826	//	*RestoreAgentRequest_AgentUri
827	//	*RestoreAgentRequest_AgentContent
828	Agent                isRestoreAgentRequest_Agent `protobuf_oneof:"agent"`
829	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
830	XXX_unrecognized     []byte                      `json:"-"`
831	XXX_sizecache        int32                       `json:"-"`
832}
833
834func (m *RestoreAgentRequest) Reset()         { *m = RestoreAgentRequest{} }
835func (m *RestoreAgentRequest) String() string { return proto.CompactTextString(m) }
836func (*RestoreAgentRequest) ProtoMessage()    {}
837func (*RestoreAgentRequest) Descriptor() ([]byte, []int) {
838	return fileDescriptor_59198d2091110e70, []int{10}
839}
840
841func (m *RestoreAgentRequest) XXX_Unmarshal(b []byte) error {
842	return xxx_messageInfo_RestoreAgentRequest.Unmarshal(m, b)
843}
844func (m *RestoreAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
845	return xxx_messageInfo_RestoreAgentRequest.Marshal(b, m, deterministic)
846}
847func (m *RestoreAgentRequest) XXX_Merge(src proto.Message) {
848	xxx_messageInfo_RestoreAgentRequest.Merge(m, src)
849}
850func (m *RestoreAgentRequest) XXX_Size() int {
851	return xxx_messageInfo_RestoreAgentRequest.Size(m)
852}
853func (m *RestoreAgentRequest) XXX_DiscardUnknown() {
854	xxx_messageInfo_RestoreAgentRequest.DiscardUnknown(m)
855}
856
857var xxx_messageInfo_RestoreAgentRequest proto.InternalMessageInfo
858
859func (m *RestoreAgentRequest) GetParent() string {
860	if m != nil {
861		return m.Parent
862	}
863	return ""
864}
865
866type isRestoreAgentRequest_Agent interface {
867	isRestoreAgentRequest_Agent()
868}
869
870type RestoreAgentRequest_AgentUri struct {
871	AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"`
872}
873
874type RestoreAgentRequest_AgentContent struct {
875	AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"`
876}
877
878func (*RestoreAgentRequest_AgentUri) isRestoreAgentRequest_Agent() {}
879
880func (*RestoreAgentRequest_AgentContent) isRestoreAgentRequest_Agent() {}
881
882func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent {
883	if m != nil {
884		return m.Agent
885	}
886	return nil
887}
888
889func (m *RestoreAgentRequest) GetAgentUri() string {
890	if x, ok := m.GetAgent().(*RestoreAgentRequest_AgentUri); ok {
891		return x.AgentUri
892	}
893	return ""
894}
895
896func (m *RestoreAgentRequest) GetAgentContent() []byte {
897	if x, ok := m.GetAgent().(*RestoreAgentRequest_AgentContent); ok {
898		return x.AgentContent
899	}
900	return nil
901}
902
903// XXX_OneofWrappers is for the internal use of the proto package.
904func (*RestoreAgentRequest) XXX_OneofWrappers() []interface{} {
905	return []interface{}{
906		(*RestoreAgentRequest_AgentUri)(nil),
907		(*RestoreAgentRequest_AgentContent)(nil),
908	}
909}
910
911func init() {
912	proto.RegisterEnum("google.cloud.dialogflow.v2.Agent_MatchMode", Agent_MatchMode_name, Agent_MatchMode_value)
913	proto.RegisterEnum("google.cloud.dialogflow.v2.Agent_ApiVersion", Agent_ApiVersion_name, Agent_ApiVersion_value)
914	proto.RegisterEnum("google.cloud.dialogflow.v2.Agent_Tier", Agent_Tier_name, Agent_Tier_value)
915	proto.RegisterType((*Agent)(nil), "google.cloud.dialogflow.v2.Agent")
916	proto.RegisterType((*GetAgentRequest)(nil), "google.cloud.dialogflow.v2.GetAgentRequest")
917	proto.RegisterType((*SetAgentRequest)(nil), "google.cloud.dialogflow.v2.SetAgentRequest")
918	proto.RegisterType((*DeleteAgentRequest)(nil), "google.cloud.dialogflow.v2.DeleteAgentRequest")
919	proto.RegisterType((*SearchAgentsRequest)(nil), "google.cloud.dialogflow.v2.SearchAgentsRequest")
920	proto.RegisterType((*SearchAgentsResponse)(nil), "google.cloud.dialogflow.v2.SearchAgentsResponse")
921	proto.RegisterType((*TrainAgentRequest)(nil), "google.cloud.dialogflow.v2.TrainAgentRequest")
922	proto.RegisterType((*ExportAgentRequest)(nil), "google.cloud.dialogflow.v2.ExportAgentRequest")
923	proto.RegisterType((*ExportAgentResponse)(nil), "google.cloud.dialogflow.v2.ExportAgentResponse")
924	proto.RegisterType((*ImportAgentRequest)(nil), "google.cloud.dialogflow.v2.ImportAgentRequest")
925	proto.RegisterType((*RestoreAgentRequest)(nil), "google.cloud.dialogflow.v2.RestoreAgentRequest")
926}
927
928func init() {
929	proto.RegisterFile("google/cloud/dialogflow/v2/agent.proto", fileDescriptor_59198d2091110e70)
930}
931
932var fileDescriptor_59198d2091110e70 = []byte{
933	// 1267 bytes of a gzipped FileDescriptorProto
934	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4d, 0x6f, 0xdb, 0x46,
935	0x13, 0x0e, 0xe5, 0xd8, 0x91, 0x46, 0xfe, 0x50, 0xd6, 0x89, 0xc3, 0x28, 0xaf, 0xdf, 0x2a, 0x4c,
936	0x6d, 0x38, 0x8e, 0x43, 0x26, 0xea, 0xa1, 0xad, 0x83, 0x1e, 0x64, 0x4b, 0x89, 0x55, 0x58, 0xb6,
937	0x40, 0xc9, 0x06, 0x92, 0x43, 0x89, 0x8d, 0xb8, 0xa6, 0xb7, 0x21, 0xb9, 0x2c, 0xb9, 0x72, 0x3e,
938	0x7b, 0x68, 0x2f, 0x05, 0x0a, 0xb4, 0x28, 0xd0, 0x53, 0x4f, 0x05, 0x7a, 0xec, 0x4f, 0xe9, 0xb1,
939	0xfd, 0x0b, 0xbd, 0xf6, 0xdc, 0x1e, 0x8b, 0x5d, 0x52, 0x16, 0x2d, 0xc5, 0x92, 0x0a, 0x14, 0xe8,
940	0x8d, 0x9c, 0x79, 0x66, 0xe6, 0x99, 0xe1, 0xce, 0x83, 0x25, 0xac, 0x3a, 0x8c, 0x39, 0x2e, 0x31,
941	0x3a, 0x2e, 0xeb, 0xda, 0x86, 0x4d, 0xb1, 0xcb, 0x9c, 0x23, 0x97, 0x3d, 0x37, 0x4e, 0xca, 0x06,
942	0x76, 0x88, 0xcf, 0xf5, 0x20, 0x64, 0x9c, 0xa1, 0x62, 0x8c, 0xd3, 0x25, 0x4e, 0xef, 0xe3, 0xf4,
943	0x93, 0x72, 0xf1, 0x7f, 0x49, 0x0e, 0x1c, 0x50, 0x03, 0xfb, 0x3e, 0xe3, 0x98, 0x53, 0xe6, 0x47,
944	0x71, 0x64, 0xf1, 0x56, 0xe2, 0x75, 0x99, 0xef, 0x84, 0x5d, 0xdf, 0xa7, 0xbe, 0x63, 0xb0, 0x80,
945	0x84, 0x67, 0x40, 0x37, 0x12, 0x90, 0x7c, 0x7b, 0xda, 0x3d, 0x32, 0x88, 0x17, 0xf0, 0x97, 0x89,
946	0xb3, 0x34, 0xe8, 0x3c, 0xa2, 0xc4, 0xb5, 0x2d, 0x0f, 0x47, 0xcf, 0x12, 0xc4, 0xb5, 0x14, 0x83,
947	0x8e, 0x4b, 0x4f, 0x69, 0x6b, 0x7f, 0xcc, 0xc0, 0x74, 0x45, 0xb4, 0x81, 0x96, 0x60, 0x26, 0xc0,
948	0x21, 0xf1, 0xb9, 0xaa, 0x94, 0x94, 0xb5, 0x9c, 0x99, 0xbc, 0xa1, 0x9b, 0x30, 0x6b, 0xd3, 0x28,
949	0x70, 0xf1, 0x4b, 0xcb, 0xc7, 0x1e, 0x51, 0x33, 0xd2, 0x9b, 0x4f, 0x6c, 0x7b, 0xd8, 0x23, 0xa8,
950	0x0c, 0x57, 0x6d, 0x72, 0x84, 0xbb, 0x2e, 0xb7, 0x5c, 0xec, 0x3b, 0x5d, 0xec, 0x10, 0xab, 0xc3,
951	0x6c, 0xa2, 0x4e, 0x49, 0xec, 0x62, 0xe2, 0xdc, 0x4d, 0x7c, 0xdb, 0xcc, 0x26, 0xe8, 0x03, 0x50,
952	0xa3, 0x6e, 0x10, 0xb0, 0x90, 0x13, 0xfb, 0x6c, 0x54, 0xa4, 0x5e, 0x2c, 0x4d, 0xad, 0xe5, 0xcc,
953	0xa5, 0x53, 0x7f, 0x3a, 0x30, 0x42, 0x37, 0x20, 0xc7, 0xa9, 0x47, 0xac, 0x57, 0xcc, 0x27, 0xea,
954	0xb4, 0xac, 0x90, 0x15, 0x86, 0x27, 0xcc, 0x27, 0xa8, 0x04, 0x79, 0x9b, 0x44, 0x9d, 0x90, 0x06,
955	0x62, 0x7a, 0xea, 0x4c, 0x42, 0xb6, 0x6f, 0x42, 0xcb, 0x00, 0xf8, 0x04, 0x73, 0x1c, 0x5a, 0xdd,
956	0x90, 0xaa, 0x97, 0x24, 0x20, 0x17, 0x5b, 0x0e, 0x42, 0x8a, 0x56, 0x60, 0x9e, 0xf8, 0xf8, 0xa9,
957	0x4b, 0x2c, 0x97, 0x39, 0x0e, 0xf5, 0x1d, 0x35, 0x5b, 0x52, 0xd6, 0xb2, 0xe6, 0x5c, 0x6c, 0xdd,
958	0x8d, 0x8d, 0xe8, 0x63, 0x00, 0x0f, 0xf3, 0xce, 0xb1, 0xe5, 0x89, 0x3e, 0x73, 0x25, 0x65, 0x6d,
959	0xbe, 0x7c, 0x47, 0x3f, 0xff, 0x0c, 0xe8, 0x72, 0xc8, 0x7a, 0x43, 0xc4, 0x34, 0x98, 0x4d, 0xcc,
960	0x9c, 0xd7, 0x7b, 0x44, 0x1f, 0x82, 0xda, 0x71, 0x71, 0x14, 0xd1, 0x23, 0xda, 0x91, 0x1f, 0xdd,
961	0xe2, 0xc7, 0x21, 0x89, 0x8e, 0x99, 0x6b, 0xab, 0x50, 0x52, 0xd6, 0x32, 0xe6, 0xb5, 0xb3, 0xfe,
962	0x76, 0xcf, 0x8d, 0x1a, 0x90, 0xc7, 0x01, 0xb5, 0x4e, 0x48, 0x18, 0x89, 0x76, 0xe7, 0x25, 0x8f,
963	0x8d, 0xf1, 0x3c, 0x2a, 0x01, 0x3d, 0x8c, 0x63, 0x4c, 0xc0, 0xa7, 0xcf, 0x68, 0x13, 0x2e, 0x72,
964	0x4a, 0x42, 0x75, 0x41, 0xe6, 0x59, 0x1d, 0x9f, 0xa7, 0x4d, 0x49, 0x68, 0xca, 0x18, 0xed, 0x10,
965	0x72, 0xa7, 0xdd, 0xa1, 0x22, 0x2c, 0x35, 0x2a, 0xed, 0xed, 0x1d, 0xab, 0xb1, 0x5f, 0xad, 0x59,
966	0x07, 0x7b, 0xad, 0x66, 0x6d, 0xbb, 0xfe, 0xb0, 0x5e, 0xab, 0x16, 0x2e, 0xa0, 0xab, 0x70, 0x39,
967	0xe5, 0xdb, 0x79, 0xbc, 0x65, 0xd6, 0xab, 0x05, 0x05, 0x2d, 0x01, 0x4a, 0x99, 0x1b, 0xbb, 0xd6,
968	0xfe, 0xde, 0xee, 0xe3, 0x42, 0x46, 0x73, 0x01, 0xfa, 0x6c, 0xd1, 0x0d, 0xb8, 0x56, 0x69, 0xd6,
969	0xad, 0xc3, 0x9a, 0xd9, 0xaa, 0xef, 0xef, 0x0d, 0x64, 0x46, 0x30, 0x9f, 0x76, 0x1e, 0xde, 0x2f,
970	0x28, 0x43, 0xb6, 0x72, 0x21, 0x83, 0xae, 0xc3, 0xd5, 0xb3, 0x36, 0x6b, 0xab, 0xd6, 0xae, 0x58,
971	0xf7, 0x0b, 0x53, 0xda, 0x27, 0x70, 0x51, 0xf4, 0x84, 0xae, 0x40, 0xa1, 0x5d, 0xaf, 0x99, 0x03,
972	0x05, 0x2e, 0xc3, 0x9c, 0xb4, 0xb6, 0xda, 0x95, 0xbd, 0x6a, 0xc5, 0x14, 0xb4, 0x17, 0x61, 0x41,
973	0x9a, 0x6a, 0x7b, 0xed, 0x9a, 0xd9, 0x34, 0xeb, 0xad, 0x5a, 0x21, 0x83, 0x54, 0xb8, 0x32, 0x60,
974	0xb4, 0x9a, 0xbb, 0x07, 0xad, 0xc2, 0x94, 0x76, 0x1b, 0x16, 0x1e, 0x11, 0x2e, 0x87, 0x67, 0x92,
975	0xcf, 0xba, 0x24, 0x3a, 0x77, 0xf1, 0xb4, 0xaf, 0x14, 0x58, 0x68, 0x0d, 0x60, 0xdf, 0x87, 0x69,
976	0x29, 0x3a, 0x12, 0x9a, 0x2f, 0xdf, 0x1c, 0xfb, 0x85, 0xcc, 0x18, 0x8f, 0x1e, 0x40, 0xbe, 0x1b,
977	0xd8, 0x98, 0x13, 0xa9, 0x0a, 0x72, 0x89, 0xf3, 0xe5, 0x62, 0x2f, 0xbc, 0x27, 0x1c, 0xfa, 0x43,
978	0x21, 0x1c, 0x0d, 0x1c, 0x3d, 0x33, 0x21, 0x86, 0x8b, 0x67, 0x6d, 0x03, 0x50, 0x95, 0xb8, 0x84,
979	0x93, 0x89, 0x78, 0x53, 0x58, 0x6c, 0x11, 0x1c, 0x76, 0x8e, 0x25, 0x3a, 0x1a, 0x03, 0x17, 0xeb,
980	0x1c, 0x88, 0xd5, 0x8f, 0xe8, 0xab, 0x58, 0x5c, 0xa6, 0xcd, 0xac, 0x30, 0xb4, 0xe8, 0x2b, 0x22,
981	0x96, 0x55, 0x3a, 0x39, 0x7b, 0x46, 0xfc, 0x44, 0x4e, 0x24, 0xbc, 0x2d, 0x0c, 0xda, 0x4b, 0xb8,
982	0x72, 0xb6, 0x54, 0x14, 0x30, 0x3f, 0x12, 0x1b, 0x35, 0x23, 0xdb, 0x8e, 0x54, 0xa5, 0x34, 0x35,
983	0xd9, 0x9c, 0x92, 0x00, 0xb4, 0x0a, 0x0b, 0x3e, 0x79, 0xc1, 0xad, 0x54, 0xd9, 0x58, 0xf1, 0xe6,
984	0x84, 0xb9, 0x79, 0x5a, 0xfa, 0x0e, 0x5c, 0x6e, 0x87, 0x98, 0xfa, 0x13, 0x8d, 0xa4, 0x0e, 0xa8,
985	0xf6, 0x42, 0x68, 0xd9, 0x24, 0x68, 0x31, 0x11, 0x49, 0x46, 0x0a, 0x54, 0x5c, 0x3c, 0x2b, 0x0d,
986	0x07, 0x21, 0xd5, 0x6c, 0x58, 0x3c, 0x93, 0x2a, 0xe9, 0x78, 0x39, 0x1d, 0x23, 0xd3, 0xed, 0x5c,
987	0xe8, 0x47, 0xa1, 0x15, 0x98, 0x8b, 0xdd, 0x1d, 0xe6, 0x73, 0x51, 0x51, 0xa4, 0x9d, 0xdd, 0xb9,
988	0x60, 0xce, 0x4a, 0xf3, 0x76, 0x6c, 0xdd, 0xba, 0x94, 0x1c, 0x2f, 0xed, 0x35, 0xa0, 0xba, 0x37,
989	0x31, 0xe1, 0xe5, 0x21, 0xc2, 0xa3, 0x8b, 0x4f, 0x8d, 0x2e, 0xfe, 0x06, 0x16, 0x4d, 0x12, 0x71,
990	0x16, 0x92, 0xff, 0xa0, 0x7a, 0xf9, 0xcf, 0x1c, 0xcc, 0xc4, 0xc7, 0x09, 0x7d, 0xa1, 0x40, 0xb6,
991	0xb7, 0xad, 0x68, 0xa4, 0xba, 0x0f, 0xec, 0x74, 0x71, 0xfc, 0x81, 0xd3, 0x56, 0xbe, 0xfc, 0xed,
992	0xf7, 0xef, 0x33, 0xef, 0xa0, 0x65, 0x71, 0x93, 0x78, 0x1d, 0xf7, 0xf2, 0x51, 0x10, 0xb2, 0x4f,
993	0x49, 0x87, 0x47, 0xc6, 0xfa, 0xe7, 0xf1, 0xed, 0x02, 0x7d, 0xab, 0x40, 0xb6, 0x35, 0x11, 0x87,
994	0xd6, 0x3f, 0xe7, 0x50, 0x96, 0x1c, 0x36, 0xb4, 0x5b, 0x92, 0x43, 0x72, 0x9d, 0x39, 0x87, 0xc9,
995	0x66, 0xa2, 0x24, 0x6f, 0x20, 0x9f, 0x12, 0x03, 0xa4, 0x8f, 0xaa, 0x32, 0xac, 0x1a, 0xc5, 0xa5,
996	0x21, 0xcd, 0xa9, 0x89, 0x9b, 0x4c, 0x6f, 0x1c, 0xeb, 0x63, 0xc6, 0xf1, 0xa3, 0x02, 0xb3, 0xe9,
997	0x95, 0x47, 0xc6, 0xe8, 0x91, 0x0c, 0xe9, 0x50, 0xf1, 0xde, 0xe4, 0x01, 0xf1, 0x6e, 0x69, 0x1b,
998	0x92, 0xda, 0x2a, 0x7a, 0x77, 0x24, 0xb5, 0xcd, 0x48, 0xc6, 0xa2, 0xaf, 0x15, 0x80, 0xbe, 0x32,
999	0xa0, 0xbb, 0xa3, 0xca, 0x0d, 0x29, 0x48, 0x71, 0xb9, 0x07, 0x4f, 0xdd, 0x06, 0xf5, 0xfd, 0xde,
1000	0x6d, 0x50, 0xd3, 0x25, 0x95, 0xb5, 0xe4, 0x83, 0x9d, 0x4b, 0x85, 0x8b, 0xbc, 0x9b, 0xca, 0x3a,
1001	0xfa, 0x46, 0x81, 0x7c, 0x4a, 0x2e, 0x46, 0x7f, 0xad, 0x61, 0x89, 0x1a, 0x47, 0xc7, 0x90, 0x74,
1002	0x6e, 0x6b, 0x63, 0x26, 0x43, 0x64, 0xe2, 0x1e, 0x9f, 0x94, 0xb0, 0x8c, 0xe6, 0x33, 0xac, 0x40,
1003	0xff, 0x12, 0x1f, 0xea, 0xf5, 0xf8, 0x7c, 0xa7, 0xc0, 0x6c, 0x5a, 0x6b, 0x46, 0x1f, 0xa7, 0xb7,
1004	0xa8, 0xd2, 0x38, 0x46, 0xf7, 0x24, 0xa3, 0x75, 0x6d, 0x65, 0x34, 0xa3, 0x30, 0xce, 0xbc, 0xa9,
1005	0xac, 0x17, 0x5f, 0xfc, 0x52, 0xb9, 0x9e, 0x2a, 0x1b, 0x67, 0xc7, 0x01, 0x8d, 0xf4, 0x0e, 0xf3,
1006	0x7e, 0xad, 0x3c, 0x3e, 0xe6, 0x3c, 0x88, 0x36, 0x0d, 0xe3, 0xf9, 0xf3, 0x41, 0xa7, 0x81, 0xbb,
1007	0xfc, 0x38, 0xfe, 0x51, 0xb9, 0x1b, 0xb8, 0x98, 0x1f, 0xb1, 0xd0, 0xdb, 0x18, 0x07, 0xef, 0x97,
1008	0xda, 0xfa, 0x41, 0x81, 0xff, 0x77, 0x98, 0x37, 0x62, 0x02, 0x5b, 0x20, 0x7b, 0x6f, 0x8a, 0xd5,
1009	0x6d, 0x2a, 0x4f, 0xaa, 0x09, 0xd2, 0x61, 0xe2, 0x02, 0xaf, 0xb3, 0xd0, 0x31, 0x1c, 0xe2, 0xcb,
1010	0xc5, 0x36, 0xfa, 0xb5, 0xde, 0xf6, 0xeb, 0xf4, 0xa0, 0xff, 0xf6, 0x97, 0xa2, 0xfc, 0x94, 0xc9,
1011	0x54, 0x1f, 0xfe, 0x9c, 0x29, 0x3e, 0x8a, 0xd3, 0x6d, 0xcb, 0xc2, 0xd5, 0x7e, 0xe1, 0xc3, 0xf2,
1012	0xd3, 0x19, 0x99, 0xf5, 0xbd, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x3c, 0xd0, 0x4d, 0x8f,
1013	0x0d, 0x00, 0x00,
1014}
1015
1016// Reference imports to suppress errors if they are not otherwise used.
1017var _ context.Context
1018var _ grpc.ClientConn
1019
1020// This is a compile-time assertion to ensure that this generated file
1021// is compatible with the grpc package it is being compiled against.
1022const _ = grpc.SupportPackageIsVersion4
1023
1024// AgentsClient is the client API for Agents service.
1025//
1026// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1027type AgentsClient interface {
1028	// Retrieves the specified agent.
1029	GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
1030	// Creates/updates the specified agent.
1031	SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
1032	// Deletes the specified agent.
1033	DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.Empty, error)
1034	// Returns the list of agents.
1035	//
1036	// Since there is at most one conversational agent per project, this method is
1037	// useful primarily for listing all agents across projects the caller has
1038	// access to. One can achieve that with a wildcard project collection id "-".
1039	// Refer to [List
1040	// Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
1041	SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error)
1042	// Trains the specified agent.
1043	//
1044	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
1045	TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1046	// Exports the specified agent to a ZIP file.
1047	//
1048	// Operation <response: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]>
1049	ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1050	// Imports the specified agent from a ZIP file.
1051	//
1052	// Uploads new intents and entity types without deleting the existing ones.
1053	// Intents and entity types with the same name are replaced with the new
1054	// versions from ImportAgentRequest.
1055	//
1056	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
1057	ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1058	// Restores the specified agent from a ZIP file.
1059	//
1060	// Replaces the current agent version with a new one. All the intents and
1061	// entity types in the older version are deleted.
1062	//
1063	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
1064	RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1065}
1066
1067type agentsClient struct {
1068	cc *grpc.ClientConn
1069}
1070
1071func NewAgentsClient(cc *grpc.ClientConn) AgentsClient {
1072	return &agentsClient{cc}
1073}
1074
1075func (c *agentsClient) GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) {
1076	out := new(Agent)
1077	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/GetAgent", in, out, opts...)
1078	if err != nil {
1079		return nil, err
1080	}
1081	return out, nil
1082}
1083
1084func (c *agentsClient) SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error) {
1085	out := new(Agent)
1086	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/SetAgent", in, out, opts...)
1087	if err != nil {
1088		return nil, err
1089	}
1090	return out, nil
1091}
1092
1093func (c *agentsClient) DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1094	out := new(empty.Empty)
1095	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/DeleteAgent", in, out, opts...)
1096	if err != nil {
1097		return nil, err
1098	}
1099	return out, nil
1100}
1101
1102func (c *agentsClient) SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error) {
1103	out := new(SearchAgentsResponse)
1104	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/SearchAgents", in, out, opts...)
1105	if err != nil {
1106		return nil, err
1107	}
1108	return out, nil
1109}
1110
1111func (c *agentsClient) TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1112	out := new(longrunning.Operation)
1113	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/TrainAgent", in, out, opts...)
1114	if err != nil {
1115		return nil, err
1116	}
1117	return out, nil
1118}
1119
1120func (c *agentsClient) ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1121	out := new(longrunning.Operation)
1122	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/ExportAgent", in, out, opts...)
1123	if err != nil {
1124		return nil, err
1125	}
1126	return out, nil
1127}
1128
1129func (c *agentsClient) ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1130	out := new(longrunning.Operation)
1131	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/ImportAgent", in, out, opts...)
1132	if err != nil {
1133		return nil, err
1134	}
1135	return out, nil
1136}
1137
1138func (c *agentsClient) RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1139	out := new(longrunning.Operation)
1140	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Agents/RestoreAgent", in, out, opts...)
1141	if err != nil {
1142		return nil, err
1143	}
1144	return out, nil
1145}
1146
1147// AgentsServer is the server API for Agents service.
1148type AgentsServer interface {
1149	// Retrieves the specified agent.
1150	GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
1151	// Creates/updates the specified agent.
1152	SetAgent(context.Context, *SetAgentRequest) (*Agent, error)
1153	// Deletes the specified agent.
1154	DeleteAgent(context.Context, *DeleteAgentRequest) (*empty.Empty, error)
1155	// Returns the list of agents.
1156	//
1157	// Since there is at most one conversational agent per project, this method is
1158	// useful primarily for listing all agents across projects the caller has
1159	// access to. One can achieve that with a wildcard project collection id "-".
1160	// Refer to [List
1161	// Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
1162	SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error)
1163	// Trains the specified agent.
1164	//
1165	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
1166	TrainAgent(context.Context, *TrainAgentRequest) (*longrunning.Operation, error)
1167	// Exports the specified agent to a ZIP file.
1168	//
1169	// Operation <response: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]>
1170	ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error)
1171	// Imports the specified agent from a ZIP file.
1172	//
1173	// Uploads new intents and entity types without deleting the existing ones.
1174	// Intents and entity types with the same name are replaced with the new
1175	// versions from ImportAgentRequest.
1176	//
1177	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
1178	ImportAgent(context.Context, *ImportAgentRequest) (*longrunning.Operation, error)
1179	// Restores the specified agent from a ZIP file.
1180	//
1181	// Replaces the current agent version with a new one. All the intents and
1182	// entity types in the older version are deleted.
1183	//
1184	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
1185	RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error)
1186}
1187
1188func RegisterAgentsServer(s *grpc.Server, srv AgentsServer) {
1189	s.RegisterService(&_Agents_serviceDesc, srv)
1190}
1191
1192func _Agents_GetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1193	in := new(GetAgentRequest)
1194	if err := dec(in); err != nil {
1195		return nil, err
1196	}
1197	if interceptor == nil {
1198		return srv.(AgentsServer).GetAgent(ctx, in)
1199	}
1200	info := &grpc.UnaryServerInfo{
1201		Server:     srv,
1202		FullMethod: "/google.cloud.dialogflow.v2.Agents/GetAgent",
1203	}
1204	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1205		return srv.(AgentsServer).GetAgent(ctx, req.(*GetAgentRequest))
1206	}
1207	return interceptor(ctx, in, info, handler)
1208}
1209
1210func _Agents_SetAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1211	in := new(SetAgentRequest)
1212	if err := dec(in); err != nil {
1213		return nil, err
1214	}
1215	if interceptor == nil {
1216		return srv.(AgentsServer).SetAgent(ctx, in)
1217	}
1218	info := &grpc.UnaryServerInfo{
1219		Server:     srv,
1220		FullMethod: "/google.cloud.dialogflow.v2.Agents/SetAgent",
1221	}
1222	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1223		return srv.(AgentsServer).SetAgent(ctx, req.(*SetAgentRequest))
1224	}
1225	return interceptor(ctx, in, info, handler)
1226}
1227
1228func _Agents_DeleteAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1229	in := new(DeleteAgentRequest)
1230	if err := dec(in); err != nil {
1231		return nil, err
1232	}
1233	if interceptor == nil {
1234		return srv.(AgentsServer).DeleteAgent(ctx, in)
1235	}
1236	info := &grpc.UnaryServerInfo{
1237		Server:     srv,
1238		FullMethod: "/google.cloud.dialogflow.v2.Agents/DeleteAgent",
1239	}
1240	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1241		return srv.(AgentsServer).DeleteAgent(ctx, req.(*DeleteAgentRequest))
1242	}
1243	return interceptor(ctx, in, info, handler)
1244}
1245
1246func _Agents_SearchAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1247	in := new(SearchAgentsRequest)
1248	if err := dec(in); err != nil {
1249		return nil, err
1250	}
1251	if interceptor == nil {
1252		return srv.(AgentsServer).SearchAgents(ctx, in)
1253	}
1254	info := &grpc.UnaryServerInfo{
1255		Server:     srv,
1256		FullMethod: "/google.cloud.dialogflow.v2.Agents/SearchAgents",
1257	}
1258	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1259		return srv.(AgentsServer).SearchAgents(ctx, req.(*SearchAgentsRequest))
1260	}
1261	return interceptor(ctx, in, info, handler)
1262}
1263
1264func _Agents_TrainAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1265	in := new(TrainAgentRequest)
1266	if err := dec(in); err != nil {
1267		return nil, err
1268	}
1269	if interceptor == nil {
1270		return srv.(AgentsServer).TrainAgent(ctx, in)
1271	}
1272	info := &grpc.UnaryServerInfo{
1273		Server:     srv,
1274		FullMethod: "/google.cloud.dialogflow.v2.Agents/TrainAgent",
1275	}
1276	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1277		return srv.(AgentsServer).TrainAgent(ctx, req.(*TrainAgentRequest))
1278	}
1279	return interceptor(ctx, in, info, handler)
1280}
1281
1282func _Agents_ExportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1283	in := new(ExportAgentRequest)
1284	if err := dec(in); err != nil {
1285		return nil, err
1286	}
1287	if interceptor == nil {
1288		return srv.(AgentsServer).ExportAgent(ctx, in)
1289	}
1290	info := &grpc.UnaryServerInfo{
1291		Server:     srv,
1292		FullMethod: "/google.cloud.dialogflow.v2.Agents/ExportAgent",
1293	}
1294	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1295		return srv.(AgentsServer).ExportAgent(ctx, req.(*ExportAgentRequest))
1296	}
1297	return interceptor(ctx, in, info, handler)
1298}
1299
1300func _Agents_ImportAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1301	in := new(ImportAgentRequest)
1302	if err := dec(in); err != nil {
1303		return nil, err
1304	}
1305	if interceptor == nil {
1306		return srv.(AgentsServer).ImportAgent(ctx, in)
1307	}
1308	info := &grpc.UnaryServerInfo{
1309		Server:     srv,
1310		FullMethod: "/google.cloud.dialogflow.v2.Agents/ImportAgent",
1311	}
1312	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1313		return srv.(AgentsServer).ImportAgent(ctx, req.(*ImportAgentRequest))
1314	}
1315	return interceptor(ctx, in, info, handler)
1316}
1317
1318func _Agents_RestoreAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1319	in := new(RestoreAgentRequest)
1320	if err := dec(in); err != nil {
1321		return nil, err
1322	}
1323	if interceptor == nil {
1324		return srv.(AgentsServer).RestoreAgent(ctx, in)
1325	}
1326	info := &grpc.UnaryServerInfo{
1327		Server:     srv,
1328		FullMethod: "/google.cloud.dialogflow.v2.Agents/RestoreAgent",
1329	}
1330	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1331		return srv.(AgentsServer).RestoreAgent(ctx, req.(*RestoreAgentRequest))
1332	}
1333	return interceptor(ctx, in, info, handler)
1334}
1335
1336var _Agents_serviceDesc = grpc.ServiceDesc{
1337	ServiceName: "google.cloud.dialogflow.v2.Agents",
1338	HandlerType: (*AgentsServer)(nil),
1339	Methods: []grpc.MethodDesc{
1340		{
1341			MethodName: "GetAgent",
1342			Handler:    _Agents_GetAgent_Handler,
1343		},
1344		{
1345			MethodName: "SetAgent",
1346			Handler:    _Agents_SetAgent_Handler,
1347		},
1348		{
1349			MethodName: "DeleteAgent",
1350			Handler:    _Agents_DeleteAgent_Handler,
1351		},
1352		{
1353			MethodName: "SearchAgents",
1354			Handler:    _Agents_SearchAgents_Handler,
1355		},
1356		{
1357			MethodName: "TrainAgent",
1358			Handler:    _Agents_TrainAgent_Handler,
1359		},
1360		{
1361			MethodName: "ExportAgent",
1362			Handler:    _Agents_ExportAgent_Handler,
1363		},
1364		{
1365			MethodName: "ImportAgent",
1366			Handler:    _Agents_ImportAgent_Handler,
1367		},
1368		{
1369			MethodName: "RestoreAgent",
1370			Handler:    _Agents_RestoreAgent_Handler,
1371		},
1372	},
1373	Streams:  []grpc.StreamDesc{},
1374	Metadata: "google/cloud/dialogflow/v2/agent.proto",
1375}
1376