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