1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/dialogflow/v2beta1/entity_type.proto
3
4package dialogflow // import "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1"
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9import empty "github.com/golang/protobuf/ptypes/empty"
10import _ "github.com/golang/protobuf/ptypes/struct"
11import _ "google.golang.org/genproto/googleapis/api/annotations"
12import longrunning "google.golang.org/genproto/googleapis/longrunning"
13import field_mask "google.golang.org/genproto/protobuf/field_mask"
14
15import (
16	context "golang.org/x/net/context"
17	grpc "google.golang.org/grpc"
18)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
29const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
30
31// Represents kinds of entities.
32type EntityType_Kind int32
33
34const (
35	// Not specified. This value should be never used.
36	EntityType_KIND_UNSPECIFIED EntityType_Kind = 0
37	// Map entity types allow mapping of a group of synonyms to a canonical
38	// value.
39	EntityType_KIND_MAP EntityType_Kind = 1
40	// List entity types contain a set of entries that do not map to canonical
41	// values. However, list entity types can contain references to other entity
42	// types (with or without aliases).
43	EntityType_KIND_LIST EntityType_Kind = 2
44)
45
46var EntityType_Kind_name = map[int32]string{
47	0: "KIND_UNSPECIFIED",
48	1: "KIND_MAP",
49	2: "KIND_LIST",
50}
51var EntityType_Kind_value = map[string]int32{
52	"KIND_UNSPECIFIED": 0,
53	"KIND_MAP":         1,
54	"KIND_LIST":        2,
55}
56
57func (x EntityType_Kind) String() string {
58	return proto.EnumName(EntityType_Kind_name, int32(x))
59}
60func (EntityType_Kind) EnumDescriptor() ([]byte, []int) {
61	return fileDescriptor_entity_type_09eabae6717aed63, []int{0, 0}
62}
63
64// Represents different entity type expansion modes. Automated expansion
65// allows an agent to recognize values that have not been explicitly listed in
66// the entity (for example, new kinds of shopping list items).
67type EntityType_AutoExpansionMode int32
68
69const (
70	// Auto expansion disabled for the entity.
71	EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED EntityType_AutoExpansionMode = 0
72	// Allows an agent to recognize values that have not been explicitly
73	// listed in the entity.
74	EntityType_AUTO_EXPANSION_MODE_DEFAULT EntityType_AutoExpansionMode = 1
75)
76
77var EntityType_AutoExpansionMode_name = map[int32]string{
78	0: "AUTO_EXPANSION_MODE_UNSPECIFIED",
79	1: "AUTO_EXPANSION_MODE_DEFAULT",
80}
81var EntityType_AutoExpansionMode_value = map[string]int32{
82	"AUTO_EXPANSION_MODE_UNSPECIFIED": 0,
83	"AUTO_EXPANSION_MODE_DEFAULT":     1,
84}
85
86func (x EntityType_AutoExpansionMode) String() string {
87	return proto.EnumName(EntityType_AutoExpansionMode_name, int32(x))
88}
89func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int) {
90	return fileDescriptor_entity_type_09eabae6717aed63, []int{0, 1}
91}
92
93// Represents an entity type.
94// Entity types serve as a tool for extracting parameter values from natural
95// language queries.
96type EntityType struct {
97	// Required for all methods except `create` (`create` populates the name
98	// automatically.
99	// The unique identifier of the entity type. Format:
100	// `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
101	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
102	// Required. The name of the entity.
103	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
104	// Required. Indicates the kind of entity type.
105	Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.v2beta1.EntityType_Kind" json:"kind,omitempty"`
106	// Optional. Indicates whether the entity type can be automatically
107	// expanded.
108	AutoExpansionMode EntityType_AutoExpansionMode `protobuf:"varint,4,opt,name=auto_expansion_mode,json=autoExpansionMode,proto3,enum=google.cloud.dialogflow.v2beta1.EntityType_AutoExpansionMode" json:"auto_expansion_mode,omitempty"`
109	// Optional. The collection of entities associated with the entity type.
110	Entities             []*EntityType_Entity `protobuf:"bytes,6,rep,name=entities,proto3" json:"entities,omitempty"`
111	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
112	XXX_unrecognized     []byte               `json:"-"`
113	XXX_sizecache        int32                `json:"-"`
114}
115
116func (m *EntityType) Reset()         { *m = EntityType{} }
117func (m *EntityType) String() string { return proto.CompactTextString(m) }
118func (*EntityType) ProtoMessage()    {}
119func (*EntityType) Descriptor() ([]byte, []int) {
120	return fileDescriptor_entity_type_09eabae6717aed63, []int{0}
121}
122func (m *EntityType) XXX_Unmarshal(b []byte) error {
123	return xxx_messageInfo_EntityType.Unmarshal(m, b)
124}
125func (m *EntityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
126	return xxx_messageInfo_EntityType.Marshal(b, m, deterministic)
127}
128func (dst *EntityType) XXX_Merge(src proto.Message) {
129	xxx_messageInfo_EntityType.Merge(dst, src)
130}
131func (m *EntityType) XXX_Size() int {
132	return xxx_messageInfo_EntityType.Size(m)
133}
134func (m *EntityType) XXX_DiscardUnknown() {
135	xxx_messageInfo_EntityType.DiscardUnknown(m)
136}
137
138var xxx_messageInfo_EntityType proto.InternalMessageInfo
139
140func (m *EntityType) GetName() string {
141	if m != nil {
142		return m.Name
143	}
144	return ""
145}
146
147func (m *EntityType) GetDisplayName() string {
148	if m != nil {
149		return m.DisplayName
150	}
151	return ""
152}
153
154func (m *EntityType) GetKind() EntityType_Kind {
155	if m != nil {
156		return m.Kind
157	}
158	return EntityType_KIND_UNSPECIFIED
159}
160
161func (m *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode {
162	if m != nil {
163		return m.AutoExpansionMode
164	}
165	return EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED
166}
167
168func (m *EntityType) GetEntities() []*EntityType_Entity {
169	if m != nil {
170		return m.Entities
171	}
172	return nil
173}
174
175// Optional. Represents an entity.
176type EntityType_Entity struct {
177	// Required.
178	// For `KIND_MAP` entity types:
179	//   A canonical name to be used in place of synonyms.
180	// For `KIND_LIST` entity types:
181	//   A string that can contain references to other entity types (with or
182	//   without aliases).
183	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
184	// Required. A collection of synonyms. For `KIND_LIST` entity types this
185	// must contain exactly one synonym equal to `value`.
186	Synonyms             []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"`
187	XXX_NoUnkeyedLiteral struct{} `json:"-"`
188	XXX_unrecognized     []byte   `json:"-"`
189	XXX_sizecache        int32    `json:"-"`
190}
191
192func (m *EntityType_Entity) Reset()         { *m = EntityType_Entity{} }
193func (m *EntityType_Entity) String() string { return proto.CompactTextString(m) }
194func (*EntityType_Entity) ProtoMessage()    {}
195func (*EntityType_Entity) Descriptor() ([]byte, []int) {
196	return fileDescriptor_entity_type_09eabae6717aed63, []int{0, 0}
197}
198func (m *EntityType_Entity) XXX_Unmarshal(b []byte) error {
199	return xxx_messageInfo_EntityType_Entity.Unmarshal(m, b)
200}
201func (m *EntityType_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
202	return xxx_messageInfo_EntityType_Entity.Marshal(b, m, deterministic)
203}
204func (dst *EntityType_Entity) XXX_Merge(src proto.Message) {
205	xxx_messageInfo_EntityType_Entity.Merge(dst, src)
206}
207func (m *EntityType_Entity) XXX_Size() int {
208	return xxx_messageInfo_EntityType_Entity.Size(m)
209}
210func (m *EntityType_Entity) XXX_DiscardUnknown() {
211	xxx_messageInfo_EntityType_Entity.DiscardUnknown(m)
212}
213
214var xxx_messageInfo_EntityType_Entity proto.InternalMessageInfo
215
216func (m *EntityType_Entity) GetValue() string {
217	if m != nil {
218		return m.Value
219	}
220	return ""
221}
222
223func (m *EntityType_Entity) GetSynonyms() []string {
224	if m != nil {
225		return m.Synonyms
226	}
227	return nil
228}
229
230// The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
231type ListEntityTypesRequest struct {
232	// Required. The agent to list all entity types from.
233	// Format: `projects/<Project ID>/agent`.
234	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
235	// Optional. The language to list entity synonyms for. If not specified,
236	// the agent's default language is used.
237	// [More than a dozen
238	// languages](https://dialogflow.com/docs/reference/language) are supported.
239	// Note: languages must be enabled in the agent, before they can be used.
240	LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
241	// Optional. The maximum number of items to return in a single page. By
242	// default 100 and at most 1000.
243	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
244	// Optional. The next_page_token value returned from a previous list request.
245	PageToken            string   `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
246	XXX_NoUnkeyedLiteral struct{} `json:"-"`
247	XXX_unrecognized     []byte   `json:"-"`
248	XXX_sizecache        int32    `json:"-"`
249}
250
251func (m *ListEntityTypesRequest) Reset()         { *m = ListEntityTypesRequest{} }
252func (m *ListEntityTypesRequest) String() string { return proto.CompactTextString(m) }
253func (*ListEntityTypesRequest) ProtoMessage()    {}
254func (*ListEntityTypesRequest) Descriptor() ([]byte, []int) {
255	return fileDescriptor_entity_type_09eabae6717aed63, []int{1}
256}
257func (m *ListEntityTypesRequest) XXX_Unmarshal(b []byte) error {
258	return xxx_messageInfo_ListEntityTypesRequest.Unmarshal(m, b)
259}
260func (m *ListEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
261	return xxx_messageInfo_ListEntityTypesRequest.Marshal(b, m, deterministic)
262}
263func (dst *ListEntityTypesRequest) XXX_Merge(src proto.Message) {
264	xxx_messageInfo_ListEntityTypesRequest.Merge(dst, src)
265}
266func (m *ListEntityTypesRequest) XXX_Size() int {
267	return xxx_messageInfo_ListEntityTypesRequest.Size(m)
268}
269func (m *ListEntityTypesRequest) XXX_DiscardUnknown() {
270	xxx_messageInfo_ListEntityTypesRequest.DiscardUnknown(m)
271}
272
273var xxx_messageInfo_ListEntityTypesRequest proto.InternalMessageInfo
274
275func (m *ListEntityTypesRequest) GetParent() string {
276	if m != nil {
277		return m.Parent
278	}
279	return ""
280}
281
282func (m *ListEntityTypesRequest) GetLanguageCode() string {
283	if m != nil {
284		return m.LanguageCode
285	}
286	return ""
287}
288
289func (m *ListEntityTypesRequest) GetPageSize() int32 {
290	if m != nil {
291		return m.PageSize
292	}
293	return 0
294}
295
296func (m *ListEntityTypesRequest) GetPageToken() string {
297	if m != nil {
298		return m.PageToken
299	}
300	return ""
301}
302
303// The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
304type ListEntityTypesResponse struct {
305	// The list of agent entity types. There will be a maximum number of items
306	// returned based on the page_size field in the request.
307	EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"`
308	// Token to retrieve the next page of results, or empty if there are no
309	// more results in the list.
310	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
311	XXX_NoUnkeyedLiteral struct{} `json:"-"`
312	XXX_unrecognized     []byte   `json:"-"`
313	XXX_sizecache        int32    `json:"-"`
314}
315
316func (m *ListEntityTypesResponse) Reset()         { *m = ListEntityTypesResponse{} }
317func (m *ListEntityTypesResponse) String() string { return proto.CompactTextString(m) }
318func (*ListEntityTypesResponse) ProtoMessage()    {}
319func (*ListEntityTypesResponse) Descriptor() ([]byte, []int) {
320	return fileDescriptor_entity_type_09eabae6717aed63, []int{2}
321}
322func (m *ListEntityTypesResponse) XXX_Unmarshal(b []byte) error {
323	return xxx_messageInfo_ListEntityTypesResponse.Unmarshal(m, b)
324}
325func (m *ListEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
326	return xxx_messageInfo_ListEntityTypesResponse.Marshal(b, m, deterministic)
327}
328func (dst *ListEntityTypesResponse) XXX_Merge(src proto.Message) {
329	xxx_messageInfo_ListEntityTypesResponse.Merge(dst, src)
330}
331func (m *ListEntityTypesResponse) XXX_Size() int {
332	return xxx_messageInfo_ListEntityTypesResponse.Size(m)
333}
334func (m *ListEntityTypesResponse) XXX_DiscardUnknown() {
335	xxx_messageInfo_ListEntityTypesResponse.DiscardUnknown(m)
336}
337
338var xxx_messageInfo_ListEntityTypesResponse proto.InternalMessageInfo
339
340func (m *ListEntityTypesResponse) GetEntityTypes() []*EntityType {
341	if m != nil {
342		return m.EntityTypes
343	}
344	return nil
345}
346
347func (m *ListEntityTypesResponse) GetNextPageToken() string {
348	if m != nil {
349		return m.NextPageToken
350	}
351	return ""
352}
353
354// The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType].
355type GetEntityTypeRequest struct {
356	// Required. The name of the entity type.
357	// Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
358	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
359	// Optional. The language to retrieve entity synonyms for. If not specified,
360	// the agent's default language is used.
361	// [More than a dozen
362	// languages](https://dialogflow.com/docs/reference/language) are supported.
363	// Note: languages must be enabled in the agent, before they can be used.
364	LanguageCode         string   `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
365	XXX_NoUnkeyedLiteral struct{} `json:"-"`
366	XXX_unrecognized     []byte   `json:"-"`
367	XXX_sizecache        int32    `json:"-"`
368}
369
370func (m *GetEntityTypeRequest) Reset()         { *m = GetEntityTypeRequest{} }
371func (m *GetEntityTypeRequest) String() string { return proto.CompactTextString(m) }
372func (*GetEntityTypeRequest) ProtoMessage()    {}
373func (*GetEntityTypeRequest) Descriptor() ([]byte, []int) {
374	return fileDescriptor_entity_type_09eabae6717aed63, []int{3}
375}
376func (m *GetEntityTypeRequest) XXX_Unmarshal(b []byte) error {
377	return xxx_messageInfo_GetEntityTypeRequest.Unmarshal(m, b)
378}
379func (m *GetEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
380	return xxx_messageInfo_GetEntityTypeRequest.Marshal(b, m, deterministic)
381}
382func (dst *GetEntityTypeRequest) XXX_Merge(src proto.Message) {
383	xxx_messageInfo_GetEntityTypeRequest.Merge(dst, src)
384}
385func (m *GetEntityTypeRequest) XXX_Size() int {
386	return xxx_messageInfo_GetEntityTypeRequest.Size(m)
387}
388func (m *GetEntityTypeRequest) XXX_DiscardUnknown() {
389	xxx_messageInfo_GetEntityTypeRequest.DiscardUnknown(m)
390}
391
392var xxx_messageInfo_GetEntityTypeRequest proto.InternalMessageInfo
393
394func (m *GetEntityTypeRequest) GetName() string {
395	if m != nil {
396		return m.Name
397	}
398	return ""
399}
400
401func (m *GetEntityTypeRequest) GetLanguageCode() string {
402	if m != nil {
403		return m.LanguageCode
404	}
405	return ""
406}
407
408// The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType].
409type CreateEntityTypeRequest struct {
410	// Required. The agent to create a entity type for.
411	// Format: `projects/<Project ID>/agent`.
412	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
413	// Required. The entity type to create.
414	EntityType *EntityType `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
415	// Optional. The language of entity synonyms defined in `entity_type`. If not
416	// specified, the agent's default language is used.
417	// [More than a dozen
418	// languages](https://dialogflow.com/docs/reference/language) are supported.
419	// Note: languages must be enabled in the agent, before they can be used.
420	LanguageCode         string   `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
421	XXX_NoUnkeyedLiteral struct{} `json:"-"`
422	XXX_unrecognized     []byte   `json:"-"`
423	XXX_sizecache        int32    `json:"-"`
424}
425
426func (m *CreateEntityTypeRequest) Reset()         { *m = CreateEntityTypeRequest{} }
427func (m *CreateEntityTypeRequest) String() string { return proto.CompactTextString(m) }
428func (*CreateEntityTypeRequest) ProtoMessage()    {}
429func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int) {
430	return fileDescriptor_entity_type_09eabae6717aed63, []int{4}
431}
432func (m *CreateEntityTypeRequest) XXX_Unmarshal(b []byte) error {
433	return xxx_messageInfo_CreateEntityTypeRequest.Unmarshal(m, b)
434}
435func (m *CreateEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
436	return xxx_messageInfo_CreateEntityTypeRequest.Marshal(b, m, deterministic)
437}
438func (dst *CreateEntityTypeRequest) XXX_Merge(src proto.Message) {
439	xxx_messageInfo_CreateEntityTypeRequest.Merge(dst, src)
440}
441func (m *CreateEntityTypeRequest) XXX_Size() int {
442	return xxx_messageInfo_CreateEntityTypeRequest.Size(m)
443}
444func (m *CreateEntityTypeRequest) XXX_DiscardUnknown() {
445	xxx_messageInfo_CreateEntityTypeRequest.DiscardUnknown(m)
446}
447
448var xxx_messageInfo_CreateEntityTypeRequest proto.InternalMessageInfo
449
450func (m *CreateEntityTypeRequest) GetParent() string {
451	if m != nil {
452		return m.Parent
453	}
454	return ""
455}
456
457func (m *CreateEntityTypeRequest) GetEntityType() *EntityType {
458	if m != nil {
459		return m.EntityType
460	}
461	return nil
462}
463
464func (m *CreateEntityTypeRequest) GetLanguageCode() string {
465	if m != nil {
466		return m.LanguageCode
467	}
468	return ""
469}
470
471// The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType].
472type UpdateEntityTypeRequest struct {
473	// Required. The entity type to update.
474	// Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
475	EntityType *EntityType `protobuf:"bytes,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
476	// Optional. The language of entity synonyms defined in `entity_type`. If not
477	// specified, the agent's default language is used.
478	// [More than a dozen
479	// languages](https://dialogflow.com/docs/reference/language) are supported.
480	// Note: languages must be enabled in the agent, before they can be used.
481	LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
482	// Optional. The mask to control which fields get updated.
483	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
484	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
485	XXX_unrecognized     []byte                `json:"-"`
486	XXX_sizecache        int32                 `json:"-"`
487}
488
489func (m *UpdateEntityTypeRequest) Reset()         { *m = UpdateEntityTypeRequest{} }
490func (m *UpdateEntityTypeRequest) String() string { return proto.CompactTextString(m) }
491func (*UpdateEntityTypeRequest) ProtoMessage()    {}
492func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int) {
493	return fileDescriptor_entity_type_09eabae6717aed63, []int{5}
494}
495func (m *UpdateEntityTypeRequest) XXX_Unmarshal(b []byte) error {
496	return xxx_messageInfo_UpdateEntityTypeRequest.Unmarshal(m, b)
497}
498func (m *UpdateEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
499	return xxx_messageInfo_UpdateEntityTypeRequest.Marshal(b, m, deterministic)
500}
501func (dst *UpdateEntityTypeRequest) XXX_Merge(src proto.Message) {
502	xxx_messageInfo_UpdateEntityTypeRequest.Merge(dst, src)
503}
504func (m *UpdateEntityTypeRequest) XXX_Size() int {
505	return xxx_messageInfo_UpdateEntityTypeRequest.Size(m)
506}
507func (m *UpdateEntityTypeRequest) XXX_DiscardUnknown() {
508	xxx_messageInfo_UpdateEntityTypeRequest.DiscardUnknown(m)
509}
510
511var xxx_messageInfo_UpdateEntityTypeRequest proto.InternalMessageInfo
512
513func (m *UpdateEntityTypeRequest) GetEntityType() *EntityType {
514	if m != nil {
515		return m.EntityType
516	}
517	return nil
518}
519
520func (m *UpdateEntityTypeRequest) GetLanguageCode() string {
521	if m != nil {
522		return m.LanguageCode
523	}
524	return ""
525}
526
527func (m *UpdateEntityTypeRequest) GetUpdateMask() *field_mask.FieldMask {
528	if m != nil {
529		return m.UpdateMask
530	}
531	return nil
532}
533
534// The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType].
535type DeleteEntityTypeRequest struct {
536	// Required. The name of the entity type to delete.
537	// Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
538	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
539	XXX_NoUnkeyedLiteral struct{} `json:"-"`
540	XXX_unrecognized     []byte   `json:"-"`
541	XXX_sizecache        int32    `json:"-"`
542}
543
544func (m *DeleteEntityTypeRequest) Reset()         { *m = DeleteEntityTypeRequest{} }
545func (m *DeleteEntityTypeRequest) String() string { return proto.CompactTextString(m) }
546func (*DeleteEntityTypeRequest) ProtoMessage()    {}
547func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int) {
548	return fileDescriptor_entity_type_09eabae6717aed63, []int{6}
549}
550func (m *DeleteEntityTypeRequest) XXX_Unmarshal(b []byte) error {
551	return xxx_messageInfo_DeleteEntityTypeRequest.Unmarshal(m, b)
552}
553func (m *DeleteEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
554	return xxx_messageInfo_DeleteEntityTypeRequest.Marshal(b, m, deterministic)
555}
556func (dst *DeleteEntityTypeRequest) XXX_Merge(src proto.Message) {
557	xxx_messageInfo_DeleteEntityTypeRequest.Merge(dst, src)
558}
559func (m *DeleteEntityTypeRequest) XXX_Size() int {
560	return xxx_messageInfo_DeleteEntityTypeRequest.Size(m)
561}
562func (m *DeleteEntityTypeRequest) XXX_DiscardUnknown() {
563	xxx_messageInfo_DeleteEntityTypeRequest.DiscardUnknown(m)
564}
565
566var xxx_messageInfo_DeleteEntityTypeRequest proto.InternalMessageInfo
567
568func (m *DeleteEntityTypeRequest) GetName() string {
569	if m != nil {
570		return m.Name
571	}
572	return ""
573}
574
575// The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
576type BatchUpdateEntityTypesRequest struct {
577	// Required. The name of the agent to update or create entity types in.
578	// Format: `projects/<Project ID>/agent`.
579	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
580	// Required. The source of the entity type batch.
581	//
582	// For each entity type in the batch:
583	// * If `name` is specified, we update an existing entity type.
584	// * If `name` is not specified, we create a new entity type.
585	//
586	// Types that are valid to be assigned to EntityTypeBatch:
587	//	*BatchUpdateEntityTypesRequest_EntityTypeBatchUri
588	//	*BatchUpdateEntityTypesRequest_EntityTypeBatchInline
589	EntityTypeBatch isBatchUpdateEntityTypesRequest_EntityTypeBatch `protobuf_oneof:"entity_type_batch"`
590	// Optional. The language of entity synonyms defined in `entity_types`. If not
591	// specified, the agent's default language is used.
592	// [More than a dozen
593	// languages](https://dialogflow.com/docs/reference/language) are supported.
594	// Note: languages must be enabled in the agent, before they can be used.
595	LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
596	// Optional. The mask to control which fields get updated.
597	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
598	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
599	XXX_unrecognized     []byte                `json:"-"`
600	XXX_sizecache        int32                 `json:"-"`
601}
602
603func (m *BatchUpdateEntityTypesRequest) Reset()         { *m = BatchUpdateEntityTypesRequest{} }
604func (m *BatchUpdateEntityTypesRequest) String() string { return proto.CompactTextString(m) }
605func (*BatchUpdateEntityTypesRequest) ProtoMessage()    {}
606func (*BatchUpdateEntityTypesRequest) Descriptor() ([]byte, []int) {
607	return fileDescriptor_entity_type_09eabae6717aed63, []int{7}
608}
609func (m *BatchUpdateEntityTypesRequest) XXX_Unmarshal(b []byte) error {
610	return xxx_messageInfo_BatchUpdateEntityTypesRequest.Unmarshal(m, b)
611}
612func (m *BatchUpdateEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
613	return xxx_messageInfo_BatchUpdateEntityTypesRequest.Marshal(b, m, deterministic)
614}
615func (dst *BatchUpdateEntityTypesRequest) XXX_Merge(src proto.Message) {
616	xxx_messageInfo_BatchUpdateEntityTypesRequest.Merge(dst, src)
617}
618func (m *BatchUpdateEntityTypesRequest) XXX_Size() int {
619	return xxx_messageInfo_BatchUpdateEntityTypesRequest.Size(m)
620}
621func (m *BatchUpdateEntityTypesRequest) XXX_DiscardUnknown() {
622	xxx_messageInfo_BatchUpdateEntityTypesRequest.DiscardUnknown(m)
623}
624
625var xxx_messageInfo_BatchUpdateEntityTypesRequest proto.InternalMessageInfo
626
627func (m *BatchUpdateEntityTypesRequest) GetParent() string {
628	if m != nil {
629		return m.Parent
630	}
631	return ""
632}
633
634type isBatchUpdateEntityTypesRequest_EntityTypeBatch interface {
635	isBatchUpdateEntityTypesRequest_EntityTypeBatch()
636}
637
638type BatchUpdateEntityTypesRequest_EntityTypeBatchUri struct {
639	EntityTypeBatchUri string `protobuf:"bytes,2,opt,name=entity_type_batch_uri,json=entityTypeBatchUri,proto3,oneof"`
640}
641
642type BatchUpdateEntityTypesRequest_EntityTypeBatchInline struct {
643	EntityTypeBatchInline *EntityTypeBatch `protobuf:"bytes,3,opt,name=entity_type_batch_inline,json=entityTypeBatchInline,proto3,oneof"`
644}
645
646func (*BatchUpdateEntityTypesRequest_EntityTypeBatchUri) isBatchUpdateEntityTypesRequest_EntityTypeBatch() {
647}
648
649func (*BatchUpdateEntityTypesRequest_EntityTypeBatchInline) isBatchUpdateEntityTypesRequest_EntityTypeBatch() {
650}
651
652func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch {
653	if m != nil {
654		return m.EntityTypeBatch
655	}
656	return nil
657}
658
659func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string {
660	if x, ok := m.GetEntityTypeBatch().(*BatchUpdateEntityTypesRequest_EntityTypeBatchUri); ok {
661		return x.EntityTypeBatchUri
662	}
663	return ""
664}
665
666func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch {
667	if x, ok := m.GetEntityTypeBatch().(*BatchUpdateEntityTypesRequest_EntityTypeBatchInline); ok {
668		return x.EntityTypeBatchInline
669	}
670	return nil
671}
672
673func (m *BatchUpdateEntityTypesRequest) GetLanguageCode() string {
674	if m != nil {
675		return m.LanguageCode
676	}
677	return ""
678}
679
680func (m *BatchUpdateEntityTypesRequest) GetUpdateMask() *field_mask.FieldMask {
681	if m != nil {
682		return m.UpdateMask
683	}
684	return nil
685}
686
687// XXX_OneofFuncs is for the internal use of the proto package.
688func (*BatchUpdateEntityTypesRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
689	return _BatchUpdateEntityTypesRequest_OneofMarshaler, _BatchUpdateEntityTypesRequest_OneofUnmarshaler, _BatchUpdateEntityTypesRequest_OneofSizer, []interface{}{
690		(*BatchUpdateEntityTypesRequest_EntityTypeBatchUri)(nil),
691		(*BatchUpdateEntityTypesRequest_EntityTypeBatchInline)(nil),
692	}
693}
694
695func _BatchUpdateEntityTypesRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
696	m := msg.(*BatchUpdateEntityTypesRequest)
697	// entity_type_batch
698	switch x := m.EntityTypeBatch.(type) {
699	case *BatchUpdateEntityTypesRequest_EntityTypeBatchUri:
700		b.EncodeVarint(2<<3 | proto.WireBytes)
701		b.EncodeStringBytes(x.EntityTypeBatchUri)
702	case *BatchUpdateEntityTypesRequest_EntityTypeBatchInline:
703		b.EncodeVarint(3<<3 | proto.WireBytes)
704		if err := b.EncodeMessage(x.EntityTypeBatchInline); err != nil {
705			return err
706		}
707	case nil:
708	default:
709		return fmt.Errorf("BatchUpdateEntityTypesRequest.EntityTypeBatch has unexpected type %T", x)
710	}
711	return nil
712}
713
714func _BatchUpdateEntityTypesRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
715	m := msg.(*BatchUpdateEntityTypesRequest)
716	switch tag {
717	case 2: // entity_type_batch.entity_type_batch_uri
718		if wire != proto.WireBytes {
719			return true, proto.ErrInternalBadWireType
720		}
721		x, err := b.DecodeStringBytes()
722		m.EntityTypeBatch = &BatchUpdateEntityTypesRequest_EntityTypeBatchUri{x}
723		return true, err
724	case 3: // entity_type_batch.entity_type_batch_inline
725		if wire != proto.WireBytes {
726			return true, proto.ErrInternalBadWireType
727		}
728		msg := new(EntityTypeBatch)
729		err := b.DecodeMessage(msg)
730		m.EntityTypeBatch = &BatchUpdateEntityTypesRequest_EntityTypeBatchInline{msg}
731		return true, err
732	default:
733		return false, nil
734	}
735}
736
737func _BatchUpdateEntityTypesRequest_OneofSizer(msg proto.Message) (n int) {
738	m := msg.(*BatchUpdateEntityTypesRequest)
739	// entity_type_batch
740	switch x := m.EntityTypeBatch.(type) {
741	case *BatchUpdateEntityTypesRequest_EntityTypeBatchUri:
742		n += 1 // tag and wire
743		n += proto.SizeVarint(uint64(len(x.EntityTypeBatchUri)))
744		n += len(x.EntityTypeBatchUri)
745	case *BatchUpdateEntityTypesRequest_EntityTypeBatchInline:
746		s := proto.Size(x.EntityTypeBatchInline)
747		n += 1 // tag and wire
748		n += proto.SizeVarint(uint64(s))
749		n += s
750	case nil:
751	default:
752		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
753	}
754	return n
755}
756
757// The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
758type BatchUpdateEntityTypesResponse struct {
759	// The collection of updated or created entity types.
760	EntityTypes          []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"`
761	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
762	XXX_unrecognized     []byte        `json:"-"`
763	XXX_sizecache        int32         `json:"-"`
764}
765
766func (m *BatchUpdateEntityTypesResponse) Reset()         { *m = BatchUpdateEntityTypesResponse{} }
767func (m *BatchUpdateEntityTypesResponse) String() string { return proto.CompactTextString(m) }
768func (*BatchUpdateEntityTypesResponse) ProtoMessage()    {}
769func (*BatchUpdateEntityTypesResponse) Descriptor() ([]byte, []int) {
770	return fileDescriptor_entity_type_09eabae6717aed63, []int{8}
771}
772func (m *BatchUpdateEntityTypesResponse) XXX_Unmarshal(b []byte) error {
773	return xxx_messageInfo_BatchUpdateEntityTypesResponse.Unmarshal(m, b)
774}
775func (m *BatchUpdateEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
776	return xxx_messageInfo_BatchUpdateEntityTypesResponse.Marshal(b, m, deterministic)
777}
778func (dst *BatchUpdateEntityTypesResponse) XXX_Merge(src proto.Message) {
779	xxx_messageInfo_BatchUpdateEntityTypesResponse.Merge(dst, src)
780}
781func (m *BatchUpdateEntityTypesResponse) XXX_Size() int {
782	return xxx_messageInfo_BatchUpdateEntityTypesResponse.Size(m)
783}
784func (m *BatchUpdateEntityTypesResponse) XXX_DiscardUnknown() {
785	xxx_messageInfo_BatchUpdateEntityTypesResponse.DiscardUnknown(m)
786}
787
788var xxx_messageInfo_BatchUpdateEntityTypesResponse proto.InternalMessageInfo
789
790func (m *BatchUpdateEntityTypesResponse) GetEntityTypes() []*EntityType {
791	if m != nil {
792		return m.EntityTypes
793	}
794	return nil
795}
796
797// The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].
798type BatchDeleteEntityTypesRequest struct {
799	// Required. The name of the agent to delete all entities types for. Format:
800	// `projects/<Project ID>/agent`.
801	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
802	// Required. The names entity types to delete. All names must point to the
803	// same agent as `parent`.
804	EntityTypeNames      []string `protobuf:"bytes,2,rep,name=entity_type_names,json=entityTypeNames,proto3" json:"entity_type_names,omitempty"`
805	XXX_NoUnkeyedLiteral struct{} `json:"-"`
806	XXX_unrecognized     []byte   `json:"-"`
807	XXX_sizecache        int32    `json:"-"`
808}
809
810func (m *BatchDeleteEntityTypesRequest) Reset()         { *m = BatchDeleteEntityTypesRequest{} }
811func (m *BatchDeleteEntityTypesRequest) String() string { return proto.CompactTextString(m) }
812func (*BatchDeleteEntityTypesRequest) ProtoMessage()    {}
813func (*BatchDeleteEntityTypesRequest) Descriptor() ([]byte, []int) {
814	return fileDescriptor_entity_type_09eabae6717aed63, []int{9}
815}
816func (m *BatchDeleteEntityTypesRequest) XXX_Unmarshal(b []byte) error {
817	return xxx_messageInfo_BatchDeleteEntityTypesRequest.Unmarshal(m, b)
818}
819func (m *BatchDeleteEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
820	return xxx_messageInfo_BatchDeleteEntityTypesRequest.Marshal(b, m, deterministic)
821}
822func (dst *BatchDeleteEntityTypesRequest) XXX_Merge(src proto.Message) {
823	xxx_messageInfo_BatchDeleteEntityTypesRequest.Merge(dst, src)
824}
825func (m *BatchDeleteEntityTypesRequest) XXX_Size() int {
826	return xxx_messageInfo_BatchDeleteEntityTypesRequest.Size(m)
827}
828func (m *BatchDeleteEntityTypesRequest) XXX_DiscardUnknown() {
829	xxx_messageInfo_BatchDeleteEntityTypesRequest.DiscardUnknown(m)
830}
831
832var xxx_messageInfo_BatchDeleteEntityTypesRequest proto.InternalMessageInfo
833
834func (m *BatchDeleteEntityTypesRequest) GetParent() string {
835	if m != nil {
836		return m.Parent
837	}
838	return ""
839}
840
841func (m *BatchDeleteEntityTypesRequest) GetEntityTypeNames() []string {
842	if m != nil {
843		return m.EntityTypeNames
844	}
845	return nil
846}
847
848// The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].
849type BatchCreateEntitiesRequest struct {
850	// Required. The name of the entity type to create entities in. Format:
851	// `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
852	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
853	// Required. The collection of entities to create.
854	Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
855	// Optional. The language of entity synonyms defined in `entities`. If not
856	// specified, the agent's default language is used.
857	// [More than a dozen
858	// languages](https://dialogflow.com/docs/reference/language) are supported.
859	// Note: languages must be enabled in the agent, before they can be used.
860	LanguageCode         string   `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
861	XXX_NoUnkeyedLiteral struct{} `json:"-"`
862	XXX_unrecognized     []byte   `json:"-"`
863	XXX_sizecache        int32    `json:"-"`
864}
865
866func (m *BatchCreateEntitiesRequest) Reset()         { *m = BatchCreateEntitiesRequest{} }
867func (m *BatchCreateEntitiesRequest) String() string { return proto.CompactTextString(m) }
868func (*BatchCreateEntitiesRequest) ProtoMessage()    {}
869func (*BatchCreateEntitiesRequest) Descriptor() ([]byte, []int) {
870	return fileDescriptor_entity_type_09eabae6717aed63, []int{10}
871}
872func (m *BatchCreateEntitiesRequest) XXX_Unmarshal(b []byte) error {
873	return xxx_messageInfo_BatchCreateEntitiesRequest.Unmarshal(m, b)
874}
875func (m *BatchCreateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
876	return xxx_messageInfo_BatchCreateEntitiesRequest.Marshal(b, m, deterministic)
877}
878func (dst *BatchCreateEntitiesRequest) XXX_Merge(src proto.Message) {
879	xxx_messageInfo_BatchCreateEntitiesRequest.Merge(dst, src)
880}
881func (m *BatchCreateEntitiesRequest) XXX_Size() int {
882	return xxx_messageInfo_BatchCreateEntitiesRequest.Size(m)
883}
884func (m *BatchCreateEntitiesRequest) XXX_DiscardUnknown() {
885	xxx_messageInfo_BatchCreateEntitiesRequest.DiscardUnknown(m)
886}
887
888var xxx_messageInfo_BatchCreateEntitiesRequest proto.InternalMessageInfo
889
890func (m *BatchCreateEntitiesRequest) GetParent() string {
891	if m != nil {
892		return m.Parent
893	}
894	return ""
895}
896
897func (m *BatchCreateEntitiesRequest) GetEntities() []*EntityType_Entity {
898	if m != nil {
899		return m.Entities
900	}
901	return nil
902}
903
904func (m *BatchCreateEntitiesRequest) GetLanguageCode() string {
905	if m != nil {
906		return m.LanguageCode
907	}
908	return ""
909}
910
911// The response message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].
912type BatchUpdateEntitiesRequest struct {
913	// Required. The name of the entity type to update the entities in. Format:
914	// `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
915	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
916	// Required. The collection of new entities to replace the existing entities.
917	Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
918	// Optional. The language of entity synonyms defined in `entities`. If not
919	// specified, the agent's default language is used.
920	// [More than a dozen
921	// languages](https://dialogflow.com/docs/reference/language) are supported.
922	// Note: languages must be enabled in the agent, before they can be used.
923	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
924	// Optional. The mask to control which fields get updated.
925	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
926	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
927	XXX_unrecognized     []byte                `json:"-"`
928	XXX_sizecache        int32                 `json:"-"`
929}
930
931func (m *BatchUpdateEntitiesRequest) Reset()         { *m = BatchUpdateEntitiesRequest{} }
932func (m *BatchUpdateEntitiesRequest) String() string { return proto.CompactTextString(m) }
933func (*BatchUpdateEntitiesRequest) ProtoMessage()    {}
934func (*BatchUpdateEntitiesRequest) Descriptor() ([]byte, []int) {
935	return fileDescriptor_entity_type_09eabae6717aed63, []int{11}
936}
937func (m *BatchUpdateEntitiesRequest) XXX_Unmarshal(b []byte) error {
938	return xxx_messageInfo_BatchUpdateEntitiesRequest.Unmarshal(m, b)
939}
940func (m *BatchUpdateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
941	return xxx_messageInfo_BatchUpdateEntitiesRequest.Marshal(b, m, deterministic)
942}
943func (dst *BatchUpdateEntitiesRequest) XXX_Merge(src proto.Message) {
944	xxx_messageInfo_BatchUpdateEntitiesRequest.Merge(dst, src)
945}
946func (m *BatchUpdateEntitiesRequest) XXX_Size() int {
947	return xxx_messageInfo_BatchUpdateEntitiesRequest.Size(m)
948}
949func (m *BatchUpdateEntitiesRequest) XXX_DiscardUnknown() {
950	xxx_messageInfo_BatchUpdateEntitiesRequest.DiscardUnknown(m)
951}
952
953var xxx_messageInfo_BatchUpdateEntitiesRequest proto.InternalMessageInfo
954
955func (m *BatchUpdateEntitiesRequest) GetParent() string {
956	if m != nil {
957		return m.Parent
958	}
959	return ""
960}
961
962func (m *BatchUpdateEntitiesRequest) GetEntities() []*EntityType_Entity {
963	if m != nil {
964		return m.Entities
965	}
966	return nil
967}
968
969func (m *BatchUpdateEntitiesRequest) GetLanguageCode() string {
970	if m != nil {
971		return m.LanguageCode
972	}
973	return ""
974}
975
976func (m *BatchUpdateEntitiesRequest) GetUpdateMask() *field_mask.FieldMask {
977	if m != nil {
978		return m.UpdateMask
979	}
980	return nil
981}
982
983// The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities].
984type BatchDeleteEntitiesRequest struct {
985	// Required. The name of the entity type to delete entries for. Format:
986	// `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
987	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
988	// Required. The canonical `values` of the entities to delete. Note that
989	// these are not fully-qualified names, i.e. they don't start with
990	// `projects/<Project ID>`.
991	EntityValues []string `protobuf:"bytes,2,rep,name=entity_values,json=entityValues,proto3" json:"entity_values,omitempty"`
992	// Optional. The language of entity synonyms defined in `entities`. If not
993	// specified, the agent's default language is used.
994	// [More than a dozen
995	// languages](https://dialogflow.com/docs/reference/language) are supported.
996	// Note: languages must be enabled in the agent, before they can be used.
997	LanguageCode         string   `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
998	XXX_NoUnkeyedLiteral struct{} `json:"-"`
999	XXX_unrecognized     []byte   `json:"-"`
1000	XXX_sizecache        int32    `json:"-"`
1001}
1002
1003func (m *BatchDeleteEntitiesRequest) Reset()         { *m = BatchDeleteEntitiesRequest{} }
1004func (m *BatchDeleteEntitiesRequest) String() string { return proto.CompactTextString(m) }
1005func (*BatchDeleteEntitiesRequest) ProtoMessage()    {}
1006func (*BatchDeleteEntitiesRequest) Descriptor() ([]byte, []int) {
1007	return fileDescriptor_entity_type_09eabae6717aed63, []int{12}
1008}
1009func (m *BatchDeleteEntitiesRequest) XXX_Unmarshal(b []byte) error {
1010	return xxx_messageInfo_BatchDeleteEntitiesRequest.Unmarshal(m, b)
1011}
1012func (m *BatchDeleteEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1013	return xxx_messageInfo_BatchDeleteEntitiesRequest.Marshal(b, m, deterministic)
1014}
1015func (dst *BatchDeleteEntitiesRequest) XXX_Merge(src proto.Message) {
1016	xxx_messageInfo_BatchDeleteEntitiesRequest.Merge(dst, src)
1017}
1018func (m *BatchDeleteEntitiesRequest) XXX_Size() int {
1019	return xxx_messageInfo_BatchDeleteEntitiesRequest.Size(m)
1020}
1021func (m *BatchDeleteEntitiesRequest) XXX_DiscardUnknown() {
1022	xxx_messageInfo_BatchDeleteEntitiesRequest.DiscardUnknown(m)
1023}
1024
1025var xxx_messageInfo_BatchDeleteEntitiesRequest proto.InternalMessageInfo
1026
1027func (m *BatchDeleteEntitiesRequest) GetParent() string {
1028	if m != nil {
1029		return m.Parent
1030	}
1031	return ""
1032}
1033
1034func (m *BatchDeleteEntitiesRequest) GetEntityValues() []string {
1035	if m != nil {
1036		return m.EntityValues
1037	}
1038	return nil
1039}
1040
1041func (m *BatchDeleteEntitiesRequest) GetLanguageCode() string {
1042	if m != nil {
1043		return m.LanguageCode
1044	}
1045	return ""
1046}
1047
1048// This message is a wrapper around a collection of entity types.
1049type EntityTypeBatch struct {
1050	// A collection of entity types.
1051	EntityTypes          []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"`
1052	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
1053	XXX_unrecognized     []byte        `json:"-"`
1054	XXX_sizecache        int32         `json:"-"`
1055}
1056
1057func (m *EntityTypeBatch) Reset()         { *m = EntityTypeBatch{} }
1058func (m *EntityTypeBatch) String() string { return proto.CompactTextString(m) }
1059func (*EntityTypeBatch) ProtoMessage()    {}
1060func (*EntityTypeBatch) Descriptor() ([]byte, []int) {
1061	return fileDescriptor_entity_type_09eabae6717aed63, []int{13}
1062}
1063func (m *EntityTypeBatch) XXX_Unmarshal(b []byte) error {
1064	return xxx_messageInfo_EntityTypeBatch.Unmarshal(m, b)
1065}
1066func (m *EntityTypeBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1067	return xxx_messageInfo_EntityTypeBatch.Marshal(b, m, deterministic)
1068}
1069func (dst *EntityTypeBatch) XXX_Merge(src proto.Message) {
1070	xxx_messageInfo_EntityTypeBatch.Merge(dst, src)
1071}
1072func (m *EntityTypeBatch) XXX_Size() int {
1073	return xxx_messageInfo_EntityTypeBatch.Size(m)
1074}
1075func (m *EntityTypeBatch) XXX_DiscardUnknown() {
1076	xxx_messageInfo_EntityTypeBatch.DiscardUnknown(m)
1077}
1078
1079var xxx_messageInfo_EntityTypeBatch proto.InternalMessageInfo
1080
1081func (m *EntityTypeBatch) GetEntityTypes() []*EntityType {
1082	if m != nil {
1083		return m.EntityTypes
1084	}
1085	return nil
1086}
1087
1088func init() {
1089	proto.RegisterType((*EntityType)(nil), "google.cloud.dialogflow.v2beta1.EntityType")
1090	proto.RegisterType((*EntityType_Entity)(nil), "google.cloud.dialogflow.v2beta1.EntityType.Entity")
1091	proto.RegisterType((*ListEntityTypesRequest)(nil), "google.cloud.dialogflow.v2beta1.ListEntityTypesRequest")
1092	proto.RegisterType((*ListEntityTypesResponse)(nil), "google.cloud.dialogflow.v2beta1.ListEntityTypesResponse")
1093	proto.RegisterType((*GetEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.GetEntityTypeRequest")
1094	proto.RegisterType((*CreateEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest")
1095	proto.RegisterType((*UpdateEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest")
1096	proto.RegisterType((*DeleteEntityTypeRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest")
1097	proto.RegisterType((*BatchUpdateEntityTypesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest")
1098	proto.RegisterType((*BatchUpdateEntityTypesResponse)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse")
1099	proto.RegisterType((*BatchDeleteEntityTypesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest")
1100	proto.RegisterType((*BatchCreateEntitiesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest")
1101	proto.RegisterType((*BatchUpdateEntitiesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest")
1102	proto.RegisterType((*BatchDeleteEntitiesRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest")
1103	proto.RegisterType((*EntityTypeBatch)(nil), "google.cloud.dialogflow.v2beta1.EntityTypeBatch")
1104	proto.RegisterEnum("google.cloud.dialogflow.v2beta1.EntityType_Kind", EntityType_Kind_name, EntityType_Kind_value)
1105	proto.RegisterEnum("google.cloud.dialogflow.v2beta1.EntityType_AutoExpansionMode", EntityType_AutoExpansionMode_name, EntityType_AutoExpansionMode_value)
1106}
1107
1108// Reference imports to suppress errors if they are not otherwise used.
1109var _ context.Context
1110var _ grpc.ClientConn
1111
1112// This is a compile-time assertion to ensure that this generated file
1113// is compatible with the grpc package it is being compiled against.
1114const _ = grpc.SupportPackageIsVersion4
1115
1116// EntityTypesClient is the client API for EntityTypes service.
1117//
1118// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1119type EntityTypesClient interface {
1120	// Returns the list of all entity types in the specified agent.
1121	ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error)
1122	// Retrieves the specified entity type.
1123	GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
1124	// Creates an entity type in the specified agent.
1125	CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
1126	// Updates the specified entity type.
1127	UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
1128	// Deletes the specified entity type.
1129	DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error)
1130	// Updates/Creates multiple entity types in the specified agent.
1131	//
1132	// Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse],
1133	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
1134	BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1135	// Deletes entity types in the specified agent.
1136	//
1137	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
1138	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
1139	BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1140	// Creates multiple new entities in the specified entity type (extends the
1141	// existing collection of entries).
1142	//
1143	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
1144	BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1145	// Updates entities in the specified entity type (replaces the existing
1146	// collection of entries).
1147	//
1148	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
1149	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
1150	BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1151	// Deletes entities in the specified entity type.
1152	//
1153	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
1154	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
1155	BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1156}
1157
1158type entityTypesClient struct {
1159	cc *grpc.ClientConn
1160}
1161
1162func NewEntityTypesClient(cc *grpc.ClientConn) EntityTypesClient {
1163	return &entityTypesClient{cc}
1164}
1165
1166func (c *entityTypesClient) ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error) {
1167	out := new(ListEntityTypesResponse)
1168	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/ListEntityTypes", in, out, opts...)
1169	if err != nil {
1170		return nil, err
1171	}
1172	return out, nil
1173}
1174
1175func (c *entityTypesClient) GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) {
1176	out := new(EntityType)
1177	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/GetEntityType", in, out, opts...)
1178	if err != nil {
1179		return nil, err
1180	}
1181	return out, nil
1182}
1183
1184func (c *entityTypesClient) CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) {
1185	out := new(EntityType)
1186	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/CreateEntityType", in, out, opts...)
1187	if err != nil {
1188		return nil, err
1189	}
1190	return out, nil
1191}
1192
1193func (c *entityTypesClient) UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) {
1194	out := new(EntityType)
1195	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/UpdateEntityType", in, out, opts...)
1196	if err != nil {
1197		return nil, err
1198	}
1199	return out, nil
1200}
1201
1202func (c *entityTypesClient) DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
1203	out := new(empty.Empty)
1204	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/DeleteEntityType", in, out, opts...)
1205	if err != nil {
1206		return nil, err
1207	}
1208	return out, nil
1209}
1210
1211func (c *entityTypesClient) BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1212	out := new(longrunning.Operation)
1213	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntityTypes", in, out, opts...)
1214	if err != nil {
1215		return nil, err
1216	}
1217	return out, nil
1218}
1219
1220func (c *entityTypesClient) BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1221	out := new(longrunning.Operation)
1222	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntityTypes", in, out, opts...)
1223	if err != nil {
1224		return nil, err
1225	}
1226	return out, nil
1227}
1228
1229func (c *entityTypesClient) BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1230	out := new(longrunning.Operation)
1231	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchCreateEntities", in, out, opts...)
1232	if err != nil {
1233		return nil, err
1234	}
1235	return out, nil
1236}
1237
1238func (c *entityTypesClient) BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1239	out := new(longrunning.Operation)
1240	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntities", in, out, opts...)
1241	if err != nil {
1242		return nil, err
1243	}
1244	return out, nil
1245}
1246
1247func (c *entityTypesClient) BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1248	out := new(longrunning.Operation)
1249	err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntities", in, out, opts...)
1250	if err != nil {
1251		return nil, err
1252	}
1253	return out, nil
1254}
1255
1256// EntityTypesServer is the server API for EntityTypes service.
1257type EntityTypesServer interface {
1258	// Returns the list of all entity types in the specified agent.
1259	ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
1260	// Retrieves the specified entity type.
1261	GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
1262	// Creates an entity type in the specified agent.
1263	CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
1264	// Updates the specified entity type.
1265	UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
1266	// Deletes the specified entity type.
1267	DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*empty.Empty, error)
1268	// Updates/Creates multiple entity types in the specified agent.
1269	//
1270	// Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse],
1271	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
1272	BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error)
1273	// Deletes entity types in the specified agent.
1274	//
1275	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
1276	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
1277	BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error)
1278	// Creates multiple new entities in the specified entity type (extends the
1279	// existing collection of entries).
1280	//
1281	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
1282	BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*longrunning.Operation, error)
1283	// Updates entities in the specified entity type (replaces the existing
1284	// collection of entries).
1285	//
1286	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
1287	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
1288	BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunning.Operation, error)
1289	// Deletes entities in the specified entity type.
1290	//
1291	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
1292	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
1293	BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunning.Operation, error)
1294}
1295
1296func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer) {
1297	s.RegisterService(&_EntityTypes_serviceDesc, srv)
1298}
1299
1300func _EntityTypes_ListEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1301	in := new(ListEntityTypesRequest)
1302	if err := dec(in); err != nil {
1303		return nil, err
1304	}
1305	if interceptor == nil {
1306		return srv.(EntityTypesServer).ListEntityTypes(ctx, in)
1307	}
1308	info := &grpc.UnaryServerInfo{
1309		Server:     srv,
1310		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/ListEntityTypes",
1311	}
1312	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1313		return srv.(EntityTypesServer).ListEntityTypes(ctx, req.(*ListEntityTypesRequest))
1314	}
1315	return interceptor(ctx, in, info, handler)
1316}
1317
1318func _EntityTypes_GetEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1319	in := new(GetEntityTypeRequest)
1320	if err := dec(in); err != nil {
1321		return nil, err
1322	}
1323	if interceptor == nil {
1324		return srv.(EntityTypesServer).GetEntityType(ctx, in)
1325	}
1326	info := &grpc.UnaryServerInfo{
1327		Server:     srv,
1328		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/GetEntityType",
1329	}
1330	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1331		return srv.(EntityTypesServer).GetEntityType(ctx, req.(*GetEntityTypeRequest))
1332	}
1333	return interceptor(ctx, in, info, handler)
1334}
1335
1336func _EntityTypes_CreateEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1337	in := new(CreateEntityTypeRequest)
1338	if err := dec(in); err != nil {
1339		return nil, err
1340	}
1341	if interceptor == nil {
1342		return srv.(EntityTypesServer).CreateEntityType(ctx, in)
1343	}
1344	info := &grpc.UnaryServerInfo{
1345		Server:     srv,
1346		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/CreateEntityType",
1347	}
1348	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1349		return srv.(EntityTypesServer).CreateEntityType(ctx, req.(*CreateEntityTypeRequest))
1350	}
1351	return interceptor(ctx, in, info, handler)
1352}
1353
1354func _EntityTypes_UpdateEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1355	in := new(UpdateEntityTypeRequest)
1356	if err := dec(in); err != nil {
1357		return nil, err
1358	}
1359	if interceptor == nil {
1360		return srv.(EntityTypesServer).UpdateEntityType(ctx, in)
1361	}
1362	info := &grpc.UnaryServerInfo{
1363		Server:     srv,
1364		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/UpdateEntityType",
1365	}
1366	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1367		return srv.(EntityTypesServer).UpdateEntityType(ctx, req.(*UpdateEntityTypeRequest))
1368	}
1369	return interceptor(ctx, in, info, handler)
1370}
1371
1372func _EntityTypes_DeleteEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1373	in := new(DeleteEntityTypeRequest)
1374	if err := dec(in); err != nil {
1375		return nil, err
1376	}
1377	if interceptor == nil {
1378		return srv.(EntityTypesServer).DeleteEntityType(ctx, in)
1379	}
1380	info := &grpc.UnaryServerInfo{
1381		Server:     srv,
1382		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/DeleteEntityType",
1383	}
1384	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1385		return srv.(EntityTypesServer).DeleteEntityType(ctx, req.(*DeleteEntityTypeRequest))
1386	}
1387	return interceptor(ctx, in, info, handler)
1388}
1389
1390func _EntityTypes_BatchUpdateEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1391	in := new(BatchUpdateEntityTypesRequest)
1392	if err := dec(in); err != nil {
1393		return nil, err
1394	}
1395	if interceptor == nil {
1396		return srv.(EntityTypesServer).BatchUpdateEntityTypes(ctx, in)
1397	}
1398	info := &grpc.UnaryServerInfo{
1399		Server:     srv,
1400		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntityTypes",
1401	}
1402	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1403		return srv.(EntityTypesServer).BatchUpdateEntityTypes(ctx, req.(*BatchUpdateEntityTypesRequest))
1404	}
1405	return interceptor(ctx, in, info, handler)
1406}
1407
1408func _EntityTypes_BatchDeleteEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1409	in := new(BatchDeleteEntityTypesRequest)
1410	if err := dec(in); err != nil {
1411		return nil, err
1412	}
1413	if interceptor == nil {
1414		return srv.(EntityTypesServer).BatchDeleteEntityTypes(ctx, in)
1415	}
1416	info := &grpc.UnaryServerInfo{
1417		Server:     srv,
1418		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntityTypes",
1419	}
1420	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1421		return srv.(EntityTypesServer).BatchDeleteEntityTypes(ctx, req.(*BatchDeleteEntityTypesRequest))
1422	}
1423	return interceptor(ctx, in, info, handler)
1424}
1425
1426func _EntityTypes_BatchCreateEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1427	in := new(BatchCreateEntitiesRequest)
1428	if err := dec(in); err != nil {
1429		return nil, err
1430	}
1431	if interceptor == nil {
1432		return srv.(EntityTypesServer).BatchCreateEntities(ctx, in)
1433	}
1434	info := &grpc.UnaryServerInfo{
1435		Server:     srv,
1436		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchCreateEntities",
1437	}
1438	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1439		return srv.(EntityTypesServer).BatchCreateEntities(ctx, req.(*BatchCreateEntitiesRequest))
1440	}
1441	return interceptor(ctx, in, info, handler)
1442}
1443
1444func _EntityTypes_BatchUpdateEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1445	in := new(BatchUpdateEntitiesRequest)
1446	if err := dec(in); err != nil {
1447		return nil, err
1448	}
1449	if interceptor == nil {
1450		return srv.(EntityTypesServer).BatchUpdateEntities(ctx, in)
1451	}
1452	info := &grpc.UnaryServerInfo{
1453		Server:     srv,
1454		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntities",
1455	}
1456	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1457		return srv.(EntityTypesServer).BatchUpdateEntities(ctx, req.(*BatchUpdateEntitiesRequest))
1458	}
1459	return interceptor(ctx, in, info, handler)
1460}
1461
1462func _EntityTypes_BatchDeleteEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1463	in := new(BatchDeleteEntitiesRequest)
1464	if err := dec(in); err != nil {
1465		return nil, err
1466	}
1467	if interceptor == nil {
1468		return srv.(EntityTypesServer).BatchDeleteEntities(ctx, in)
1469	}
1470	info := &grpc.UnaryServerInfo{
1471		Server:     srv,
1472		FullMethod: "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntities",
1473	}
1474	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1475		return srv.(EntityTypesServer).BatchDeleteEntities(ctx, req.(*BatchDeleteEntitiesRequest))
1476	}
1477	return interceptor(ctx, in, info, handler)
1478}
1479
1480var _EntityTypes_serviceDesc = grpc.ServiceDesc{
1481	ServiceName: "google.cloud.dialogflow.v2beta1.EntityTypes",
1482	HandlerType: (*EntityTypesServer)(nil),
1483	Methods: []grpc.MethodDesc{
1484		{
1485			MethodName: "ListEntityTypes",
1486			Handler:    _EntityTypes_ListEntityTypes_Handler,
1487		},
1488		{
1489			MethodName: "GetEntityType",
1490			Handler:    _EntityTypes_GetEntityType_Handler,
1491		},
1492		{
1493			MethodName: "CreateEntityType",
1494			Handler:    _EntityTypes_CreateEntityType_Handler,
1495		},
1496		{
1497			MethodName: "UpdateEntityType",
1498			Handler:    _EntityTypes_UpdateEntityType_Handler,
1499		},
1500		{
1501			MethodName: "DeleteEntityType",
1502			Handler:    _EntityTypes_DeleteEntityType_Handler,
1503		},
1504		{
1505			MethodName: "BatchUpdateEntityTypes",
1506			Handler:    _EntityTypes_BatchUpdateEntityTypes_Handler,
1507		},
1508		{
1509			MethodName: "BatchDeleteEntityTypes",
1510			Handler:    _EntityTypes_BatchDeleteEntityTypes_Handler,
1511		},
1512		{
1513			MethodName: "BatchCreateEntities",
1514			Handler:    _EntityTypes_BatchCreateEntities_Handler,
1515		},
1516		{
1517			MethodName: "BatchUpdateEntities",
1518			Handler:    _EntityTypes_BatchUpdateEntities_Handler,
1519		},
1520		{
1521			MethodName: "BatchDeleteEntities",
1522			Handler:    _EntityTypes_BatchDeleteEntities_Handler,
1523		},
1524	},
1525	Streams:  []grpc.StreamDesc{},
1526	Metadata: "google/cloud/dialogflow/v2beta1/entity_type.proto",
1527}
1528
1529func init() {
1530	proto.RegisterFile("google/cloud/dialogflow/v2beta1/entity_type.proto", fileDescriptor_entity_type_09eabae6717aed63)
1531}
1532
1533var fileDescriptor_entity_type_09eabae6717aed63 = []byte{
1534	// 1236 bytes of a gzipped FileDescriptorProto
1535	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcf, 0x6e, 0xe3, 0xd4,
1536	0x17, 0x9e, 0x9b, 0xa6, 0x55, 0x7b, 0xd2, 0x4e, 0xd3, 0xdb, 0x4e, 0x1b, 0xa5, 0xd3, 0x5f, 0xfb,
1537	0x73, 0x25, 0x54, 0x15, 0x11, 0xcf, 0x64, 0xc4, 0xbf, 0x56, 0x05, 0xb5, 0x4d, 0x3a, 0x13, 0xa6,
1538	0x4d, 0x22, 0xb7, 0x1d, 0x01, 0x1b, 0xcb, 0x4d, 0x6e, 0x83, 0xa9, 0x73, 0xaf, 0x89, 0xed, 0x61,
1539	0x32, 0x68, 0x58, 0xf0, 0x06, 0x88, 0x1d, 0x62, 0x85, 0xd8, 0x00, 0xe2, 0x0d, 0x10, 0x1b, 0x56,
1540	0xb0, 0x42, 0xe2, 0x15, 0x10, 0xcf, 0x80, 0xc4, 0x06, 0xf9, 0xda, 0x8e, 0x1d, 0xc7, 0xc1, 0x36,
1541	0xcc, 0x8c, 0xd8, 0xe5, 0xfe, 0x39, 0xe7, 0x7c, 0xdf, 0x39, 0xe7, 0xde, 0xef, 0x3a, 0x70, 0xbb,
1542	0xc3, 0x58, 0x47, 0x23, 0x62, 0x4b, 0x63, 0x56, 0x5b, 0x6c, 0xab, 0x8a, 0xc6, 0x3a, 0x97, 0x1a,
1543	0xfb, 0x50, 0x7c, 0x58, 0xbe, 0x20, 0xa6, 0x72, 0x5b, 0x24, 0xd4, 0x54, 0xcd, 0xbe, 0x6c, 0xf6,
1544	0x75, 0x52, 0xd2, 0x7b, 0xcc, 0x64, 0x78, 0xdd, 0x31, 0x29, 0x71, 0x93, 0x92, 0x6f, 0x52, 0x72,
1545	0x4d, 0x8a, 0x37, 0x5d, 0x9f, 0x8a, 0xae, 0x8a, 0x0a, 0xa5, 0xcc, 0x54, 0x4c, 0x95, 0x51, 0xc3,
1546	0x31, 0x2f, 0x6e, 0xba, 0xab, 0x1a, 0xa3, 0x9d, 0x9e, 0x45, 0xa9, 0x4a, 0x3b, 0x22, 0xd3, 0x49,
1547	0x6f, 0x68, 0xd3, 0xaa, 0xbb, 0x89, 0x8f, 0x2e, 0xac, 0x4b, 0x91, 0x74, 0x75, 0xb3, 0xef, 0x2e,
1548	0x6e, 0x84, 0x17, 0x2f, 0x55, 0xa2, 0xb5, 0xe5, 0xae, 0x62, 0x5c, 0xb9, 0x3b, 0x6e, 0x86, 0x77,
1549	0x18, 0x66, 0xcf, 0x6a, 0x99, 0xce, 0xaa, 0xf0, 0x79, 0x16, 0xa0, 0xca, 0x69, 0x9d, 0xf5, 0x75,
1550	0x82, 0x31, 0x64, 0xa9, 0xd2, 0x25, 0x05, 0xb4, 0x81, 0xb6, 0x66, 0x24, 0xfe, 0x1b, 0xff, 0x1f,
1551	0x66, 0xdb, 0xaa, 0xa1, 0x6b, 0x4a, 0x5f, 0xe6, 0x6b, 0x19, 0xbe, 0x96, 0x73, 0xe7, 0xea, 0xf6,
1552	0x96, 0x0a, 0x64, 0xaf, 0x54, 0xda, 0x2e, 0x4c, 0x6c, 0xa0, 0xad, 0xeb, 0xe5, 0x5b, 0xa5, 0x98,
1553	0xac, 0x94, 0xfc, 0x88, 0xa5, 0xfb, 0x2a, 0x6d, 0x4b, 0xdc, 0x1a, 0x77, 0x61, 0x51, 0xb1, 0x4c,
1554	0x26, 0x93, 0x47, 0xba, 0x42, 0x0d, 0x95, 0x51, 0xb9, 0xcb, 0xda, 0xa4, 0x90, 0xe5, 0x4e, 0xf7,
1555	0xd2, 0x38, 0xdd, 0xb7, 0x4c, 0x56, 0xf5, 0xbc, 0x9c, 0xb0, 0x36, 0x91, 0x16, 0x94, 0xf0, 0x14,
1556	0xae, 0xc3, 0x34, 0x2f, 0xa8, 0x4a, 0x8c, 0xc2, 0xd4, 0xc6, 0xc4, 0x56, 0xae, 0x5c, 0x4e, 0x13,
1557	0xc3, 0xf9, 0x29, 0x0d, 0x7c, 0x14, 0x77, 0x60, 0xca, 0x99, 0xc3, 0x4b, 0x30, 0xf9, 0x50, 0xd1,
1558	0x2c, 0x2f, 0x8d, 0xce, 0x00, 0x17, 0x61, 0xda, 0xe8, 0x53, 0x46, 0xfb, 0x5d, 0xa3, 0x90, 0xd9,
1559	0x98, 0xd8, 0x9a, 0x91, 0x06, 0x63, 0xe1, 0x75, 0xc8, 0xda, 0x89, 0xc0, 0x4b, 0x90, 0xbf, 0x5f,
1560	0xab, 0x57, 0xe4, 0xf3, 0xfa, 0x69, 0xb3, 0x7a, 0x58, 0x3b, 0xaa, 0x55, 0x2b, 0xf9, 0x6b, 0x78,
1561	0x16, 0xa6, 0xf9, 0xec, 0xc9, 0x7e, 0x33, 0x8f, 0xf0, 0x1c, 0xcc, 0xf0, 0xd1, 0x71, 0xed, 0xf4,
1562	0x2c, 0x9f, 0x11, 0xde, 0x81, 0x85, 0x11, 0xba, 0x78, 0x13, 0xd6, 0xf7, 0xcf, 0xcf, 0x1a, 0x72,
1563	0xf5, 0xed, 0xe6, 0x7e, 0xfd, 0xb4, 0xd6, 0xa8, 0xcb, 0x27, 0x8d, 0x4a, 0x35, 0xe4, 0x76, 0x1d,
1564	0x56, 0xa3, 0x36, 0x55, 0xaa, 0x47, 0xfb, 0xe7, 0xc7, 0x67, 0x79, 0x24, 0x7c, 0x8a, 0x60, 0xf9,
1565	0x58, 0x35, 0x4c, 0x9f, 0xb5, 0x21, 0x91, 0x0f, 0x2c, 0x62, 0x98, 0x78, 0x19, 0xa6, 0x74, 0xa5,
1566	0x47, 0xa8, 0xe9, 0x72, 0x74, 0x47, 0x78, 0x13, 0xe6, 0x34, 0x85, 0x76, 0x2c, 0xa5, 0x43, 0xe4,
1567	0x96, 0x5d, 0x3d, 0xa7, 0x5b, 0x66, 0xbd, 0xc9, 0x43, 0x1b, 0xdd, 0x2a, 0xcc, 0xe8, 0xf6, 0x06,
1568	0x43, 0x7d, 0x4c, 0x78, 0xcf, 0x4c, 0x4a, 0xd3, 0xf6, 0xc4, 0xa9, 0xfa, 0x98, 0xe0, 0x35, 0x00,
1569	0xbe, 0x68, 0xb2, 0x2b, 0x42, 0x79, 0xf1, 0x67, 0x24, 0xbe, 0xfd, 0xcc, 0x9e, 0xb0, 0x31, 0xad,
1570	0x8c, 0x60, 0x32, 0x74, 0x46, 0x0d, 0xbb, 0xa2, 0xb3, 0x81, 0x23, 0x6a, 0x14, 0x10, 0xaf, 0xea,
1571	0x8b, 0x29, 0xaa, 0x2a, 0xe5, 0x88, 0xef, 0x17, 0xbf, 0x00, 0xf3, 0x94, 0x3c, 0x32, 0xe5, 0x00,
1572	0x1e, 0x87, 0xce, 0x9c, 0x3d, 0xdd, 0x1c, 0x60, 0x6a, 0xc0, 0xd2, 0x5d, 0x12, 0x40, 0xe4, 0x25,
1573	0x29, 0xea, 0x34, 0x25, 0x49, 0x90, 0xf0, 0x15, 0x82, 0x95, 0xc3, 0x1e, 0x51, 0x4c, 0x32, 0xea,
1574	0x74, 0x5c, 0xe6, 0x8f, 0x21, 0x17, 0x20, 0xcf, 0xdd, 0xa6, 0xe4, 0x0e, 0x3e, 0xf7, 0x51, 0x98,
1575	0x13, 0x11, 0x30, 0x7f, 0x42, 0xb0, 0x72, 0xae, 0xb7, 0x23, 0x61, 0x86, 0xe0, 0xa0, 0xa7, 0x0c,
1576	0x27, 0xaa, 0xad, 0x76, 0x21, 0x67, 0x71, 0x34, 0xfc, 0xfa, 0xe3, 0x88, 0x73, 0xe5, 0xa2, 0x17,
1577	0xd2, 0xbb, 0xff, 0x4a, 0x47, 0xf6, 0x0d, 0x79, 0xa2, 0x18, 0x57, 0x12, 0x38, 0xdb, 0xed, 0xdf,
1578	0xc2, 0x4b, 0xb0, 0x52, 0x21, 0x1a, 0x89, 0xa2, 0x12, 0x51, 0x46, 0xe1, 0x97, 0x0c, 0xac, 0x1d,
1579	0x28, 0x66, 0xeb, 0xbd, 0x30, 0xff, 0xd8, 0x13, 0x72, 0x07, 0x6e, 0x04, 0x12, 0x23, 0x5f, 0xd8,
1580	0x4e, 0x64, 0xab, 0xa7, 0x3a, 0x94, 0xee, 0x5d, 0x93, 0xb0, 0xcf, 0xdb, 0x89, 0xd0, 0x53, 0xf1,
1581	0x15, 0x14, 0x46, 0x8d, 0x54, 0xaa, 0xa9, 0x94, 0xb8, 0x3c, 0xd3, 0x5c, 0xba, 0xdc, 0xed, 0xbd,
1582	0x6b, 0xd2, 0x8d, 0x50, 0xa4, 0x1a, 0x77, 0x38, 0x9a, 0xec, 0x6c, 0x7c, 0xb2, 0x27, 0xd3, 0x24,
1583	0xfb, 0x60, 0x11, 0x16, 0x46, 0xe8, 0x08, 0x3a, 0xfc, 0x6f, 0x5c, 0x46, 0x9f, 0xcd, 0xf9, 0x16,
1584	0x5a, 0x6e, 0x0d, 0xc3, 0x85, 0x8f, 0xad, 0xe1, 0xf6, 0x30, 0x7e, 0xbb, 0x23, 0xbc, 0x3b, 0x7d,
1585	0xde, 0x0f, 0x60, 0x4b, 0xa3, 0x21, 0x7c, 0x8d, 0xa0, 0xc8, 0xa3, 0x04, 0x0e, 0xb4, 0x1a, 0x1f,
1586	0x22, 0xa8, 0x4e, 0x99, 0x7f, 0xaf, 0x4e, 0xc9, 0x0e, 0xf4, 0xef, 0x1e, 0xd6, 0x40, 0x0d, 0xfe,
1587	0xa3, 0x58, 0xc3, 0x0d, 0x98, 0x4d, 0x75, 0xda, 0x3f, 0x76, 0x79, 0x06, 0x2a, 0xaf, 0x26, 0x12,
1588	0x37, 0xb7, 0xec, 0x5c, 0xd1, 0xbd, 0x92, 0xbb, 0x4d, 0xf9, 0x80, 0xcf, 0x25, 0x4b, 0xb4, 0x02,
1589	0xf3, 0xa1, 0xe3, 0xf8, 0xb4, 0x9b, 0xbb, 0xfc, 0xe7, 0x75, 0xc8, 0x05, 0x5a, 0x1a, 0x7f, 0x8f,
1590	0x60, 0x3e, 0x24, 0x9c, 0xf8, 0xd5, 0x58, 0xef, 0xd1, 0xf2, 0x5f, 0x7c, 0x2d, 0xbd, 0xa1, 0x73,
1591	0x86, 0x85, 0x57, 0x3e, 0xf9, 0xf5, 0xb7, 0xcf, 0x32, 0xb7, 0x70, 0x69, 0xf0, 0xaa, 0xfe, 0xc8,
1592	0xc9, 0xee, 0x9e, 0xde, 0x63, 0xef, 0x93, 0x96, 0x69, 0x88, 0xdb, 0xa2, 0xd2, 0x21, 0xd4, 0x7c,
1593	0x22, 0x06, 0xb5, 0xf8, 0x5b, 0x04, 0x73, 0x43, 0x22, 0x8b, 0x5f, 0x8e, 0xc5, 0x10, 0x25, 0xca,
1594	0xc5, 0x34, 0x19, 0x8d, 0x42, 0x6b, 0x1f, 0xf6, 0x11, 0xac, 0x41, 0xa8, 0xe2, 0xf6, 0x13, 0xfc,
1595	0x03, 0x82, 0x7c, 0x58, 0xc0, 0x71, 0x7c, 0xd2, 0xc6, 0x68, 0x7e, 0x3a, 0xcc, 0x87, 0x1c, 0xf3,
1596	0x9e, 0x90, 0x32, 0xc3, 0x3b, 0x41, 0xbd, 0xc6, 0x3f, 0x23, 0xc8, 0x87, 0x2f, 0xe2, 0x04, 0x04,
1597	0xc6, 0xbc, 0x06, 0xd2, 0x11, 0x68, 0x70, 0x02, 0xb5, 0xf2, 0x8e, 0x4f, 0x20, 0xf8, 0xe5, 0x95,
1598	0xa4, 0x00, 0xc3, 0x64, 0xbe, 0x40, 0x90, 0x0f, 0xdf, 0xf1, 0x09, 0xc8, 0x8c, 0x79, 0x0f, 0x14,
1599	0x97, 0x47, 0x2e, 0x99, 0xaa, 0xfd, 0x45, 0xe6, 0x35, 0xcb, 0xf6, 0x3f, 0x68, 0x96, 0xe5, 0x68,
1600	0xe5, 0xc3, 0x6f, 0xc4, 0x82, 0xfc, 0xdb, 0x47, 0x48, 0x71, 0xcd, 0xb3, 0x0f, 0x7c, 0x61, 0x96,
1601	0x1a, 0xde, 0x17, 0xa6, 0x50, 0xe5, 0x88, 0xdf, 0x14, 0x76, 0x52, 0xb6, 0xca, 0x85, 0x1f, 0x74,
1602	0x07, 0x6d, 0xfb, 0x04, 0x46, 0x84, 0x34, 0x29, 0x81, 0x71, 0x0a, 0xfc, 0x4c, 0x09, 0x38, 0x41,
1603	0x6d, 0x02, 0x3f, 0x22, 0x58, 0x8c, 0xd0, 0x68, 0xbc, 0x9b, 0x0c, 0x7d, 0xa4, 0xb2, 0xc7, 0x41,
1604	0x6f, 0x72, 0xe8, 0x6f, 0x09, 0xd5, 0x58, 0xe8, 0xa1, 0x7e, 0x11, 0x3d, 0x9d, 0x74, 0x58, 0x38,
1605	0xc1, 0x87, 0x58, 0x0c, 0xab, 0x77, 0x52, 0x16, 0x91, 0x9a, 0xff, 0xbc, 0x58, 0xf8, 0xcd, 0x34,
1606	0x60, 0x31, 0xac, 0xcd, 0x49, 0x59, 0x44, 0x2a, 0xfa, 0xf3, 0x62, 0x31, 0xe8, 0xa8, 0x83, 0xef,
1607	0x10, 0x6c, 0xb6, 0x58, 0x37, 0x0e, 0xf3, 0x41, 0xe0, 0x19, 0xd0, 0xb4, 0x6f, 0x93, 0x26, 0x7a,
1608	0xb7, 0xe6, 0xda, 0x74, 0x98, 0xfd, 0x64, 0x28, 0xb1, 0x5e, 0x47, 0xec, 0x10, 0xca, 0xef, 0x1a,
1609	0xd1, 0x59, 0x52, 0x74, 0xd5, 0x18, 0xfb, 0x2f, 0xd5, 0xae, 0x3f, 0xf5, 0x07, 0x42, 0x5f, 0x66,
1610	0x32, 0x95, 0xa3, 0x6f, 0x32, 0xeb, 0x77, 0x1d, 0x9f, 0x87, 0x1c, 0x47, 0xc5, 0xc7, 0xf1, 0xc0,
1611	0x31, 0xba, 0x98, 0xe2, 0xfe, 0xef, 0xfc, 0x15, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x5f, 0x36, 0x09,
1612	0x04, 0x13, 0x00, 0x00,
1613}
1614