You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1628 lines
68 KiB

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