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