1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/dialogflow/v2/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_252de8d6c5f5c76d, []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_252de8d6c5f5c76d, []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.v2.EntityTypes.UpdateEntityType] and 109 // [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.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.v2.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.v2.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_252de8d6c5f5c76d, []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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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 // 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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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.v2.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_252de8d6c5f5c76d, []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_252de8d6c5f5c76d, []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.v2.EntityType_Kind", EntityType_Kind_name, EntityType_Kind_value) 1081 proto.RegisterEnum("google.cloud.dialogflow.v2.EntityType_AutoExpansionMode", EntityType_AutoExpansionMode_name, EntityType_AutoExpansionMode_value) 1082 proto.RegisterType((*EntityType)(nil), "google.cloud.dialogflow.v2.EntityType") 1083 proto.RegisterType((*EntityType_Entity)(nil), "google.cloud.dialogflow.v2.EntityType.Entity") 1084 proto.RegisterType((*ListEntityTypesRequest)(nil), "google.cloud.dialogflow.v2.ListEntityTypesRequest") 1085 proto.RegisterType((*ListEntityTypesResponse)(nil), "google.cloud.dialogflow.v2.ListEntityTypesResponse") 1086 proto.RegisterType((*GetEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.GetEntityTypeRequest") 1087 proto.RegisterType((*CreateEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.CreateEntityTypeRequest") 1088 proto.RegisterType((*UpdateEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.UpdateEntityTypeRequest") 1089 proto.RegisterType((*DeleteEntityTypeRequest)(nil), "google.cloud.dialogflow.v2.DeleteEntityTypeRequest") 1090 proto.RegisterType((*BatchUpdateEntityTypesRequest)(nil), "google.cloud.dialogflow.v2.BatchUpdateEntityTypesRequest") 1091 proto.RegisterType((*BatchUpdateEntityTypesResponse)(nil), "google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse") 1092 proto.RegisterType((*BatchDeleteEntityTypesRequest)(nil), "google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest") 1093 proto.RegisterType((*BatchCreateEntitiesRequest)(nil), "google.cloud.dialogflow.v2.BatchCreateEntitiesRequest") 1094 proto.RegisterType((*BatchUpdateEntitiesRequest)(nil), "google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest") 1095 proto.RegisterType((*BatchDeleteEntitiesRequest)(nil), "google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest") 1096 proto.RegisterType((*EntityTypeBatch)(nil), "google.cloud.dialogflow.v2.EntityTypeBatch") 1097} 1098 1099func init() { 1100 proto.RegisterFile("google/cloud/dialogflow/v2/entity_type.proto", fileDescriptor_252de8d6c5f5c76d) 1101} 1102 1103var fileDescriptor_252de8d6c5f5c76d = []byte{ 1104 // 1585 bytes of a gzipped FileDescriptorProto 1105 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x6f, 0x1b, 0xd5, 1106 0x16, 0xef, 0x9d, 0x7c, 0xbc, 0xf4, 0x38, 0x79, 0x71, 0x6f, 0xf3, 0xe1, 0xb8, 0xaf, 0x8d, 0xdf, 1107 0xf4, 0x29, 0x2f, 0xa4, 0xa9, 0x07, 0xb9, 0x2a, 0x6a, 0x53, 0x21, 0x3a, 0x89, 0x9d, 0x36, 0x34, 1108 0x5f, 0x38, 0x49, 0xd5, 0x16, 0x90, 0x35, 0xb1, 0x6f, 0x9c, 0x21, 0xf6, 0xcc, 0x30, 0x73, 0x27, 1109 0x8d, 0x53, 0x45, 0x42, 0xdd, 0x02, 0x0b, 0x84, 0x84, 0xc4, 0xa6, 0x0b, 0x56, 0x88, 0x0d, 0x3b, 1110 0x04, 0x7f, 0x02, 0x95, 0xd8, 0xb4, 0x12, 0x0b, 0x8b, 0x45, 0x17, 0x20, 0x24, 0xfe, 0x02, 0xc4, 1111 0x02, 0xa1, 0xb9, 0x77, 0x1c, 0x8f, 0xc7, 0x63, 0x67, 0x92, 0x7a, 0xd5, 0x95, 0x67, 0xee, 0x39, 1112 0xf7, 0x7c, 0xfc, 0xce, 0x39, 0xf7, 0xfe, 0x3c, 0x30, 0x5d, 0xd4, 0xf5, 0x62, 0x89, 0x48, 0xf9, 1113 0x92, 0x6e, 0x17, 0xa4, 0x82, 0xaa, 0x94, 0xf4, 0xe2, 0x56, 0x49, 0x7f, 0x28, 0xed, 0xa6, 0x24, 1114 0xa2, 0x51, 0x95, 0x56, 0x72, 0xb4, 0x62, 0x90, 0xa4, 0x61, 0xea, 0x54, 0xc7, 0x71, 0xae, 0x9d, 1115 0x64, 0xda, 0xc9, 0xba, 0x76, 0x72, 0x37, 0x15, 0xff, 0x8f, 0x6b, 0x49, 0x31, 0x54, 0x49, 0xd1, 1116 0x34, 0x9d, 0x2a, 0x54, 0xd5, 0x35, 0x8b, 0xef, 0x8c, 0x8f, 0x7a, 0xa4, 0xf9, 0x92, 0x4a, 0x34, 1117 0xea, 0x0a, 0xc6, 0x3d, 0x82, 0x2d, 0x95, 0x94, 0x0a, 0xb9, 0x4d, 0xb2, 0xad, 0xec, 0xaa, 0xba, 1118 0xe9, 0x2a, 0x8c, 0x79, 0x14, 0x4c, 0x62, 0xe9, 0xb6, 0x99, 0x77, 0xc3, 0x89, 0x5f, 0x74, 0x45, 1119 0x25, 0x5d, 0x2b, 0x9a, 0xb6, 0xa6, 0xa9, 0x5a, 0x51, 0xd2, 0x0d, 0x62, 0x36, 0x78, 0x3e, 0xe7, 1120 0x2a, 0xb1, 0xb7, 0x4d, 0x7b, 0x4b, 0x22, 0x65, 0x83, 0x56, 0x5c, 0x61, 0xc2, 0x2f, 0xe4, 0x21, 1121 0x94, 0x15, 0x6b, 0x87, 0x6b, 0x88, 0x3f, 0xf7, 0x00, 0x64, 0x18, 0x10, 0xeb, 0x15, 0x83, 0x60, 1122 0x0c, 0xdd, 0x9a, 0x52, 0x26, 0x31, 0x94, 0x40, 0x93, 0xa7, 0xb3, 0xec, 0x19, 0x4f, 0x40, 0x7f, 1123 0x41, 0xb5, 0x8c, 0x92, 0x52, 0xc9, 0x31, 0x99, 0xe0, 0xc8, 0x66, 0xbb, 0x5e, 0xc8, 0x42, 0x36, 1124 0xe2, 0x0a, 0x96, 0x1d, 0xbd, 0x34, 0x74, 0xef, 0xa8, 0x5a, 0x21, 0xd6, 0x95, 0x40, 0x93, 0xff, 1125 0x4e, 0x5d, 0x4a, 0xb6, 0x06, 0x33, 0x59, 0xf7, 0x98, 0xbc, 0xa3, 0x6a, 0x05, 0x6e, 0x8c, 0xed, 1126 0xc6, 0x65, 0x38, 0xab, 0xd8, 0x54, 0xcf, 0x91, 0x3d, 0x43, 0xd1, 0x2c, 0x55, 0xd7, 0x72, 0x65, 1127 0xbd,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, 0xef, 0xc3, 0x99, 0x26, 0x2c, 0xf1, 0x45, 0x18, 0x97, 0x37, 0xd6, 0x57, 0x72, 0x99, 0x7b, 1139 0xab, 0xf2, 0xf2, 0xda, 0xc2, 0xca, 0x72, 0x6e, 0x69, 0x25, 0x9d, 0xf1, 0xf9, 0x19, 0x87, 0x73, 1140 0x41, 0x4a, 0xe9, 0xcc, 0xbc, 0xbc, 0xb1, 0xb8, 0x1e, 0x45, 0x33, 0xef, 0xff, 0x21, 0x3f, 0x80, 1141 0xff, 0x79, 0xe0, 0xe5, 0xb0, 0x2b, 0x86, 0x6a, 0x25, 0xf3, 0x7a, 0x59, 0xf2, 0x74, 0x65, 0xca, 1142 0x30, 0xf5, 0x0f, 0x48, 0x9e, 0x5a, 0xd2, 0x23, 0xf7, 0xe9, 0x40, 0x52, 0x8a, 0x44, 0xa3, 0xee, 1143 0x0c, 0x3b, 0x4a, 0x96, 0xf4, 0xc8, 0x33, 0xd0, 0x07, 0xe2, 0x8f, 0x08, 0x46, 0x16, 0x55, 0x8b, 1144 0xd6, 0xcd, 0x58, 0x59, 0xf2, 0xa1, 0x4d, 0x2c, 0x8a, 0xdf, 0x82, 0x5e, 0x43, 0x31, 0x89, 0x46, 1145 0x5d, 0x74, 0xff, 0xff, 0x42, 0x16, 0xfe, 0x92, 0xff, 0x0b, 0xe3, 0xad, 0x83, 0x91, 0x1d, 0x6f, 1146 0x59, 0x77, 0x1b, 0x9e, 0x84, 0x81, 0x92, 0xa2, 0x15, 0x6d, 0xa5, 0x48, 0x72, 0x79, 0xa7, 0x3b, 1147 0x0f, 0x47, 0x02, 0x65, 0xfb, 0x6b, 0x92, 0x39, 0x07, 0xaa, 0x04, 0x9c, 0x36, 0x1c, 0x2d, 0x4b, 1148 0xdd, 0x27, 0x6c, 0x30, 0x7a, 0xdc, 0x86, 0x71, 0x56, 0xd7, 0xd4, 0x7d, 0x82, 0x45, 0x00, 0xa6, 1149 0x41, 0xf5, 0x1d, 0xa2, 0xb1, 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xd2, 0x15, 0x02, 0xa0, 0x40, 1194 0x96, 0xf6, 0xaa, 0x00, 0x54, 0x1f, 0xa3, 0xaf, 0x6b, 0x00, 0x35, 0x92, 0xae, 0x10, 0x00, 0x05, 1195 0xb2, 0xb4, 0xa3, 0x00, 0xfa, 0xe1, 0x44, 0x00, 0x0d, 0x35, 0x0e, 0x10, 0x67, 0x6e, 0x55, 0x59, 1196 0x0c, 0x5a, 0xee, 0x34, 0x54, 0x87, 0xc3, 0x16, 0xdf, 0x7b, 0x2a, 0x8f, 0xb5, 0xe4, 0x9a, 0xcf, 1197 0xe4, 0xfb, 0xdb, 0x94, 0x1a, 0xd6, 0x8c, 0x24, 0x3d, 0x7c, 0xd8, 0x44, 0x44, 0x15, 0x9b, 0x6e, 1198 0xf3, 0x6f, 0xe7, 0x97, 0x8d, 0x92, 0x42, 0xb7, 0x74, 0xb3, 0x3c, 0x7d, 0x94, 0x7a, 0xdd, 0xd5, 1199 0xec, 0x13, 0x04, 0x17, 0xf2, 0x7a, 0xb9, 0x4d, 0x49, 0x66, 0x3d, 0x0c, 0x74, 0xd5, 0x81, 0x6f, 1200 0x15, 0x3d, 0x48, 0xbb, 0xea, 0x45, 0xdd, 0x81, 0x24, 0xa9, 0x9b, 0x45, 0xa9, 0x48, 0x34, 0x06, 1201 0xae, 0x54, 0x77, 0x18, 0xf4, 0x49, 0xff, 0x46, 0xfd, 0xed, 0x4f, 0x84, 0xbe, 0x12, 0x84, 0xf4, 1202 0xfc, 0x37, 0x42, 0xfc, 0x16, 0x37, 0x37, 0xc7, 0xbc, 0xa7, 0xeb, 0xde, 0xef, 0xa6, 0x36, 0x7b, 1203 0x99, 0xd5, 0x2b, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x66, 0xe5, 0x44, 0x97, 0x27, 0x18, 0x00, 1204 0x00, 1205} 1206 1207// Reference imports to suppress errors if they are not otherwise used. 1208var _ context.Context 1209var _ grpc.ClientConnInterface 1210 1211// This is a compile-time assertion to ensure that this generated file 1212// is compatible with the grpc package it is being compiled against. 1213const _ = grpc.SupportPackageIsVersion6 1214 1215// EntityTypesClient is the client API for EntityTypes service. 1216// 1217// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1218type EntityTypesClient interface { 1219 // Returns the list of all entity types in the specified agent. 1220 ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error) 1221 // Retrieves the specified entity type. 1222 GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) 1223 // Creates an entity type in the specified agent. 1224 CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) 1225 // Updates the specified entity type. 1226 UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) 1227 // Deletes the specified entity type. 1228 DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) 1229 // Updates/Creates multiple entity types in the specified agent. 1230 // 1231 // Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]> 1232 BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1233 // Deletes entity types in the specified agent. 1234 // 1235 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1236 BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1237 // Creates multiple new entities in the specified entity type. 1238 // 1239 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1240 BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1241 // Updates or creates multiple entities in the specified entity type. This 1242 // method does not affect entities in the entity type that aren't explicitly 1243 // specified in the request. 1244 // 1245 // 1246 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1247 BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1248 // Deletes entities in the specified entity type. 1249 // 1250 // 1251 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1252 BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 1253} 1254 1255type entityTypesClient struct { 1256 cc grpc.ClientConnInterface 1257} 1258 1259func NewEntityTypesClient(cc grpc.ClientConnInterface) EntityTypesClient { 1260 return &entityTypesClient{cc} 1261} 1262 1263func (c *entityTypesClient) ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error) { 1264 out := new(ListEntityTypesResponse) 1265 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/ListEntityTypes", in, out, opts...) 1266 if err != nil { 1267 return nil, err 1268 } 1269 return out, nil 1270} 1271 1272func (c *entityTypesClient) GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { 1273 out := new(EntityType) 1274 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/GetEntityType", in, out, opts...) 1275 if err != nil { 1276 return nil, err 1277 } 1278 return out, nil 1279} 1280 1281func (c *entityTypesClient) CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { 1282 out := new(EntityType) 1283 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/CreateEntityType", in, out, opts...) 1284 if err != nil { 1285 return nil, err 1286 } 1287 return out, nil 1288} 1289 1290func (c *entityTypesClient) UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) { 1291 out := new(EntityType) 1292 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/UpdateEntityType", in, out, opts...) 1293 if err != nil { 1294 return nil, err 1295 } 1296 return out, nil 1297} 1298 1299func (c *entityTypesClient) DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 1300 out := new(empty.Empty) 1301 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/DeleteEntityType", in, out, opts...) 1302 if err != nil { 1303 return nil, err 1304 } 1305 return out, nil 1306} 1307 1308func (c *entityTypesClient) BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1309 out := new(longrunning.Operation) 1310 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntityTypes", in, out, opts...) 1311 if err != nil { 1312 return nil, err 1313 } 1314 return out, nil 1315} 1316 1317func (c *entityTypesClient) BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1318 out := new(longrunning.Operation) 1319 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntityTypes", in, out, opts...) 1320 if err != nil { 1321 return nil, err 1322 } 1323 return out, nil 1324} 1325 1326func (c *entityTypesClient) BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1327 out := new(longrunning.Operation) 1328 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchCreateEntities", in, out, opts...) 1329 if err != nil { 1330 return nil, err 1331 } 1332 return out, nil 1333} 1334 1335func (c *entityTypesClient) BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1336 out := new(longrunning.Operation) 1337 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntities", in, out, opts...) 1338 if err != nil { 1339 return nil, err 1340 } 1341 return out, nil 1342} 1343 1344func (c *entityTypesClient) BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 1345 out := new(longrunning.Operation) 1346 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntities", in, out, opts...) 1347 if err != nil { 1348 return nil, err 1349 } 1350 return out, nil 1351} 1352 1353// EntityTypesServer is the server API for EntityTypes service. 1354type EntityTypesServer interface { 1355 // Returns the list of all entity types in the specified agent. 1356 ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error) 1357 // Retrieves the specified entity type. 1358 GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error) 1359 // Creates an entity type in the specified agent. 1360 CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error) 1361 // Updates the specified entity type. 1362 UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error) 1363 // Deletes the specified entity type. 1364 DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*empty.Empty, error) 1365 // Updates/Creates multiple entity types in the specified agent. 1366 // 1367 // Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse]> 1368 BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error) 1369 // Deletes entity types in the specified agent. 1370 // 1371 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1372 BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error) 1373 // Creates multiple new entities in the specified entity type. 1374 // 1375 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1376 BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*longrunning.Operation, error) 1377 // Updates or creates multiple entities in the specified entity type. This 1378 // method does not affect entities in the entity type that aren't explicitly 1379 // specified in the request. 1380 // 1381 // 1382 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1383 BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunning.Operation, error) 1384 // Deletes entities in the specified entity type. 1385 // 1386 // 1387 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 1388 BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunning.Operation, error) 1389} 1390 1391// UnimplementedEntityTypesServer can be embedded to have forward compatible implementations. 1392type UnimplementedEntityTypesServer struct { 1393} 1394 1395func (*UnimplementedEntityTypesServer) ListEntityTypes(ctx context.Context, req *ListEntityTypesRequest) (*ListEntityTypesResponse, error) { 1396 return nil, status.Errorf(codes.Unimplemented, "method ListEntityTypes not implemented") 1397} 1398func (*UnimplementedEntityTypesServer) GetEntityType(ctx context.Context, req *GetEntityTypeRequest) (*EntityType, error) { 1399 return nil, status.Errorf(codes.Unimplemented, "method GetEntityType not implemented") 1400} 1401func (*UnimplementedEntityTypesServer) CreateEntityType(ctx context.Context, req *CreateEntityTypeRequest) (*EntityType, error) { 1402 return nil, status.Errorf(codes.Unimplemented, "method CreateEntityType not implemented") 1403} 1404func (*UnimplementedEntityTypesServer) UpdateEntityType(ctx context.Context, req *UpdateEntityTypeRequest) (*EntityType, error) { 1405 return nil, status.Errorf(codes.Unimplemented, "method UpdateEntityType not implemented") 1406} 1407func (*UnimplementedEntityTypesServer) DeleteEntityType(ctx context.Context, req *DeleteEntityTypeRequest) (*empty.Empty, error) { 1408 return nil, status.Errorf(codes.Unimplemented, "method DeleteEntityType not implemented") 1409} 1410func (*UnimplementedEntityTypesServer) BatchUpdateEntityTypes(ctx context.Context, req *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error) { 1411 return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateEntityTypes not implemented") 1412} 1413func (*UnimplementedEntityTypesServer) BatchDeleteEntityTypes(ctx context.Context, req *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error) { 1414 return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteEntityTypes not implemented") 1415} 1416func (*UnimplementedEntityTypesServer) BatchCreateEntities(ctx context.Context, req *BatchCreateEntitiesRequest) (*longrunning.Operation, error) { 1417 return nil, status.Errorf(codes.Unimplemented, "method BatchCreateEntities not implemented") 1418} 1419func (*UnimplementedEntityTypesServer) BatchUpdateEntities(ctx context.Context, req *BatchUpdateEntitiesRequest) (*longrunning.Operation, error) { 1420 return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateEntities not implemented") 1421} 1422func (*UnimplementedEntityTypesServer) BatchDeleteEntities(ctx context.Context, req *BatchDeleteEntitiesRequest) (*longrunning.Operation, error) { 1423 return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteEntities not implemented") 1424} 1425 1426func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer) { 1427 s.RegisterService(&_EntityTypes_serviceDesc, srv) 1428} 1429 1430func _EntityTypes_ListEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1431 in := new(ListEntityTypesRequest) 1432 if err := dec(in); err != nil { 1433 return nil, err 1434 } 1435 if interceptor == nil { 1436 return srv.(EntityTypesServer).ListEntityTypes(ctx, in) 1437 } 1438 info := &grpc.UnaryServerInfo{ 1439 Server: srv, 1440 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/ListEntityTypes", 1441 } 1442 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1443 return srv.(EntityTypesServer).ListEntityTypes(ctx, req.(*ListEntityTypesRequest)) 1444 } 1445 return interceptor(ctx, in, info, handler) 1446} 1447 1448func _EntityTypes_GetEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1449 in := new(GetEntityTypeRequest) 1450 if err := dec(in); err != nil { 1451 return nil, err 1452 } 1453 if interceptor == nil { 1454 return srv.(EntityTypesServer).GetEntityType(ctx, in) 1455 } 1456 info := &grpc.UnaryServerInfo{ 1457 Server: srv, 1458 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/GetEntityType", 1459 } 1460 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1461 return srv.(EntityTypesServer).GetEntityType(ctx, req.(*GetEntityTypeRequest)) 1462 } 1463 return interceptor(ctx, in, info, handler) 1464} 1465 1466func _EntityTypes_CreateEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1467 in := new(CreateEntityTypeRequest) 1468 if err := dec(in); err != nil { 1469 return nil, err 1470 } 1471 if interceptor == nil { 1472 return srv.(EntityTypesServer).CreateEntityType(ctx, in) 1473 } 1474 info := &grpc.UnaryServerInfo{ 1475 Server: srv, 1476 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/CreateEntityType", 1477 } 1478 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1479 return srv.(EntityTypesServer).CreateEntityType(ctx, req.(*CreateEntityTypeRequest)) 1480 } 1481 return interceptor(ctx, in, info, handler) 1482} 1483 1484func _EntityTypes_UpdateEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1485 in := new(UpdateEntityTypeRequest) 1486 if err := dec(in); err != nil { 1487 return nil, err 1488 } 1489 if interceptor == nil { 1490 return srv.(EntityTypesServer).UpdateEntityType(ctx, in) 1491 } 1492 info := &grpc.UnaryServerInfo{ 1493 Server: srv, 1494 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/UpdateEntityType", 1495 } 1496 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1497 return srv.(EntityTypesServer).UpdateEntityType(ctx, req.(*UpdateEntityTypeRequest)) 1498 } 1499 return interceptor(ctx, in, info, handler) 1500} 1501 1502func _EntityTypes_DeleteEntityType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1503 in := new(DeleteEntityTypeRequest) 1504 if err := dec(in); err != nil { 1505 return nil, err 1506 } 1507 if interceptor == nil { 1508 return srv.(EntityTypesServer).DeleteEntityType(ctx, in) 1509 } 1510 info := &grpc.UnaryServerInfo{ 1511 Server: srv, 1512 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/DeleteEntityType", 1513 } 1514 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1515 return srv.(EntityTypesServer).DeleteEntityType(ctx, req.(*DeleteEntityTypeRequest)) 1516 } 1517 return interceptor(ctx, in, info, handler) 1518} 1519 1520func _EntityTypes_BatchUpdateEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1521 in := new(BatchUpdateEntityTypesRequest) 1522 if err := dec(in); err != nil { 1523 return nil, err 1524 } 1525 if interceptor == nil { 1526 return srv.(EntityTypesServer).BatchUpdateEntityTypes(ctx, in) 1527 } 1528 info := &grpc.UnaryServerInfo{ 1529 Server: srv, 1530 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntityTypes", 1531 } 1532 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1533 return srv.(EntityTypesServer).BatchUpdateEntityTypes(ctx, req.(*BatchUpdateEntityTypesRequest)) 1534 } 1535 return interceptor(ctx, in, info, handler) 1536} 1537 1538func _EntityTypes_BatchDeleteEntityTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1539 in := new(BatchDeleteEntityTypesRequest) 1540 if err := dec(in); err != nil { 1541 return nil, err 1542 } 1543 if interceptor == nil { 1544 return srv.(EntityTypesServer).BatchDeleteEntityTypes(ctx, in) 1545 } 1546 info := &grpc.UnaryServerInfo{ 1547 Server: srv, 1548 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntityTypes", 1549 } 1550 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1551 return srv.(EntityTypesServer).BatchDeleteEntityTypes(ctx, req.(*BatchDeleteEntityTypesRequest)) 1552 } 1553 return interceptor(ctx, in, info, handler) 1554} 1555 1556func _EntityTypes_BatchCreateEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1557 in := new(BatchCreateEntitiesRequest) 1558 if err := dec(in); err != nil { 1559 return nil, err 1560 } 1561 if interceptor == nil { 1562 return srv.(EntityTypesServer).BatchCreateEntities(ctx, in) 1563 } 1564 info := &grpc.UnaryServerInfo{ 1565 Server: srv, 1566 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchCreateEntities", 1567 } 1568 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1569 return srv.(EntityTypesServer).BatchCreateEntities(ctx, req.(*BatchCreateEntitiesRequest)) 1570 } 1571 return interceptor(ctx, in, info, handler) 1572} 1573 1574func _EntityTypes_BatchUpdateEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1575 in := new(BatchUpdateEntitiesRequest) 1576 if err := dec(in); err != nil { 1577 return nil, err 1578 } 1579 if interceptor == nil { 1580 return srv.(EntityTypesServer).BatchUpdateEntities(ctx, in) 1581 } 1582 info := &grpc.UnaryServerInfo{ 1583 Server: srv, 1584 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntities", 1585 } 1586 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1587 return srv.(EntityTypesServer).BatchUpdateEntities(ctx, req.(*BatchUpdateEntitiesRequest)) 1588 } 1589 return interceptor(ctx, in, info, handler) 1590} 1591 1592func _EntityTypes_BatchDeleteEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1593 in := new(BatchDeleteEntitiesRequest) 1594 if err := dec(in); err != nil { 1595 return nil, err 1596 } 1597 if interceptor == nil { 1598 return srv.(EntityTypesServer).BatchDeleteEntities(ctx, in) 1599 } 1600 info := &grpc.UnaryServerInfo{ 1601 Server: srv, 1602 FullMethod: "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntities", 1603 } 1604 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1605 return srv.(EntityTypesServer).BatchDeleteEntities(ctx, req.(*BatchDeleteEntitiesRequest)) 1606 } 1607 return interceptor(ctx, in, info, handler) 1608} 1609 1610var _EntityTypes_serviceDesc = grpc.ServiceDesc{ 1611 ServiceName: "google.cloud.dialogflow.v2.EntityTypes", 1612 HandlerType: (*EntityTypesServer)(nil), 1613 Methods: []grpc.MethodDesc{ 1614 { 1615 MethodName: "ListEntityTypes", 1616 Handler: _EntityTypes_ListEntityTypes_Handler, 1617 }, 1618 { 1619 MethodName: "GetEntityType", 1620 Handler: _EntityTypes_GetEntityType_Handler, 1621 }, 1622 { 1623 MethodName: "CreateEntityType", 1624 Handler: _EntityTypes_CreateEntityType_Handler, 1625 }, 1626 { 1627 MethodName: "UpdateEntityType", 1628 Handler: _EntityTypes_UpdateEntityType_Handler, 1629 }, 1630 { 1631 MethodName: "DeleteEntityType", 1632 Handler: _EntityTypes_DeleteEntityType_Handler, 1633 }, 1634 { 1635 MethodName: "BatchUpdateEntityTypes", 1636 Handler: _EntityTypes_BatchUpdateEntityTypes_Handler, 1637 }, 1638 { 1639 MethodName: "BatchDeleteEntityTypes", 1640 Handler: _EntityTypes_BatchDeleteEntityTypes_Handler, 1641 }, 1642 { 1643 MethodName: "BatchCreateEntities", 1644 Handler: _EntityTypes_BatchCreateEntities_Handler, 1645 }, 1646 { 1647 MethodName: "BatchUpdateEntities", 1648 Handler: _EntityTypes_BatchUpdateEntities_Handler, 1649 }, 1650 { 1651 MethodName: "BatchDeleteEntities", 1652 Handler: _EntityTypes_BatchDeleteEntities_Handler, 1653 }, 1654 }, 1655 Streams: []grpc.StreamDesc{}, 1656 Metadata: "google/cloud/dialogflow/v2/entity_type.proto", 1657} 1658