1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/dialogflow/v2/intent.proto 3 4package dialogflow // import "google.golang.org/genproto/googleapis/cloud/dialogflow/v2" 5 6import proto "github.com/golang/protobuf/proto" 7import fmt "fmt" 8import math "math" 9import empty "github.com/golang/protobuf/ptypes/empty" 10import _struct "github.com/golang/protobuf/ptypes/struct" 11import _ "google.golang.org/genproto/googleapis/api/annotations" 12import longrunning "google.golang.org/genproto/googleapis/longrunning" 13import field_mask "google.golang.org/genproto/protobuf/field_mask" 14 15import ( 16 context "golang.org/x/net/context" 17 grpc "google.golang.org/grpc" 18) 19 20// Reference imports to suppress errors if they are not otherwise used. 21var _ = proto.Marshal 22var _ = fmt.Errorf 23var _ = math.Inf 24 25// This is a compile-time assertion to ensure that this generated file 26// is compatible with the proto package it is being compiled against. 27// A compilation error at this line likely means your copy of the 28// proto package needs to be updated. 29const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 30 31// Represents the options for views of an intent. 32// An intent can be a sizable object. Therefore, we provide a resource view that 33// does not return training phrases in the response by default. 34type IntentView int32 35 36const ( 37 // Training phrases field is not populated in the response. 38 IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0 39 // All fields are populated. 40 IntentView_INTENT_VIEW_FULL IntentView = 1 41) 42 43var IntentView_name = map[int32]string{ 44 0: "INTENT_VIEW_UNSPECIFIED", 45 1: "INTENT_VIEW_FULL", 46} 47var IntentView_value = map[string]int32{ 48 "INTENT_VIEW_UNSPECIFIED": 0, 49 "INTENT_VIEW_FULL": 1, 50} 51 52func (x IntentView) String() string { 53 return proto.EnumName(IntentView_name, int32(x)) 54} 55func (IntentView) EnumDescriptor() ([]byte, []int) { 56 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0} 57} 58 59// Represents the different states that webhooks can be in. 60type Intent_WebhookState int32 61 62const ( 63 // Webhook is disabled in the agent and in the intent. 64 Intent_WEBHOOK_STATE_UNSPECIFIED Intent_WebhookState = 0 65 // Webhook is enabled in the agent and in the intent. 66 Intent_WEBHOOK_STATE_ENABLED Intent_WebhookState = 1 67 // Webhook is enabled in the agent and in the intent. Also, each slot 68 // filling prompt is forwarded to the webhook. 69 Intent_WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING Intent_WebhookState = 2 70) 71 72var Intent_WebhookState_name = map[int32]string{ 73 0: "WEBHOOK_STATE_UNSPECIFIED", 74 1: "WEBHOOK_STATE_ENABLED", 75 2: "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", 76} 77var Intent_WebhookState_value = map[string]int32{ 78 "WEBHOOK_STATE_UNSPECIFIED": 0, 79 "WEBHOOK_STATE_ENABLED": 1, 80 "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING": 2, 81} 82 83func (x Intent_WebhookState) String() string { 84 return proto.EnumName(Intent_WebhookState_name, int32(x)) 85} 86func (Intent_WebhookState) EnumDescriptor() ([]byte, []int) { 87 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 0} 88} 89 90// Represents different types of training phrases. 91type Intent_TrainingPhrase_Type int32 92 93const ( 94 // Not specified. This value should never be used. 95 Intent_TrainingPhrase_TYPE_UNSPECIFIED Intent_TrainingPhrase_Type = 0 96 // Examples do not contain @-prefixed entity type names, but example parts 97 // can be annotated with entity types. 98 Intent_TrainingPhrase_EXAMPLE Intent_TrainingPhrase_Type = 1 99 // Templates are not annotated with entity types, but they can contain 100 // @-prefixed entity type names as substrings. 101 Intent_TrainingPhrase_TEMPLATE Intent_TrainingPhrase_Type = 2 102) 103 104var Intent_TrainingPhrase_Type_name = map[int32]string{ 105 0: "TYPE_UNSPECIFIED", 106 1: "EXAMPLE", 107 2: "TEMPLATE", 108} 109var Intent_TrainingPhrase_Type_value = map[string]int32{ 110 "TYPE_UNSPECIFIED": 0, 111 "EXAMPLE": 1, 112 "TEMPLATE": 2, 113} 114 115func (x Intent_TrainingPhrase_Type) String() string { 116 return proto.EnumName(Intent_TrainingPhrase_Type_name, int32(x)) 117} 118func (Intent_TrainingPhrase_Type) EnumDescriptor() ([]byte, []int) { 119 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 0, 0} 120} 121 122// Represents different platforms that a rich message can be intended for. 123type Intent_Message_Platform int32 124 125const ( 126 // Not specified. 127 Intent_Message_PLATFORM_UNSPECIFIED Intent_Message_Platform = 0 128 // Facebook. 129 Intent_Message_FACEBOOK Intent_Message_Platform = 1 130 // Slack. 131 Intent_Message_SLACK Intent_Message_Platform = 2 132 // Telegram. 133 Intent_Message_TELEGRAM Intent_Message_Platform = 3 134 // Kik. 135 Intent_Message_KIK Intent_Message_Platform = 4 136 // Skype. 137 Intent_Message_SKYPE Intent_Message_Platform = 5 138 // Line. 139 Intent_Message_LINE Intent_Message_Platform = 6 140 // Viber. 141 Intent_Message_VIBER Intent_Message_Platform = 7 142 // Actions on Google. 143 // When using Actions on Google, you can choose one of the specific 144 // Intent.Message types that mention support for Actions on Google, 145 // or you can use the advanced Intent.Message.payload field. 146 // The payload field provides access to AoG features not available in the 147 // specific message types. 148 // If using the Intent.Message.payload field, it should have a structure 149 // similar to the JSON message shown here. For more information, see 150 // [Actions on Google Webhook 151 // Format](https://developers.google.com/actions/dialogflow/webhook) 152 // <pre>{ 153 // "expectUserResponse": true, 154 // "isSsml": false, 155 // "noInputPrompts": [], 156 // "richResponse": { 157 // "items": [ 158 // { 159 // "simpleResponse": { 160 // "displayText": "hi", 161 // "textToSpeech": "hello" 162 // } 163 // } 164 // ], 165 // "suggestions": [ 166 // { 167 // "title": "Say this" 168 // }, 169 // { 170 // "title": "or this" 171 // } 172 // ] 173 // }, 174 // "systemIntent": { 175 // "data": { 176 // "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec", 177 // "listSelect": { 178 // "items": [ 179 // { 180 // "optionInfo": { 181 // "key": "key1", 182 // "synonyms": [ 183 // "key one" 184 // ] 185 // }, 186 // "title": "must not be empty, but unique" 187 // }, 188 // { 189 // "optionInfo": { 190 // "key": "key2", 191 // "synonyms": [ 192 // "key two" 193 // ] 194 // }, 195 // "title": "must not be empty, but unique" 196 // } 197 // ] 198 // } 199 // }, 200 // "intent": "actions.intent.OPTION" 201 // } 202 // }</pre> 203 Intent_Message_ACTIONS_ON_GOOGLE Intent_Message_Platform = 8 204) 205 206var Intent_Message_Platform_name = map[int32]string{ 207 0: "PLATFORM_UNSPECIFIED", 208 1: "FACEBOOK", 209 2: "SLACK", 210 3: "TELEGRAM", 211 4: "KIK", 212 5: "SKYPE", 213 6: "LINE", 214 7: "VIBER", 215 8: "ACTIONS_ON_GOOGLE", 216} 217var Intent_Message_Platform_value = map[string]int32{ 218 "PLATFORM_UNSPECIFIED": 0, 219 "FACEBOOK": 1, 220 "SLACK": 2, 221 "TELEGRAM": 3, 222 "KIK": 4, 223 "SKYPE": 5, 224 "LINE": 6, 225 "VIBER": 7, 226 "ACTIONS_ON_GOOGLE": 8, 227} 228 229func (x Intent_Message_Platform) String() string { 230 return proto.EnumName(Intent_Message_Platform_name, int32(x)) 231} 232func (Intent_Message_Platform) EnumDescriptor() ([]byte, []int) { 233 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 0} 234} 235 236// Represents an intent. 237// Intents convert a number of user expressions or patterns into an action. An 238// action is an extraction of a user command or sentence semantics. 239type Intent struct { 240 // Required for all methods except `create` (`create` populates the name 241 // automatically. 242 // The unique identifier of this intent. 243 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 244 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 245 // Required. The name of this intent. 246 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 247 // Required. Indicates whether webhooks are enabled for the intent. 248 WebhookState Intent_WebhookState `protobuf:"varint,6,opt,name=webhook_state,json=webhookState,proto3,enum=google.cloud.dialogflow.v2.Intent_WebhookState" json:"webhook_state,omitempty"` 249 // Optional. The priority of this intent. Higher numbers represent higher 250 // priorities. Zero or negative numbers mean that the intent is disabled. 251 Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` 252 // Optional. Indicates whether this is a fallback intent. 253 IsFallback bool `protobuf:"varint,4,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"` 254 // Optional. Indicates whether Machine Learning is disabled for the intent. 255 // Note: If `ml_diabled` setting is set to true, then this intent is not 256 // taken into account during inference in `ML ONLY` match mode. Also, 257 // auto-markup in the UI is turned off. 258 MlDisabled bool `protobuf:"varint,19,opt,name=ml_disabled,json=mlDisabled,proto3" json:"ml_disabled,omitempty"` 259 // Optional. The list of context names required for this intent to be 260 // triggered. 261 // Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 262 InputContextNames []string `protobuf:"bytes,7,rep,name=input_context_names,json=inputContextNames,proto3" json:"input_context_names,omitempty"` 263 // Optional. The collection of event names that trigger the intent. 264 // If the collection of input contexts is not empty, all of the contexts must 265 // be present in the active user session for an event to trigger this intent. 266 Events []string `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"` 267 // Optional. The collection of examples/templates that the agent is 268 // trained on. 269 TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,9,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"` 270 // Optional. The name of the action associated with the intent. 271 Action string `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"` 272 // Optional. The collection of contexts that are activated when the intent 273 // is matched. Context messages in this collection should not set the 274 // parameters field. Setting the `lifespan_count` to 0 will reset the context 275 // when the intent is matched. 276 // Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 277 OutputContexts []*Context `protobuf:"bytes,11,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` 278 // Optional. Indicates whether to delete all contexts in the current 279 // session when this intent is matched. 280 ResetContexts bool `protobuf:"varint,12,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"` 281 // Optional. The collection of parameters associated with the intent. 282 Parameters []*Intent_Parameter `protobuf:"bytes,13,rep,name=parameters,proto3" json:"parameters,omitempty"` 283 // Optional. The collection of rich messages corresponding to the 284 // `Response` field in the Dialogflow console. 285 Messages []*Intent_Message `protobuf:"bytes,14,rep,name=messages,proto3" json:"messages,omitempty"` 286 // Optional. The list of platforms for which the first response will be 287 // taken from among the messages assigned to the DEFAULT_PLATFORM. 288 DefaultResponsePlatforms []Intent_Message_Platform `protobuf:"varint,15,rep,packed,name=default_response_platforms,json=defaultResponsePlatforms,proto3,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"default_response_platforms,omitempty"` 289 // The unique identifier of the root intent in the chain of followup intents. 290 // It identifies the correct followup intents chain for this intent. 291 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 292 RootFollowupIntentName string `protobuf:"bytes,16,opt,name=root_followup_intent_name,json=rootFollowupIntentName,proto3" json:"root_followup_intent_name,omitempty"` 293 // The unique identifier of the parent intent in the chain of followup 294 // intents. 295 // It identifies the parent followup intent. 296 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 297 ParentFollowupIntentName string `protobuf:"bytes,17,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` 298 // Optional. Collection of information about all followup intents that have 299 // name of this intent as a root_name. 300 FollowupIntentInfo []*Intent_FollowupIntentInfo `protobuf:"bytes,18,rep,name=followup_intent_info,json=followupIntentInfo,proto3" json:"followup_intent_info,omitempty"` 301 XXX_NoUnkeyedLiteral struct{} `json:"-"` 302 XXX_unrecognized []byte `json:"-"` 303 XXX_sizecache int32 `json:"-"` 304} 305 306func (m *Intent) Reset() { *m = Intent{} } 307func (m *Intent) String() string { return proto.CompactTextString(m) } 308func (*Intent) ProtoMessage() {} 309func (*Intent) Descriptor() ([]byte, []int) { 310 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0} 311} 312func (m *Intent) XXX_Unmarshal(b []byte) error { 313 return xxx_messageInfo_Intent.Unmarshal(m, b) 314} 315func (m *Intent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 316 return xxx_messageInfo_Intent.Marshal(b, m, deterministic) 317} 318func (dst *Intent) XXX_Merge(src proto.Message) { 319 xxx_messageInfo_Intent.Merge(dst, src) 320} 321func (m *Intent) XXX_Size() int { 322 return xxx_messageInfo_Intent.Size(m) 323} 324func (m *Intent) XXX_DiscardUnknown() { 325 xxx_messageInfo_Intent.DiscardUnknown(m) 326} 327 328var xxx_messageInfo_Intent proto.InternalMessageInfo 329 330func (m *Intent) GetName() string { 331 if m != nil { 332 return m.Name 333 } 334 return "" 335} 336 337func (m *Intent) GetDisplayName() string { 338 if m != nil { 339 return m.DisplayName 340 } 341 return "" 342} 343 344func (m *Intent) GetWebhookState() Intent_WebhookState { 345 if m != nil { 346 return m.WebhookState 347 } 348 return Intent_WEBHOOK_STATE_UNSPECIFIED 349} 350 351func (m *Intent) GetPriority() int32 { 352 if m != nil { 353 return m.Priority 354 } 355 return 0 356} 357 358func (m *Intent) GetIsFallback() bool { 359 if m != nil { 360 return m.IsFallback 361 } 362 return false 363} 364 365func (m *Intent) GetMlDisabled() bool { 366 if m != nil { 367 return m.MlDisabled 368 } 369 return false 370} 371 372func (m *Intent) GetInputContextNames() []string { 373 if m != nil { 374 return m.InputContextNames 375 } 376 return nil 377} 378 379func (m *Intent) GetEvents() []string { 380 if m != nil { 381 return m.Events 382 } 383 return nil 384} 385 386func (m *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase { 387 if m != nil { 388 return m.TrainingPhrases 389 } 390 return nil 391} 392 393func (m *Intent) GetAction() string { 394 if m != nil { 395 return m.Action 396 } 397 return "" 398} 399 400func (m *Intent) GetOutputContexts() []*Context { 401 if m != nil { 402 return m.OutputContexts 403 } 404 return nil 405} 406 407func (m *Intent) GetResetContexts() bool { 408 if m != nil { 409 return m.ResetContexts 410 } 411 return false 412} 413 414func (m *Intent) GetParameters() []*Intent_Parameter { 415 if m != nil { 416 return m.Parameters 417 } 418 return nil 419} 420 421func (m *Intent) GetMessages() []*Intent_Message { 422 if m != nil { 423 return m.Messages 424 } 425 return nil 426} 427 428func (m *Intent) GetDefaultResponsePlatforms() []Intent_Message_Platform { 429 if m != nil { 430 return m.DefaultResponsePlatforms 431 } 432 return nil 433} 434 435func (m *Intent) GetRootFollowupIntentName() string { 436 if m != nil { 437 return m.RootFollowupIntentName 438 } 439 return "" 440} 441 442func (m *Intent) GetParentFollowupIntentName() string { 443 if m != nil { 444 return m.ParentFollowupIntentName 445 } 446 return "" 447} 448 449func (m *Intent) GetFollowupIntentInfo() []*Intent_FollowupIntentInfo { 450 if m != nil { 451 return m.FollowupIntentInfo 452 } 453 return nil 454} 455 456// Represents an example or template that the agent is trained on. 457type Intent_TrainingPhrase struct { 458 // Required. The unique identifier of this training phrase. 459 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 460 // Required. The type of the training phrase. 461 Type Intent_TrainingPhrase_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.dialogflow.v2.Intent_TrainingPhrase_Type" json:"type,omitempty"` 462 // Required. The collection of training phrase parts (can be annotated). 463 // Fields: `entity_type`, `alias` and `user_defined` should be populated 464 // only for the annotated parts of the training phrase. 465 Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,3,rep,name=parts,proto3" json:"parts,omitempty"` 466 // Optional. Indicates how many times this example or template was added to 467 // the intent. Each time a developer adds an existing sample by editing an 468 // intent or training, this counter is increased. 469 TimesAddedCount int32 `protobuf:"varint,4,opt,name=times_added_count,json=timesAddedCount,proto3" json:"times_added_count,omitempty"` 470 XXX_NoUnkeyedLiteral struct{} `json:"-"` 471 XXX_unrecognized []byte `json:"-"` 472 XXX_sizecache int32 `json:"-"` 473} 474 475func (m *Intent_TrainingPhrase) Reset() { *m = Intent_TrainingPhrase{} } 476func (m *Intent_TrainingPhrase) String() string { return proto.CompactTextString(m) } 477func (*Intent_TrainingPhrase) ProtoMessage() {} 478func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int) { 479 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 0} 480} 481func (m *Intent_TrainingPhrase) XXX_Unmarshal(b []byte) error { 482 return xxx_messageInfo_Intent_TrainingPhrase.Unmarshal(m, b) 483} 484func (m *Intent_TrainingPhrase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 485 return xxx_messageInfo_Intent_TrainingPhrase.Marshal(b, m, deterministic) 486} 487func (dst *Intent_TrainingPhrase) XXX_Merge(src proto.Message) { 488 xxx_messageInfo_Intent_TrainingPhrase.Merge(dst, src) 489} 490func (m *Intent_TrainingPhrase) XXX_Size() int { 491 return xxx_messageInfo_Intent_TrainingPhrase.Size(m) 492} 493func (m *Intent_TrainingPhrase) XXX_DiscardUnknown() { 494 xxx_messageInfo_Intent_TrainingPhrase.DiscardUnknown(m) 495} 496 497var xxx_messageInfo_Intent_TrainingPhrase proto.InternalMessageInfo 498 499func (m *Intent_TrainingPhrase) GetName() string { 500 if m != nil { 501 return m.Name 502 } 503 return "" 504} 505 506func (m *Intent_TrainingPhrase) GetType() Intent_TrainingPhrase_Type { 507 if m != nil { 508 return m.Type 509 } 510 return Intent_TrainingPhrase_TYPE_UNSPECIFIED 511} 512 513func (m *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part { 514 if m != nil { 515 return m.Parts 516 } 517 return nil 518} 519 520func (m *Intent_TrainingPhrase) GetTimesAddedCount() int32 { 521 if m != nil { 522 return m.TimesAddedCount 523 } 524 return 0 525} 526 527// Represents a part of a training phrase. 528type Intent_TrainingPhrase_Part struct { 529 // Required. The text corresponding to the example or template, 530 // if there are no annotations. For 531 // annotated examples, it is the text for one of the example's parts. 532 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 533 // Optional. The entity type name prefixed with `@`. This field is 534 // required for the annotated part of the text and applies only to 535 // examples. 536 EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` 537 // Optional. The parameter name for the value extracted from the 538 // annotated part of the example. 539 Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` 540 // Optional. Indicates whether the text was manually annotated by the 541 // developer. 542 UserDefined bool `protobuf:"varint,4,opt,name=user_defined,json=userDefined,proto3" json:"user_defined,omitempty"` 543 XXX_NoUnkeyedLiteral struct{} `json:"-"` 544 XXX_unrecognized []byte `json:"-"` 545 XXX_sizecache int32 `json:"-"` 546} 547 548func (m *Intent_TrainingPhrase_Part) Reset() { *m = Intent_TrainingPhrase_Part{} } 549func (m *Intent_TrainingPhrase_Part) String() string { return proto.CompactTextString(m) } 550func (*Intent_TrainingPhrase_Part) ProtoMessage() {} 551func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int) { 552 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 0, 0} 553} 554func (m *Intent_TrainingPhrase_Part) XXX_Unmarshal(b []byte) error { 555 return xxx_messageInfo_Intent_TrainingPhrase_Part.Unmarshal(m, b) 556} 557func (m *Intent_TrainingPhrase_Part) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 558 return xxx_messageInfo_Intent_TrainingPhrase_Part.Marshal(b, m, deterministic) 559} 560func (dst *Intent_TrainingPhrase_Part) XXX_Merge(src proto.Message) { 561 xxx_messageInfo_Intent_TrainingPhrase_Part.Merge(dst, src) 562} 563func (m *Intent_TrainingPhrase_Part) XXX_Size() int { 564 return xxx_messageInfo_Intent_TrainingPhrase_Part.Size(m) 565} 566func (m *Intent_TrainingPhrase_Part) XXX_DiscardUnknown() { 567 xxx_messageInfo_Intent_TrainingPhrase_Part.DiscardUnknown(m) 568} 569 570var xxx_messageInfo_Intent_TrainingPhrase_Part proto.InternalMessageInfo 571 572func (m *Intent_TrainingPhrase_Part) GetText() string { 573 if m != nil { 574 return m.Text 575 } 576 return "" 577} 578 579func (m *Intent_TrainingPhrase_Part) GetEntityType() string { 580 if m != nil { 581 return m.EntityType 582 } 583 return "" 584} 585 586func (m *Intent_TrainingPhrase_Part) GetAlias() string { 587 if m != nil { 588 return m.Alias 589 } 590 return "" 591} 592 593func (m *Intent_TrainingPhrase_Part) GetUserDefined() bool { 594 if m != nil { 595 return m.UserDefined 596 } 597 return false 598} 599 600// Represents intent parameters. 601type Intent_Parameter struct { 602 // The unique identifier of this parameter. 603 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 604 // Required. The name of the parameter. 605 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 606 // Optional. The definition of the parameter value. It can be: 607 // - a constant string, 608 // - a parameter value defined as `$parameter_name`, 609 // - an original parameter value defined as `$parameter_name.original`, 610 // - a parameter value from some context defined as 611 // `#context_name.parameter_name`. 612 Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` 613 // Optional. The default value to use when the `value` yields an empty 614 // result. 615 // Default values can be extracted from contexts by using the following 616 // syntax: `#context_name.parameter_name`. 617 DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` 618 // Optional. The name of the entity type, prefixed with `@`, that 619 // describes values of the parameter. If the parameter is 620 // required, this must be provided. 621 EntityTypeDisplayName string `protobuf:"bytes,5,opt,name=entity_type_display_name,json=entityTypeDisplayName,proto3" json:"entity_type_display_name,omitempty"` 622 // Optional. Indicates whether the parameter is required. That is, 623 // whether the intent cannot be completed without collecting the parameter 624 // value. 625 Mandatory bool `protobuf:"varint,6,opt,name=mandatory,proto3" json:"mandatory,omitempty"` 626 // Optional. The collection of prompts that the agent can present to the 627 // user in order to collect value for the parameter. 628 Prompts []string `protobuf:"bytes,7,rep,name=prompts,proto3" json:"prompts,omitempty"` 629 // Optional. Indicates whether the parameter represents a list of values. 630 IsList bool `protobuf:"varint,8,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` 631 XXX_NoUnkeyedLiteral struct{} `json:"-"` 632 XXX_unrecognized []byte `json:"-"` 633 XXX_sizecache int32 `json:"-"` 634} 635 636func (m *Intent_Parameter) Reset() { *m = Intent_Parameter{} } 637func (m *Intent_Parameter) String() string { return proto.CompactTextString(m) } 638func (*Intent_Parameter) ProtoMessage() {} 639func (*Intent_Parameter) Descriptor() ([]byte, []int) { 640 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 1} 641} 642func (m *Intent_Parameter) XXX_Unmarshal(b []byte) error { 643 return xxx_messageInfo_Intent_Parameter.Unmarshal(m, b) 644} 645func (m *Intent_Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 646 return xxx_messageInfo_Intent_Parameter.Marshal(b, m, deterministic) 647} 648func (dst *Intent_Parameter) XXX_Merge(src proto.Message) { 649 xxx_messageInfo_Intent_Parameter.Merge(dst, src) 650} 651func (m *Intent_Parameter) XXX_Size() int { 652 return xxx_messageInfo_Intent_Parameter.Size(m) 653} 654func (m *Intent_Parameter) XXX_DiscardUnknown() { 655 xxx_messageInfo_Intent_Parameter.DiscardUnknown(m) 656} 657 658var xxx_messageInfo_Intent_Parameter proto.InternalMessageInfo 659 660func (m *Intent_Parameter) GetName() string { 661 if m != nil { 662 return m.Name 663 } 664 return "" 665} 666 667func (m *Intent_Parameter) GetDisplayName() string { 668 if m != nil { 669 return m.DisplayName 670 } 671 return "" 672} 673 674func (m *Intent_Parameter) GetValue() string { 675 if m != nil { 676 return m.Value 677 } 678 return "" 679} 680 681func (m *Intent_Parameter) GetDefaultValue() string { 682 if m != nil { 683 return m.DefaultValue 684 } 685 return "" 686} 687 688func (m *Intent_Parameter) GetEntityTypeDisplayName() string { 689 if m != nil { 690 return m.EntityTypeDisplayName 691 } 692 return "" 693} 694 695func (m *Intent_Parameter) GetMandatory() bool { 696 if m != nil { 697 return m.Mandatory 698 } 699 return false 700} 701 702func (m *Intent_Parameter) GetPrompts() []string { 703 if m != nil { 704 return m.Prompts 705 } 706 return nil 707} 708 709func (m *Intent_Parameter) GetIsList() bool { 710 if m != nil { 711 return m.IsList 712 } 713 return false 714} 715 716// Corresponds to the `Response` field in the Dialogflow console. 717type Intent_Message struct { 718 // Required. The rich response message. 719 // 720 // Types that are valid to be assigned to Message: 721 // *Intent_Message_Text_ 722 // *Intent_Message_Image_ 723 // *Intent_Message_QuickReplies_ 724 // *Intent_Message_Card_ 725 // *Intent_Message_Payload 726 // *Intent_Message_SimpleResponses_ 727 // *Intent_Message_BasicCard_ 728 // *Intent_Message_Suggestions_ 729 // *Intent_Message_LinkOutSuggestion_ 730 // *Intent_Message_ListSelect_ 731 // *Intent_Message_CarouselSelect_ 732 Message isIntent_Message_Message `protobuf_oneof:"message"` 733 // Optional. The platform that this message is intended for. 734 Platform Intent_Message_Platform `protobuf:"varint,6,opt,name=platform,proto3,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"platform,omitempty"` 735 XXX_NoUnkeyedLiteral struct{} `json:"-"` 736 XXX_unrecognized []byte `json:"-"` 737 XXX_sizecache int32 `json:"-"` 738} 739 740func (m *Intent_Message) Reset() { *m = Intent_Message{} } 741func (m *Intent_Message) String() string { return proto.CompactTextString(m) } 742func (*Intent_Message) ProtoMessage() {} 743func (*Intent_Message) Descriptor() ([]byte, []int) { 744 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2} 745} 746func (m *Intent_Message) XXX_Unmarshal(b []byte) error { 747 return xxx_messageInfo_Intent_Message.Unmarshal(m, b) 748} 749func (m *Intent_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 750 return xxx_messageInfo_Intent_Message.Marshal(b, m, deterministic) 751} 752func (dst *Intent_Message) XXX_Merge(src proto.Message) { 753 xxx_messageInfo_Intent_Message.Merge(dst, src) 754} 755func (m *Intent_Message) XXX_Size() int { 756 return xxx_messageInfo_Intent_Message.Size(m) 757} 758func (m *Intent_Message) XXX_DiscardUnknown() { 759 xxx_messageInfo_Intent_Message.DiscardUnknown(m) 760} 761 762var xxx_messageInfo_Intent_Message proto.InternalMessageInfo 763 764type isIntent_Message_Message interface { 765 isIntent_Message_Message() 766} 767 768type Intent_Message_Text_ struct { 769 Text *Intent_Message_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"` 770} 771 772type Intent_Message_Image_ struct { 773 Image *Intent_Message_Image `protobuf:"bytes,2,opt,name=image,proto3,oneof"` 774} 775 776type Intent_Message_QuickReplies_ struct { 777 QuickReplies *Intent_Message_QuickReplies `protobuf:"bytes,3,opt,name=quick_replies,json=quickReplies,proto3,oneof"` 778} 779 780type Intent_Message_Card_ struct { 781 Card *Intent_Message_Card `protobuf:"bytes,4,opt,name=card,proto3,oneof"` 782} 783 784type Intent_Message_Payload struct { 785 Payload *_struct.Struct `protobuf:"bytes,5,opt,name=payload,proto3,oneof"` 786} 787 788type Intent_Message_SimpleResponses_ struct { 789 SimpleResponses *Intent_Message_SimpleResponses `protobuf:"bytes,7,opt,name=simple_responses,json=simpleResponses,proto3,oneof"` 790} 791 792type Intent_Message_BasicCard_ struct { 793 BasicCard *Intent_Message_BasicCard `protobuf:"bytes,8,opt,name=basic_card,json=basicCard,proto3,oneof"` 794} 795 796type Intent_Message_Suggestions_ struct { 797 Suggestions *Intent_Message_Suggestions `protobuf:"bytes,9,opt,name=suggestions,proto3,oneof"` 798} 799 800type Intent_Message_LinkOutSuggestion_ struct { 801 LinkOutSuggestion *Intent_Message_LinkOutSuggestion `protobuf:"bytes,10,opt,name=link_out_suggestion,json=linkOutSuggestion,proto3,oneof"` 802} 803 804type Intent_Message_ListSelect_ struct { 805 ListSelect *Intent_Message_ListSelect `protobuf:"bytes,11,opt,name=list_select,json=listSelect,proto3,oneof"` 806} 807 808type Intent_Message_CarouselSelect_ struct { 809 CarouselSelect *Intent_Message_CarouselSelect `protobuf:"bytes,12,opt,name=carousel_select,json=carouselSelect,proto3,oneof"` 810} 811 812func (*Intent_Message_Text_) isIntent_Message_Message() {} 813 814func (*Intent_Message_Image_) isIntent_Message_Message() {} 815 816func (*Intent_Message_QuickReplies_) isIntent_Message_Message() {} 817 818func (*Intent_Message_Card_) isIntent_Message_Message() {} 819 820func (*Intent_Message_Payload) isIntent_Message_Message() {} 821 822func (*Intent_Message_SimpleResponses_) isIntent_Message_Message() {} 823 824func (*Intent_Message_BasicCard_) isIntent_Message_Message() {} 825 826func (*Intent_Message_Suggestions_) isIntent_Message_Message() {} 827 828func (*Intent_Message_LinkOutSuggestion_) isIntent_Message_Message() {} 829 830func (*Intent_Message_ListSelect_) isIntent_Message_Message() {} 831 832func (*Intent_Message_CarouselSelect_) isIntent_Message_Message() {} 833 834func (m *Intent_Message) GetMessage() isIntent_Message_Message { 835 if m != nil { 836 return m.Message 837 } 838 return nil 839} 840 841func (m *Intent_Message) GetText() *Intent_Message_Text { 842 if x, ok := m.GetMessage().(*Intent_Message_Text_); ok { 843 return x.Text 844 } 845 return nil 846} 847 848func (m *Intent_Message) GetImage() *Intent_Message_Image { 849 if x, ok := m.GetMessage().(*Intent_Message_Image_); ok { 850 return x.Image 851 } 852 return nil 853} 854 855func (m *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies { 856 if x, ok := m.GetMessage().(*Intent_Message_QuickReplies_); ok { 857 return x.QuickReplies 858 } 859 return nil 860} 861 862func (m *Intent_Message) GetCard() *Intent_Message_Card { 863 if x, ok := m.GetMessage().(*Intent_Message_Card_); ok { 864 return x.Card 865 } 866 return nil 867} 868 869func (m *Intent_Message) GetPayload() *_struct.Struct { 870 if x, ok := m.GetMessage().(*Intent_Message_Payload); ok { 871 return x.Payload 872 } 873 return nil 874} 875 876func (m *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses { 877 if x, ok := m.GetMessage().(*Intent_Message_SimpleResponses_); ok { 878 return x.SimpleResponses 879 } 880 return nil 881} 882 883func (m *Intent_Message) GetBasicCard() *Intent_Message_BasicCard { 884 if x, ok := m.GetMessage().(*Intent_Message_BasicCard_); ok { 885 return x.BasicCard 886 } 887 return nil 888} 889 890func (m *Intent_Message) GetSuggestions() *Intent_Message_Suggestions { 891 if x, ok := m.GetMessage().(*Intent_Message_Suggestions_); ok { 892 return x.Suggestions 893 } 894 return nil 895} 896 897func (m *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion { 898 if x, ok := m.GetMessage().(*Intent_Message_LinkOutSuggestion_); ok { 899 return x.LinkOutSuggestion 900 } 901 return nil 902} 903 904func (m *Intent_Message) GetListSelect() *Intent_Message_ListSelect { 905 if x, ok := m.GetMessage().(*Intent_Message_ListSelect_); ok { 906 return x.ListSelect 907 } 908 return nil 909} 910 911func (m *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect { 912 if x, ok := m.GetMessage().(*Intent_Message_CarouselSelect_); ok { 913 return x.CarouselSelect 914 } 915 return nil 916} 917 918func (m *Intent_Message) GetPlatform() Intent_Message_Platform { 919 if m != nil { 920 return m.Platform 921 } 922 return Intent_Message_PLATFORM_UNSPECIFIED 923} 924 925// XXX_OneofFuncs is for the internal use of the proto package. 926func (*Intent_Message) 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{}) { 927 return _Intent_Message_OneofMarshaler, _Intent_Message_OneofUnmarshaler, _Intent_Message_OneofSizer, []interface{}{ 928 (*Intent_Message_Text_)(nil), 929 (*Intent_Message_Image_)(nil), 930 (*Intent_Message_QuickReplies_)(nil), 931 (*Intent_Message_Card_)(nil), 932 (*Intent_Message_Payload)(nil), 933 (*Intent_Message_SimpleResponses_)(nil), 934 (*Intent_Message_BasicCard_)(nil), 935 (*Intent_Message_Suggestions_)(nil), 936 (*Intent_Message_LinkOutSuggestion_)(nil), 937 (*Intent_Message_ListSelect_)(nil), 938 (*Intent_Message_CarouselSelect_)(nil), 939 } 940} 941 942func _Intent_Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 943 m := msg.(*Intent_Message) 944 // message 945 switch x := m.Message.(type) { 946 case *Intent_Message_Text_: 947 b.EncodeVarint(1<<3 | proto.WireBytes) 948 if err := b.EncodeMessage(x.Text); err != nil { 949 return err 950 } 951 case *Intent_Message_Image_: 952 b.EncodeVarint(2<<3 | proto.WireBytes) 953 if err := b.EncodeMessage(x.Image); err != nil { 954 return err 955 } 956 case *Intent_Message_QuickReplies_: 957 b.EncodeVarint(3<<3 | proto.WireBytes) 958 if err := b.EncodeMessage(x.QuickReplies); err != nil { 959 return err 960 } 961 case *Intent_Message_Card_: 962 b.EncodeVarint(4<<3 | proto.WireBytes) 963 if err := b.EncodeMessage(x.Card); err != nil { 964 return err 965 } 966 case *Intent_Message_Payload: 967 b.EncodeVarint(5<<3 | proto.WireBytes) 968 if err := b.EncodeMessage(x.Payload); err != nil { 969 return err 970 } 971 case *Intent_Message_SimpleResponses_: 972 b.EncodeVarint(7<<3 | proto.WireBytes) 973 if err := b.EncodeMessage(x.SimpleResponses); err != nil { 974 return err 975 } 976 case *Intent_Message_BasicCard_: 977 b.EncodeVarint(8<<3 | proto.WireBytes) 978 if err := b.EncodeMessage(x.BasicCard); err != nil { 979 return err 980 } 981 case *Intent_Message_Suggestions_: 982 b.EncodeVarint(9<<3 | proto.WireBytes) 983 if err := b.EncodeMessage(x.Suggestions); err != nil { 984 return err 985 } 986 case *Intent_Message_LinkOutSuggestion_: 987 b.EncodeVarint(10<<3 | proto.WireBytes) 988 if err := b.EncodeMessage(x.LinkOutSuggestion); err != nil { 989 return err 990 } 991 case *Intent_Message_ListSelect_: 992 b.EncodeVarint(11<<3 | proto.WireBytes) 993 if err := b.EncodeMessage(x.ListSelect); err != nil { 994 return err 995 } 996 case *Intent_Message_CarouselSelect_: 997 b.EncodeVarint(12<<3 | proto.WireBytes) 998 if err := b.EncodeMessage(x.CarouselSelect); err != nil { 999 return err 1000 } 1001 case nil: 1002 default: 1003 return fmt.Errorf("Intent_Message.Message has unexpected type %T", x) 1004 } 1005 return nil 1006} 1007 1008func _Intent_Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 1009 m := msg.(*Intent_Message) 1010 switch tag { 1011 case 1: // message.text 1012 if wire != proto.WireBytes { 1013 return true, proto.ErrInternalBadWireType 1014 } 1015 msg := new(Intent_Message_Text) 1016 err := b.DecodeMessage(msg) 1017 m.Message = &Intent_Message_Text_{msg} 1018 return true, err 1019 case 2: // message.image 1020 if wire != proto.WireBytes { 1021 return true, proto.ErrInternalBadWireType 1022 } 1023 msg := new(Intent_Message_Image) 1024 err := b.DecodeMessage(msg) 1025 m.Message = &Intent_Message_Image_{msg} 1026 return true, err 1027 case 3: // message.quick_replies 1028 if wire != proto.WireBytes { 1029 return true, proto.ErrInternalBadWireType 1030 } 1031 msg := new(Intent_Message_QuickReplies) 1032 err := b.DecodeMessage(msg) 1033 m.Message = &Intent_Message_QuickReplies_{msg} 1034 return true, err 1035 case 4: // message.card 1036 if wire != proto.WireBytes { 1037 return true, proto.ErrInternalBadWireType 1038 } 1039 msg := new(Intent_Message_Card) 1040 err := b.DecodeMessage(msg) 1041 m.Message = &Intent_Message_Card_{msg} 1042 return true, err 1043 case 5: // message.payload 1044 if wire != proto.WireBytes { 1045 return true, proto.ErrInternalBadWireType 1046 } 1047 msg := new(_struct.Struct) 1048 err := b.DecodeMessage(msg) 1049 m.Message = &Intent_Message_Payload{msg} 1050 return true, err 1051 case 7: // message.simple_responses 1052 if wire != proto.WireBytes { 1053 return true, proto.ErrInternalBadWireType 1054 } 1055 msg := new(Intent_Message_SimpleResponses) 1056 err := b.DecodeMessage(msg) 1057 m.Message = &Intent_Message_SimpleResponses_{msg} 1058 return true, err 1059 case 8: // message.basic_card 1060 if wire != proto.WireBytes { 1061 return true, proto.ErrInternalBadWireType 1062 } 1063 msg := new(Intent_Message_BasicCard) 1064 err := b.DecodeMessage(msg) 1065 m.Message = &Intent_Message_BasicCard_{msg} 1066 return true, err 1067 case 9: // message.suggestions 1068 if wire != proto.WireBytes { 1069 return true, proto.ErrInternalBadWireType 1070 } 1071 msg := new(Intent_Message_Suggestions) 1072 err := b.DecodeMessage(msg) 1073 m.Message = &Intent_Message_Suggestions_{msg} 1074 return true, err 1075 case 10: // message.link_out_suggestion 1076 if wire != proto.WireBytes { 1077 return true, proto.ErrInternalBadWireType 1078 } 1079 msg := new(Intent_Message_LinkOutSuggestion) 1080 err := b.DecodeMessage(msg) 1081 m.Message = &Intent_Message_LinkOutSuggestion_{msg} 1082 return true, err 1083 case 11: // message.list_select 1084 if wire != proto.WireBytes { 1085 return true, proto.ErrInternalBadWireType 1086 } 1087 msg := new(Intent_Message_ListSelect) 1088 err := b.DecodeMessage(msg) 1089 m.Message = &Intent_Message_ListSelect_{msg} 1090 return true, err 1091 case 12: // message.carousel_select 1092 if wire != proto.WireBytes { 1093 return true, proto.ErrInternalBadWireType 1094 } 1095 msg := new(Intent_Message_CarouselSelect) 1096 err := b.DecodeMessage(msg) 1097 m.Message = &Intent_Message_CarouselSelect_{msg} 1098 return true, err 1099 default: 1100 return false, nil 1101 } 1102} 1103 1104func _Intent_Message_OneofSizer(msg proto.Message) (n int) { 1105 m := msg.(*Intent_Message) 1106 // message 1107 switch x := m.Message.(type) { 1108 case *Intent_Message_Text_: 1109 s := proto.Size(x.Text) 1110 n += 1 // tag and wire 1111 n += proto.SizeVarint(uint64(s)) 1112 n += s 1113 case *Intent_Message_Image_: 1114 s := proto.Size(x.Image) 1115 n += 1 // tag and wire 1116 n += proto.SizeVarint(uint64(s)) 1117 n += s 1118 case *Intent_Message_QuickReplies_: 1119 s := proto.Size(x.QuickReplies) 1120 n += 1 // tag and wire 1121 n += proto.SizeVarint(uint64(s)) 1122 n += s 1123 case *Intent_Message_Card_: 1124 s := proto.Size(x.Card) 1125 n += 1 // tag and wire 1126 n += proto.SizeVarint(uint64(s)) 1127 n += s 1128 case *Intent_Message_Payload: 1129 s := proto.Size(x.Payload) 1130 n += 1 // tag and wire 1131 n += proto.SizeVarint(uint64(s)) 1132 n += s 1133 case *Intent_Message_SimpleResponses_: 1134 s := proto.Size(x.SimpleResponses) 1135 n += 1 // tag and wire 1136 n += proto.SizeVarint(uint64(s)) 1137 n += s 1138 case *Intent_Message_BasicCard_: 1139 s := proto.Size(x.BasicCard) 1140 n += 1 // tag and wire 1141 n += proto.SizeVarint(uint64(s)) 1142 n += s 1143 case *Intent_Message_Suggestions_: 1144 s := proto.Size(x.Suggestions) 1145 n += 1 // tag and wire 1146 n += proto.SizeVarint(uint64(s)) 1147 n += s 1148 case *Intent_Message_LinkOutSuggestion_: 1149 s := proto.Size(x.LinkOutSuggestion) 1150 n += 1 // tag and wire 1151 n += proto.SizeVarint(uint64(s)) 1152 n += s 1153 case *Intent_Message_ListSelect_: 1154 s := proto.Size(x.ListSelect) 1155 n += 1 // tag and wire 1156 n += proto.SizeVarint(uint64(s)) 1157 n += s 1158 case *Intent_Message_CarouselSelect_: 1159 s := proto.Size(x.CarouselSelect) 1160 n += 1 // tag and wire 1161 n += proto.SizeVarint(uint64(s)) 1162 n += s 1163 case nil: 1164 default: 1165 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 1166 } 1167 return n 1168} 1169 1170// The text response message. 1171type Intent_Message_Text struct { 1172 // Optional. The collection of the agent's responses. 1173 Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` 1174 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1175 XXX_unrecognized []byte `json:"-"` 1176 XXX_sizecache int32 `json:"-"` 1177} 1178 1179func (m *Intent_Message_Text) Reset() { *m = Intent_Message_Text{} } 1180func (m *Intent_Message_Text) String() string { return proto.CompactTextString(m) } 1181func (*Intent_Message_Text) ProtoMessage() {} 1182func (*Intent_Message_Text) Descriptor() ([]byte, []int) { 1183 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 0} 1184} 1185func (m *Intent_Message_Text) XXX_Unmarshal(b []byte) error { 1186 return xxx_messageInfo_Intent_Message_Text.Unmarshal(m, b) 1187} 1188func (m *Intent_Message_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1189 return xxx_messageInfo_Intent_Message_Text.Marshal(b, m, deterministic) 1190} 1191func (dst *Intent_Message_Text) XXX_Merge(src proto.Message) { 1192 xxx_messageInfo_Intent_Message_Text.Merge(dst, src) 1193} 1194func (m *Intent_Message_Text) XXX_Size() int { 1195 return xxx_messageInfo_Intent_Message_Text.Size(m) 1196} 1197func (m *Intent_Message_Text) XXX_DiscardUnknown() { 1198 xxx_messageInfo_Intent_Message_Text.DiscardUnknown(m) 1199} 1200 1201var xxx_messageInfo_Intent_Message_Text proto.InternalMessageInfo 1202 1203func (m *Intent_Message_Text) GetText() []string { 1204 if m != nil { 1205 return m.Text 1206 } 1207 return nil 1208} 1209 1210// The image response message. 1211type Intent_Message_Image struct { 1212 // Optional. The public URI to an image file. 1213 ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` 1214 // Optional. A text description of the image to be used for accessibility, 1215 // e.g., screen readers. 1216 AccessibilityText string `protobuf:"bytes,2,opt,name=accessibility_text,json=accessibilityText,proto3" json:"accessibility_text,omitempty"` 1217 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1218 XXX_unrecognized []byte `json:"-"` 1219 XXX_sizecache int32 `json:"-"` 1220} 1221 1222func (m *Intent_Message_Image) Reset() { *m = Intent_Message_Image{} } 1223func (m *Intent_Message_Image) String() string { return proto.CompactTextString(m) } 1224func (*Intent_Message_Image) ProtoMessage() {} 1225func (*Intent_Message_Image) Descriptor() ([]byte, []int) { 1226 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 1} 1227} 1228func (m *Intent_Message_Image) XXX_Unmarshal(b []byte) error { 1229 return xxx_messageInfo_Intent_Message_Image.Unmarshal(m, b) 1230} 1231func (m *Intent_Message_Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1232 return xxx_messageInfo_Intent_Message_Image.Marshal(b, m, deterministic) 1233} 1234func (dst *Intent_Message_Image) XXX_Merge(src proto.Message) { 1235 xxx_messageInfo_Intent_Message_Image.Merge(dst, src) 1236} 1237func (m *Intent_Message_Image) XXX_Size() int { 1238 return xxx_messageInfo_Intent_Message_Image.Size(m) 1239} 1240func (m *Intent_Message_Image) XXX_DiscardUnknown() { 1241 xxx_messageInfo_Intent_Message_Image.DiscardUnknown(m) 1242} 1243 1244var xxx_messageInfo_Intent_Message_Image proto.InternalMessageInfo 1245 1246func (m *Intent_Message_Image) GetImageUri() string { 1247 if m != nil { 1248 return m.ImageUri 1249 } 1250 return "" 1251} 1252 1253func (m *Intent_Message_Image) GetAccessibilityText() string { 1254 if m != nil { 1255 return m.AccessibilityText 1256 } 1257 return "" 1258} 1259 1260// The quick replies response message. 1261type Intent_Message_QuickReplies struct { 1262 // Optional. The title of the collection of quick replies. 1263 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1264 // Optional. The collection of quick replies. 1265 QuickReplies []string `protobuf:"bytes,2,rep,name=quick_replies,json=quickReplies,proto3" json:"quick_replies,omitempty"` 1266 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1267 XXX_unrecognized []byte `json:"-"` 1268 XXX_sizecache int32 `json:"-"` 1269} 1270 1271func (m *Intent_Message_QuickReplies) Reset() { *m = Intent_Message_QuickReplies{} } 1272func (m *Intent_Message_QuickReplies) String() string { return proto.CompactTextString(m) } 1273func (*Intent_Message_QuickReplies) ProtoMessage() {} 1274func (*Intent_Message_QuickReplies) Descriptor() ([]byte, []int) { 1275 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 2} 1276} 1277func (m *Intent_Message_QuickReplies) XXX_Unmarshal(b []byte) error { 1278 return xxx_messageInfo_Intent_Message_QuickReplies.Unmarshal(m, b) 1279} 1280func (m *Intent_Message_QuickReplies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1281 return xxx_messageInfo_Intent_Message_QuickReplies.Marshal(b, m, deterministic) 1282} 1283func (dst *Intent_Message_QuickReplies) XXX_Merge(src proto.Message) { 1284 xxx_messageInfo_Intent_Message_QuickReplies.Merge(dst, src) 1285} 1286func (m *Intent_Message_QuickReplies) XXX_Size() int { 1287 return xxx_messageInfo_Intent_Message_QuickReplies.Size(m) 1288} 1289func (m *Intent_Message_QuickReplies) XXX_DiscardUnknown() { 1290 xxx_messageInfo_Intent_Message_QuickReplies.DiscardUnknown(m) 1291} 1292 1293var xxx_messageInfo_Intent_Message_QuickReplies proto.InternalMessageInfo 1294 1295func (m *Intent_Message_QuickReplies) GetTitle() string { 1296 if m != nil { 1297 return m.Title 1298 } 1299 return "" 1300} 1301 1302func (m *Intent_Message_QuickReplies) GetQuickReplies() []string { 1303 if m != nil { 1304 return m.QuickReplies 1305 } 1306 return nil 1307} 1308 1309// The card response message. 1310type Intent_Message_Card struct { 1311 // Optional. The title of the card. 1312 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1313 // Optional. The subtitle of the card. 1314 Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` 1315 // Optional. The public URI to an image file for the card. 1316 ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` 1317 // Optional. The collection of card buttons. 1318 Buttons []*Intent_Message_Card_Button `protobuf:"bytes,4,rep,name=buttons,proto3" json:"buttons,omitempty"` 1319 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1320 XXX_unrecognized []byte `json:"-"` 1321 XXX_sizecache int32 `json:"-"` 1322} 1323 1324func (m *Intent_Message_Card) Reset() { *m = Intent_Message_Card{} } 1325func (m *Intent_Message_Card) String() string { return proto.CompactTextString(m) } 1326func (*Intent_Message_Card) ProtoMessage() {} 1327func (*Intent_Message_Card) Descriptor() ([]byte, []int) { 1328 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 3} 1329} 1330func (m *Intent_Message_Card) XXX_Unmarshal(b []byte) error { 1331 return xxx_messageInfo_Intent_Message_Card.Unmarshal(m, b) 1332} 1333func (m *Intent_Message_Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1334 return xxx_messageInfo_Intent_Message_Card.Marshal(b, m, deterministic) 1335} 1336func (dst *Intent_Message_Card) XXX_Merge(src proto.Message) { 1337 xxx_messageInfo_Intent_Message_Card.Merge(dst, src) 1338} 1339func (m *Intent_Message_Card) XXX_Size() int { 1340 return xxx_messageInfo_Intent_Message_Card.Size(m) 1341} 1342func (m *Intent_Message_Card) XXX_DiscardUnknown() { 1343 xxx_messageInfo_Intent_Message_Card.DiscardUnknown(m) 1344} 1345 1346var xxx_messageInfo_Intent_Message_Card proto.InternalMessageInfo 1347 1348func (m *Intent_Message_Card) GetTitle() string { 1349 if m != nil { 1350 return m.Title 1351 } 1352 return "" 1353} 1354 1355func (m *Intent_Message_Card) GetSubtitle() string { 1356 if m != nil { 1357 return m.Subtitle 1358 } 1359 return "" 1360} 1361 1362func (m *Intent_Message_Card) GetImageUri() string { 1363 if m != nil { 1364 return m.ImageUri 1365 } 1366 return "" 1367} 1368 1369func (m *Intent_Message_Card) GetButtons() []*Intent_Message_Card_Button { 1370 if m != nil { 1371 return m.Buttons 1372 } 1373 return nil 1374} 1375 1376// Optional. Contains information about a button. 1377type Intent_Message_Card_Button struct { 1378 // Optional. The text to show on the button. 1379 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 1380 // Optional. The text to send back to the Dialogflow API or a URI to 1381 // open. 1382 Postback string `protobuf:"bytes,2,opt,name=postback,proto3" json:"postback,omitempty"` 1383 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1384 XXX_unrecognized []byte `json:"-"` 1385 XXX_sizecache int32 `json:"-"` 1386} 1387 1388func (m *Intent_Message_Card_Button) Reset() { *m = Intent_Message_Card_Button{} } 1389func (m *Intent_Message_Card_Button) String() string { return proto.CompactTextString(m) } 1390func (*Intent_Message_Card_Button) ProtoMessage() {} 1391func (*Intent_Message_Card_Button) Descriptor() ([]byte, []int) { 1392 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 3, 0} 1393} 1394func (m *Intent_Message_Card_Button) XXX_Unmarshal(b []byte) error { 1395 return xxx_messageInfo_Intent_Message_Card_Button.Unmarshal(m, b) 1396} 1397func (m *Intent_Message_Card_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1398 return xxx_messageInfo_Intent_Message_Card_Button.Marshal(b, m, deterministic) 1399} 1400func (dst *Intent_Message_Card_Button) XXX_Merge(src proto.Message) { 1401 xxx_messageInfo_Intent_Message_Card_Button.Merge(dst, src) 1402} 1403func (m *Intent_Message_Card_Button) XXX_Size() int { 1404 return xxx_messageInfo_Intent_Message_Card_Button.Size(m) 1405} 1406func (m *Intent_Message_Card_Button) XXX_DiscardUnknown() { 1407 xxx_messageInfo_Intent_Message_Card_Button.DiscardUnknown(m) 1408} 1409 1410var xxx_messageInfo_Intent_Message_Card_Button proto.InternalMessageInfo 1411 1412func (m *Intent_Message_Card_Button) GetText() string { 1413 if m != nil { 1414 return m.Text 1415 } 1416 return "" 1417} 1418 1419func (m *Intent_Message_Card_Button) GetPostback() string { 1420 if m != nil { 1421 return m.Postback 1422 } 1423 return "" 1424} 1425 1426// The simple response message containing speech or text. 1427type Intent_Message_SimpleResponse struct { 1428 // One of text_to_speech or ssml must be provided. The plain text of the 1429 // speech output. Mutually exclusive with ssml. 1430 TextToSpeech string `protobuf:"bytes,1,opt,name=text_to_speech,json=textToSpeech,proto3" json:"text_to_speech,omitempty"` 1431 // One of text_to_speech or ssml must be provided. Structured spoken 1432 // response to the user in the SSML format. Mutually exclusive with 1433 // text_to_speech. 1434 Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3" json:"ssml,omitempty"` 1435 // Optional. The text to display. 1436 DisplayText string `protobuf:"bytes,3,opt,name=display_text,json=displayText,proto3" json:"display_text,omitempty"` 1437 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1438 XXX_unrecognized []byte `json:"-"` 1439 XXX_sizecache int32 `json:"-"` 1440} 1441 1442func (m *Intent_Message_SimpleResponse) Reset() { *m = Intent_Message_SimpleResponse{} } 1443func (m *Intent_Message_SimpleResponse) String() string { return proto.CompactTextString(m) } 1444func (*Intent_Message_SimpleResponse) ProtoMessage() {} 1445func (*Intent_Message_SimpleResponse) Descriptor() ([]byte, []int) { 1446 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 4} 1447} 1448func (m *Intent_Message_SimpleResponse) XXX_Unmarshal(b []byte) error { 1449 return xxx_messageInfo_Intent_Message_SimpleResponse.Unmarshal(m, b) 1450} 1451func (m *Intent_Message_SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1452 return xxx_messageInfo_Intent_Message_SimpleResponse.Marshal(b, m, deterministic) 1453} 1454func (dst *Intent_Message_SimpleResponse) XXX_Merge(src proto.Message) { 1455 xxx_messageInfo_Intent_Message_SimpleResponse.Merge(dst, src) 1456} 1457func (m *Intent_Message_SimpleResponse) XXX_Size() int { 1458 return xxx_messageInfo_Intent_Message_SimpleResponse.Size(m) 1459} 1460func (m *Intent_Message_SimpleResponse) XXX_DiscardUnknown() { 1461 xxx_messageInfo_Intent_Message_SimpleResponse.DiscardUnknown(m) 1462} 1463 1464var xxx_messageInfo_Intent_Message_SimpleResponse proto.InternalMessageInfo 1465 1466func (m *Intent_Message_SimpleResponse) GetTextToSpeech() string { 1467 if m != nil { 1468 return m.TextToSpeech 1469 } 1470 return "" 1471} 1472 1473func (m *Intent_Message_SimpleResponse) GetSsml() string { 1474 if m != nil { 1475 return m.Ssml 1476 } 1477 return "" 1478} 1479 1480func (m *Intent_Message_SimpleResponse) GetDisplayText() string { 1481 if m != nil { 1482 return m.DisplayText 1483 } 1484 return "" 1485} 1486 1487// The collection of simple response candidates. 1488// This message in `QueryResult.fulfillment_messages` and 1489// `WebhookResponse.fulfillment_messages` should contain only one 1490// `SimpleResponse`. 1491type Intent_Message_SimpleResponses struct { 1492 // Required. The list of simple responses. 1493 SimpleResponses []*Intent_Message_SimpleResponse `protobuf:"bytes,1,rep,name=simple_responses,json=simpleResponses,proto3" json:"simple_responses,omitempty"` 1494 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1495 XXX_unrecognized []byte `json:"-"` 1496 XXX_sizecache int32 `json:"-"` 1497} 1498 1499func (m *Intent_Message_SimpleResponses) Reset() { *m = Intent_Message_SimpleResponses{} } 1500func (m *Intent_Message_SimpleResponses) String() string { return proto.CompactTextString(m) } 1501func (*Intent_Message_SimpleResponses) ProtoMessage() {} 1502func (*Intent_Message_SimpleResponses) Descriptor() ([]byte, []int) { 1503 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 5} 1504} 1505func (m *Intent_Message_SimpleResponses) XXX_Unmarshal(b []byte) error { 1506 return xxx_messageInfo_Intent_Message_SimpleResponses.Unmarshal(m, b) 1507} 1508func (m *Intent_Message_SimpleResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1509 return xxx_messageInfo_Intent_Message_SimpleResponses.Marshal(b, m, deterministic) 1510} 1511func (dst *Intent_Message_SimpleResponses) XXX_Merge(src proto.Message) { 1512 xxx_messageInfo_Intent_Message_SimpleResponses.Merge(dst, src) 1513} 1514func (m *Intent_Message_SimpleResponses) XXX_Size() int { 1515 return xxx_messageInfo_Intent_Message_SimpleResponses.Size(m) 1516} 1517func (m *Intent_Message_SimpleResponses) XXX_DiscardUnknown() { 1518 xxx_messageInfo_Intent_Message_SimpleResponses.DiscardUnknown(m) 1519} 1520 1521var xxx_messageInfo_Intent_Message_SimpleResponses proto.InternalMessageInfo 1522 1523func (m *Intent_Message_SimpleResponses) GetSimpleResponses() []*Intent_Message_SimpleResponse { 1524 if m != nil { 1525 return m.SimpleResponses 1526 } 1527 return nil 1528} 1529 1530// The basic card message. Useful for displaying information. 1531type Intent_Message_BasicCard struct { 1532 // Optional. The title of the card. 1533 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1534 // Optional. The subtitle of the card. 1535 Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` 1536 // Required, unless image is present. The body text of the card. 1537 FormattedText string `protobuf:"bytes,3,opt,name=formatted_text,json=formattedText,proto3" json:"formatted_text,omitempty"` 1538 // Optional. The image for the card. 1539 Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` 1540 // Optional. The collection of card buttons. 1541 Buttons []*Intent_Message_BasicCard_Button `protobuf:"bytes,5,rep,name=buttons,proto3" json:"buttons,omitempty"` 1542 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1543 XXX_unrecognized []byte `json:"-"` 1544 XXX_sizecache int32 `json:"-"` 1545} 1546 1547func (m *Intent_Message_BasicCard) Reset() { *m = Intent_Message_BasicCard{} } 1548func (m *Intent_Message_BasicCard) String() string { return proto.CompactTextString(m) } 1549func (*Intent_Message_BasicCard) ProtoMessage() {} 1550func (*Intent_Message_BasicCard) Descriptor() ([]byte, []int) { 1551 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 6} 1552} 1553func (m *Intent_Message_BasicCard) XXX_Unmarshal(b []byte) error { 1554 return xxx_messageInfo_Intent_Message_BasicCard.Unmarshal(m, b) 1555} 1556func (m *Intent_Message_BasicCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1557 return xxx_messageInfo_Intent_Message_BasicCard.Marshal(b, m, deterministic) 1558} 1559func (dst *Intent_Message_BasicCard) XXX_Merge(src proto.Message) { 1560 xxx_messageInfo_Intent_Message_BasicCard.Merge(dst, src) 1561} 1562func (m *Intent_Message_BasicCard) XXX_Size() int { 1563 return xxx_messageInfo_Intent_Message_BasicCard.Size(m) 1564} 1565func (m *Intent_Message_BasicCard) XXX_DiscardUnknown() { 1566 xxx_messageInfo_Intent_Message_BasicCard.DiscardUnknown(m) 1567} 1568 1569var xxx_messageInfo_Intent_Message_BasicCard proto.InternalMessageInfo 1570 1571func (m *Intent_Message_BasicCard) GetTitle() string { 1572 if m != nil { 1573 return m.Title 1574 } 1575 return "" 1576} 1577 1578func (m *Intent_Message_BasicCard) GetSubtitle() string { 1579 if m != nil { 1580 return m.Subtitle 1581 } 1582 return "" 1583} 1584 1585func (m *Intent_Message_BasicCard) GetFormattedText() string { 1586 if m != nil { 1587 return m.FormattedText 1588 } 1589 return "" 1590} 1591 1592func (m *Intent_Message_BasicCard) GetImage() *Intent_Message_Image { 1593 if m != nil { 1594 return m.Image 1595 } 1596 return nil 1597} 1598 1599func (m *Intent_Message_BasicCard) GetButtons() []*Intent_Message_BasicCard_Button { 1600 if m != nil { 1601 return m.Buttons 1602 } 1603 return nil 1604} 1605 1606// The button object that appears at the bottom of a card. 1607type Intent_Message_BasicCard_Button struct { 1608 // Required. The title of the button. 1609 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1610 // Required. Action to take when a user taps on the button. 1611 OpenUriAction *Intent_Message_BasicCard_Button_OpenUriAction `protobuf:"bytes,2,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"` 1612 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1613 XXX_unrecognized []byte `json:"-"` 1614 XXX_sizecache int32 `json:"-"` 1615} 1616 1617func (m *Intent_Message_BasicCard_Button) Reset() { *m = Intent_Message_BasicCard_Button{} } 1618func (m *Intent_Message_BasicCard_Button) String() string { return proto.CompactTextString(m) } 1619func (*Intent_Message_BasicCard_Button) ProtoMessage() {} 1620func (*Intent_Message_BasicCard_Button) Descriptor() ([]byte, []int) { 1621 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 6, 0} 1622} 1623func (m *Intent_Message_BasicCard_Button) XXX_Unmarshal(b []byte) error { 1624 return xxx_messageInfo_Intent_Message_BasicCard_Button.Unmarshal(m, b) 1625} 1626func (m *Intent_Message_BasicCard_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1627 return xxx_messageInfo_Intent_Message_BasicCard_Button.Marshal(b, m, deterministic) 1628} 1629func (dst *Intent_Message_BasicCard_Button) XXX_Merge(src proto.Message) { 1630 xxx_messageInfo_Intent_Message_BasicCard_Button.Merge(dst, src) 1631} 1632func (m *Intent_Message_BasicCard_Button) XXX_Size() int { 1633 return xxx_messageInfo_Intent_Message_BasicCard_Button.Size(m) 1634} 1635func (m *Intent_Message_BasicCard_Button) XXX_DiscardUnknown() { 1636 xxx_messageInfo_Intent_Message_BasicCard_Button.DiscardUnknown(m) 1637} 1638 1639var xxx_messageInfo_Intent_Message_BasicCard_Button proto.InternalMessageInfo 1640 1641func (m *Intent_Message_BasicCard_Button) GetTitle() string { 1642 if m != nil { 1643 return m.Title 1644 } 1645 return "" 1646} 1647 1648func (m *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction { 1649 if m != nil { 1650 return m.OpenUriAction 1651 } 1652 return nil 1653} 1654 1655// Opens the given URI. 1656type Intent_Message_BasicCard_Button_OpenUriAction struct { 1657 // Required. The HTTP or HTTPS scheme URI. 1658 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 1659 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1660 XXX_unrecognized []byte `json:"-"` 1661 XXX_sizecache int32 `json:"-"` 1662} 1663 1664func (m *Intent_Message_BasicCard_Button_OpenUriAction) Reset() { 1665 *m = Intent_Message_BasicCard_Button_OpenUriAction{} 1666} 1667func (m *Intent_Message_BasicCard_Button_OpenUriAction) String() string { 1668 return proto.CompactTextString(m) 1669} 1670func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage() {} 1671func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int) { 1672 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 6, 0, 0} 1673} 1674func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Unmarshal(b []byte) error { 1675 return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Unmarshal(m, b) 1676} 1677func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1678 return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Marshal(b, m, deterministic) 1679} 1680func (dst *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Merge(src proto.Message) { 1681 xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Merge(dst, src) 1682} 1683func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Size() int { 1684 return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Size(m) 1685} 1686func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_DiscardUnknown() { 1687 xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.DiscardUnknown(m) 1688} 1689 1690var xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction proto.InternalMessageInfo 1691 1692func (m *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string { 1693 if m != nil { 1694 return m.Uri 1695 } 1696 return "" 1697} 1698 1699// The suggestion chip message that the user can tap to quickly post a reply 1700// to the conversation. 1701type Intent_Message_Suggestion struct { 1702 // Required. The text shown the in the suggestion chip. 1703 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1704 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1705 XXX_unrecognized []byte `json:"-"` 1706 XXX_sizecache int32 `json:"-"` 1707} 1708 1709func (m *Intent_Message_Suggestion) Reset() { *m = Intent_Message_Suggestion{} } 1710func (m *Intent_Message_Suggestion) String() string { return proto.CompactTextString(m) } 1711func (*Intent_Message_Suggestion) ProtoMessage() {} 1712func (*Intent_Message_Suggestion) Descriptor() ([]byte, []int) { 1713 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 7} 1714} 1715func (m *Intent_Message_Suggestion) XXX_Unmarshal(b []byte) error { 1716 return xxx_messageInfo_Intent_Message_Suggestion.Unmarshal(m, b) 1717} 1718func (m *Intent_Message_Suggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1719 return xxx_messageInfo_Intent_Message_Suggestion.Marshal(b, m, deterministic) 1720} 1721func (dst *Intent_Message_Suggestion) XXX_Merge(src proto.Message) { 1722 xxx_messageInfo_Intent_Message_Suggestion.Merge(dst, src) 1723} 1724func (m *Intent_Message_Suggestion) XXX_Size() int { 1725 return xxx_messageInfo_Intent_Message_Suggestion.Size(m) 1726} 1727func (m *Intent_Message_Suggestion) XXX_DiscardUnknown() { 1728 xxx_messageInfo_Intent_Message_Suggestion.DiscardUnknown(m) 1729} 1730 1731var xxx_messageInfo_Intent_Message_Suggestion proto.InternalMessageInfo 1732 1733func (m *Intent_Message_Suggestion) GetTitle() string { 1734 if m != nil { 1735 return m.Title 1736 } 1737 return "" 1738} 1739 1740// The collection of suggestions. 1741type Intent_Message_Suggestions struct { 1742 // Required. The list of suggested replies. 1743 Suggestions []*Intent_Message_Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"` 1744 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1745 XXX_unrecognized []byte `json:"-"` 1746 XXX_sizecache int32 `json:"-"` 1747} 1748 1749func (m *Intent_Message_Suggestions) Reset() { *m = Intent_Message_Suggestions{} } 1750func (m *Intent_Message_Suggestions) String() string { return proto.CompactTextString(m) } 1751func (*Intent_Message_Suggestions) ProtoMessage() {} 1752func (*Intent_Message_Suggestions) Descriptor() ([]byte, []int) { 1753 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 8} 1754} 1755func (m *Intent_Message_Suggestions) XXX_Unmarshal(b []byte) error { 1756 return xxx_messageInfo_Intent_Message_Suggestions.Unmarshal(m, b) 1757} 1758func (m *Intent_Message_Suggestions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1759 return xxx_messageInfo_Intent_Message_Suggestions.Marshal(b, m, deterministic) 1760} 1761func (dst *Intent_Message_Suggestions) XXX_Merge(src proto.Message) { 1762 xxx_messageInfo_Intent_Message_Suggestions.Merge(dst, src) 1763} 1764func (m *Intent_Message_Suggestions) XXX_Size() int { 1765 return xxx_messageInfo_Intent_Message_Suggestions.Size(m) 1766} 1767func (m *Intent_Message_Suggestions) XXX_DiscardUnknown() { 1768 xxx_messageInfo_Intent_Message_Suggestions.DiscardUnknown(m) 1769} 1770 1771var xxx_messageInfo_Intent_Message_Suggestions proto.InternalMessageInfo 1772 1773func (m *Intent_Message_Suggestions) GetSuggestions() []*Intent_Message_Suggestion { 1774 if m != nil { 1775 return m.Suggestions 1776 } 1777 return nil 1778} 1779 1780// The suggestion chip message that allows the user to jump out to the app 1781// or website associated with this agent. 1782type Intent_Message_LinkOutSuggestion struct { 1783 // Required. The name of the app or site this chip is linking to. 1784 DestinationName string `protobuf:"bytes,1,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"` 1785 // Required. The URI of the app or site to open when the user taps the 1786 // suggestion chip. 1787 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` 1788 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1789 XXX_unrecognized []byte `json:"-"` 1790 XXX_sizecache int32 `json:"-"` 1791} 1792 1793func (m *Intent_Message_LinkOutSuggestion) Reset() { *m = Intent_Message_LinkOutSuggestion{} } 1794func (m *Intent_Message_LinkOutSuggestion) String() string { return proto.CompactTextString(m) } 1795func (*Intent_Message_LinkOutSuggestion) ProtoMessage() {} 1796func (*Intent_Message_LinkOutSuggestion) Descriptor() ([]byte, []int) { 1797 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 9} 1798} 1799func (m *Intent_Message_LinkOutSuggestion) XXX_Unmarshal(b []byte) error { 1800 return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Unmarshal(m, b) 1801} 1802func (m *Intent_Message_LinkOutSuggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1803 return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Marshal(b, m, deterministic) 1804} 1805func (dst *Intent_Message_LinkOutSuggestion) XXX_Merge(src proto.Message) { 1806 xxx_messageInfo_Intent_Message_LinkOutSuggestion.Merge(dst, src) 1807} 1808func (m *Intent_Message_LinkOutSuggestion) XXX_Size() int { 1809 return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Size(m) 1810} 1811func (m *Intent_Message_LinkOutSuggestion) XXX_DiscardUnknown() { 1812 xxx_messageInfo_Intent_Message_LinkOutSuggestion.DiscardUnknown(m) 1813} 1814 1815var xxx_messageInfo_Intent_Message_LinkOutSuggestion proto.InternalMessageInfo 1816 1817func (m *Intent_Message_LinkOutSuggestion) GetDestinationName() string { 1818 if m != nil { 1819 return m.DestinationName 1820 } 1821 return "" 1822} 1823 1824func (m *Intent_Message_LinkOutSuggestion) GetUri() string { 1825 if m != nil { 1826 return m.Uri 1827 } 1828 return "" 1829} 1830 1831// The card for presenting a list of options to select from. 1832type Intent_Message_ListSelect struct { 1833 // Optional. The overall title of the list. 1834 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1835 // Required. List items. 1836 Items []*Intent_Message_ListSelect_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` 1837 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1838 XXX_unrecognized []byte `json:"-"` 1839 XXX_sizecache int32 `json:"-"` 1840} 1841 1842func (m *Intent_Message_ListSelect) Reset() { *m = Intent_Message_ListSelect{} } 1843func (m *Intent_Message_ListSelect) String() string { return proto.CompactTextString(m) } 1844func (*Intent_Message_ListSelect) ProtoMessage() {} 1845func (*Intent_Message_ListSelect) Descriptor() ([]byte, []int) { 1846 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 10} 1847} 1848func (m *Intent_Message_ListSelect) XXX_Unmarshal(b []byte) error { 1849 return xxx_messageInfo_Intent_Message_ListSelect.Unmarshal(m, b) 1850} 1851func (m *Intent_Message_ListSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1852 return xxx_messageInfo_Intent_Message_ListSelect.Marshal(b, m, deterministic) 1853} 1854func (dst *Intent_Message_ListSelect) XXX_Merge(src proto.Message) { 1855 xxx_messageInfo_Intent_Message_ListSelect.Merge(dst, src) 1856} 1857func (m *Intent_Message_ListSelect) XXX_Size() int { 1858 return xxx_messageInfo_Intent_Message_ListSelect.Size(m) 1859} 1860func (m *Intent_Message_ListSelect) XXX_DiscardUnknown() { 1861 xxx_messageInfo_Intent_Message_ListSelect.DiscardUnknown(m) 1862} 1863 1864var xxx_messageInfo_Intent_Message_ListSelect proto.InternalMessageInfo 1865 1866func (m *Intent_Message_ListSelect) GetTitle() string { 1867 if m != nil { 1868 return m.Title 1869 } 1870 return "" 1871} 1872 1873func (m *Intent_Message_ListSelect) GetItems() []*Intent_Message_ListSelect_Item { 1874 if m != nil { 1875 return m.Items 1876 } 1877 return nil 1878} 1879 1880// An item in the list. 1881type Intent_Message_ListSelect_Item struct { 1882 // Required. Additional information about this option. 1883 Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` 1884 // Required. The title of the list item. 1885 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 1886 // Optional. The main text describing the item. 1887 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 1888 // Optional. The image to display. 1889 Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` 1890 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1891 XXX_unrecognized []byte `json:"-"` 1892 XXX_sizecache int32 `json:"-"` 1893} 1894 1895func (m *Intent_Message_ListSelect_Item) Reset() { *m = Intent_Message_ListSelect_Item{} } 1896func (m *Intent_Message_ListSelect_Item) String() string { return proto.CompactTextString(m) } 1897func (*Intent_Message_ListSelect_Item) ProtoMessage() {} 1898func (*Intent_Message_ListSelect_Item) Descriptor() ([]byte, []int) { 1899 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 10, 0} 1900} 1901func (m *Intent_Message_ListSelect_Item) XXX_Unmarshal(b []byte) error { 1902 return xxx_messageInfo_Intent_Message_ListSelect_Item.Unmarshal(m, b) 1903} 1904func (m *Intent_Message_ListSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1905 return xxx_messageInfo_Intent_Message_ListSelect_Item.Marshal(b, m, deterministic) 1906} 1907func (dst *Intent_Message_ListSelect_Item) XXX_Merge(src proto.Message) { 1908 xxx_messageInfo_Intent_Message_ListSelect_Item.Merge(dst, src) 1909} 1910func (m *Intent_Message_ListSelect_Item) XXX_Size() int { 1911 return xxx_messageInfo_Intent_Message_ListSelect_Item.Size(m) 1912} 1913func (m *Intent_Message_ListSelect_Item) XXX_DiscardUnknown() { 1914 xxx_messageInfo_Intent_Message_ListSelect_Item.DiscardUnknown(m) 1915} 1916 1917var xxx_messageInfo_Intent_Message_ListSelect_Item proto.InternalMessageInfo 1918 1919func (m *Intent_Message_ListSelect_Item) GetInfo() *Intent_Message_SelectItemInfo { 1920 if m != nil { 1921 return m.Info 1922 } 1923 return nil 1924} 1925 1926func (m *Intent_Message_ListSelect_Item) GetTitle() string { 1927 if m != nil { 1928 return m.Title 1929 } 1930 return "" 1931} 1932 1933func (m *Intent_Message_ListSelect_Item) GetDescription() string { 1934 if m != nil { 1935 return m.Description 1936 } 1937 return "" 1938} 1939 1940func (m *Intent_Message_ListSelect_Item) GetImage() *Intent_Message_Image { 1941 if m != nil { 1942 return m.Image 1943 } 1944 return nil 1945} 1946 1947// The card for presenting a carousel of options to select from. 1948type Intent_Message_CarouselSelect struct { 1949 // Required. Carousel items. 1950 Items []*Intent_Message_CarouselSelect_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 1951 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1952 XXX_unrecognized []byte `json:"-"` 1953 XXX_sizecache int32 `json:"-"` 1954} 1955 1956func (m *Intent_Message_CarouselSelect) Reset() { *m = Intent_Message_CarouselSelect{} } 1957func (m *Intent_Message_CarouselSelect) String() string { return proto.CompactTextString(m) } 1958func (*Intent_Message_CarouselSelect) ProtoMessage() {} 1959func (*Intent_Message_CarouselSelect) Descriptor() ([]byte, []int) { 1960 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 11} 1961} 1962func (m *Intent_Message_CarouselSelect) XXX_Unmarshal(b []byte) error { 1963 return xxx_messageInfo_Intent_Message_CarouselSelect.Unmarshal(m, b) 1964} 1965func (m *Intent_Message_CarouselSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1966 return xxx_messageInfo_Intent_Message_CarouselSelect.Marshal(b, m, deterministic) 1967} 1968func (dst *Intent_Message_CarouselSelect) XXX_Merge(src proto.Message) { 1969 xxx_messageInfo_Intent_Message_CarouselSelect.Merge(dst, src) 1970} 1971func (m *Intent_Message_CarouselSelect) XXX_Size() int { 1972 return xxx_messageInfo_Intent_Message_CarouselSelect.Size(m) 1973} 1974func (m *Intent_Message_CarouselSelect) XXX_DiscardUnknown() { 1975 xxx_messageInfo_Intent_Message_CarouselSelect.DiscardUnknown(m) 1976} 1977 1978var xxx_messageInfo_Intent_Message_CarouselSelect proto.InternalMessageInfo 1979 1980func (m *Intent_Message_CarouselSelect) GetItems() []*Intent_Message_CarouselSelect_Item { 1981 if m != nil { 1982 return m.Items 1983 } 1984 return nil 1985} 1986 1987// An item in the carousel. 1988type Intent_Message_CarouselSelect_Item struct { 1989 // Required. Additional info about the option item. 1990 Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` 1991 // Required. Title of the carousel item. 1992 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 1993 // Optional. The body text of the card. 1994 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 1995 // Optional. The image to display. 1996 Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` 1997 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1998 XXX_unrecognized []byte `json:"-"` 1999 XXX_sizecache int32 `json:"-"` 2000} 2001 2002func (m *Intent_Message_CarouselSelect_Item) Reset() { *m = Intent_Message_CarouselSelect_Item{} } 2003func (m *Intent_Message_CarouselSelect_Item) String() string { return proto.CompactTextString(m) } 2004func (*Intent_Message_CarouselSelect_Item) ProtoMessage() {} 2005func (*Intent_Message_CarouselSelect_Item) Descriptor() ([]byte, []int) { 2006 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 11, 0} 2007} 2008func (m *Intent_Message_CarouselSelect_Item) XXX_Unmarshal(b []byte) error { 2009 return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Unmarshal(m, b) 2010} 2011func (m *Intent_Message_CarouselSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2012 return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Marshal(b, m, deterministic) 2013} 2014func (dst *Intent_Message_CarouselSelect_Item) XXX_Merge(src proto.Message) { 2015 xxx_messageInfo_Intent_Message_CarouselSelect_Item.Merge(dst, src) 2016} 2017func (m *Intent_Message_CarouselSelect_Item) XXX_Size() int { 2018 return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Size(m) 2019} 2020func (m *Intent_Message_CarouselSelect_Item) XXX_DiscardUnknown() { 2021 xxx_messageInfo_Intent_Message_CarouselSelect_Item.DiscardUnknown(m) 2022} 2023 2024var xxx_messageInfo_Intent_Message_CarouselSelect_Item proto.InternalMessageInfo 2025 2026func (m *Intent_Message_CarouselSelect_Item) GetInfo() *Intent_Message_SelectItemInfo { 2027 if m != nil { 2028 return m.Info 2029 } 2030 return nil 2031} 2032 2033func (m *Intent_Message_CarouselSelect_Item) GetTitle() string { 2034 if m != nil { 2035 return m.Title 2036 } 2037 return "" 2038} 2039 2040func (m *Intent_Message_CarouselSelect_Item) GetDescription() string { 2041 if m != nil { 2042 return m.Description 2043 } 2044 return "" 2045} 2046 2047func (m *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image { 2048 if m != nil { 2049 return m.Image 2050 } 2051 return nil 2052} 2053 2054// Additional info about the select item for when it is triggered in a 2055// dialog. 2056type Intent_Message_SelectItemInfo struct { 2057 // Required. A unique key that will be sent back to the agent if this 2058 // response is given. 2059 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 2060 // Optional. A list of synonyms that can also be used to trigger this 2061 // item in dialog. 2062 Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` 2063 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2064 XXX_unrecognized []byte `json:"-"` 2065 XXX_sizecache int32 `json:"-"` 2066} 2067 2068func (m *Intent_Message_SelectItemInfo) Reset() { *m = Intent_Message_SelectItemInfo{} } 2069func (m *Intent_Message_SelectItemInfo) String() string { return proto.CompactTextString(m) } 2070func (*Intent_Message_SelectItemInfo) ProtoMessage() {} 2071func (*Intent_Message_SelectItemInfo) Descriptor() ([]byte, []int) { 2072 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 2, 12} 2073} 2074func (m *Intent_Message_SelectItemInfo) XXX_Unmarshal(b []byte) error { 2075 return xxx_messageInfo_Intent_Message_SelectItemInfo.Unmarshal(m, b) 2076} 2077func (m *Intent_Message_SelectItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2078 return xxx_messageInfo_Intent_Message_SelectItemInfo.Marshal(b, m, deterministic) 2079} 2080func (dst *Intent_Message_SelectItemInfo) XXX_Merge(src proto.Message) { 2081 xxx_messageInfo_Intent_Message_SelectItemInfo.Merge(dst, src) 2082} 2083func (m *Intent_Message_SelectItemInfo) XXX_Size() int { 2084 return xxx_messageInfo_Intent_Message_SelectItemInfo.Size(m) 2085} 2086func (m *Intent_Message_SelectItemInfo) XXX_DiscardUnknown() { 2087 xxx_messageInfo_Intent_Message_SelectItemInfo.DiscardUnknown(m) 2088} 2089 2090var xxx_messageInfo_Intent_Message_SelectItemInfo proto.InternalMessageInfo 2091 2092func (m *Intent_Message_SelectItemInfo) GetKey() string { 2093 if m != nil { 2094 return m.Key 2095 } 2096 return "" 2097} 2098 2099func (m *Intent_Message_SelectItemInfo) GetSynonyms() []string { 2100 if m != nil { 2101 return m.Synonyms 2102 } 2103 return nil 2104} 2105 2106// Represents a single followup intent in the chain. 2107type Intent_FollowupIntentInfo struct { 2108 // The unique identifier of the followup intent. 2109 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2110 FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName,proto3" json:"followup_intent_name,omitempty"` 2111 // The unique identifier of the followup intent parent. 2112 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2113 ParentFollowupIntentName string `protobuf:"bytes,2,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` 2114 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2115 XXX_unrecognized []byte `json:"-"` 2116 XXX_sizecache int32 `json:"-"` 2117} 2118 2119func (m *Intent_FollowupIntentInfo) Reset() { *m = Intent_FollowupIntentInfo{} } 2120func (m *Intent_FollowupIntentInfo) String() string { return proto.CompactTextString(m) } 2121func (*Intent_FollowupIntentInfo) ProtoMessage() {} 2122func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int) { 2123 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{0, 3} 2124} 2125func (m *Intent_FollowupIntentInfo) XXX_Unmarshal(b []byte) error { 2126 return xxx_messageInfo_Intent_FollowupIntentInfo.Unmarshal(m, b) 2127} 2128func (m *Intent_FollowupIntentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2129 return xxx_messageInfo_Intent_FollowupIntentInfo.Marshal(b, m, deterministic) 2130} 2131func (dst *Intent_FollowupIntentInfo) XXX_Merge(src proto.Message) { 2132 xxx_messageInfo_Intent_FollowupIntentInfo.Merge(dst, src) 2133} 2134func (m *Intent_FollowupIntentInfo) XXX_Size() int { 2135 return xxx_messageInfo_Intent_FollowupIntentInfo.Size(m) 2136} 2137func (m *Intent_FollowupIntentInfo) XXX_DiscardUnknown() { 2138 xxx_messageInfo_Intent_FollowupIntentInfo.DiscardUnknown(m) 2139} 2140 2141var xxx_messageInfo_Intent_FollowupIntentInfo proto.InternalMessageInfo 2142 2143func (m *Intent_FollowupIntentInfo) GetFollowupIntentName() string { 2144 if m != nil { 2145 return m.FollowupIntentName 2146 } 2147 return "" 2148} 2149 2150func (m *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string { 2151 if m != nil { 2152 return m.ParentFollowupIntentName 2153 } 2154 return "" 2155} 2156 2157// The request message for [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents]. 2158type ListIntentsRequest struct { 2159 // Required. The agent to list all intents from. 2160 // Format: `projects/<Project ID>/agent`. 2161 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2162 // Optional. The language to list training phrases, parameters and rich 2163 // messages for. If not specified, the agent's default language is used. 2164 // [More than a dozen 2165 // languages](https://dialogflow.com/docs/reference/language) are supported. 2166 // Note: languages must be enabled in the agent before they can be used. 2167 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2168 // Optional. The resource view to apply to the returned intent. 2169 IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` 2170 // Optional. The maximum number of items to return in a single page. By 2171 // default 100 and at most 1000. 2172 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2173 // Optional. The next_page_token value returned from a previous list request. 2174 PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2175 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2176 XXX_unrecognized []byte `json:"-"` 2177 XXX_sizecache int32 `json:"-"` 2178} 2179 2180func (m *ListIntentsRequest) Reset() { *m = ListIntentsRequest{} } 2181func (m *ListIntentsRequest) String() string { return proto.CompactTextString(m) } 2182func (*ListIntentsRequest) ProtoMessage() {} 2183func (*ListIntentsRequest) Descriptor() ([]byte, []int) { 2184 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{1} 2185} 2186func (m *ListIntentsRequest) XXX_Unmarshal(b []byte) error { 2187 return xxx_messageInfo_ListIntentsRequest.Unmarshal(m, b) 2188} 2189func (m *ListIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2190 return xxx_messageInfo_ListIntentsRequest.Marshal(b, m, deterministic) 2191} 2192func (dst *ListIntentsRequest) XXX_Merge(src proto.Message) { 2193 xxx_messageInfo_ListIntentsRequest.Merge(dst, src) 2194} 2195func (m *ListIntentsRequest) XXX_Size() int { 2196 return xxx_messageInfo_ListIntentsRequest.Size(m) 2197} 2198func (m *ListIntentsRequest) XXX_DiscardUnknown() { 2199 xxx_messageInfo_ListIntentsRequest.DiscardUnknown(m) 2200} 2201 2202var xxx_messageInfo_ListIntentsRequest proto.InternalMessageInfo 2203 2204func (m *ListIntentsRequest) GetParent() string { 2205 if m != nil { 2206 return m.Parent 2207 } 2208 return "" 2209} 2210 2211func (m *ListIntentsRequest) GetLanguageCode() string { 2212 if m != nil { 2213 return m.LanguageCode 2214 } 2215 return "" 2216} 2217 2218func (m *ListIntentsRequest) GetIntentView() IntentView { 2219 if m != nil { 2220 return m.IntentView 2221 } 2222 return IntentView_INTENT_VIEW_UNSPECIFIED 2223} 2224 2225func (m *ListIntentsRequest) GetPageSize() int32 { 2226 if m != nil { 2227 return m.PageSize 2228 } 2229 return 0 2230} 2231 2232func (m *ListIntentsRequest) GetPageToken() string { 2233 if m != nil { 2234 return m.PageToken 2235 } 2236 return "" 2237} 2238 2239// The response message for [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents]. 2240type ListIntentsResponse struct { 2241 // The list of agent intents. There will be a maximum number of items 2242 // returned based on the page_size field in the request. 2243 Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` 2244 // Token to retrieve the next page of results, or empty if there are no 2245 // more results in the list. 2246 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2247 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2248 XXX_unrecognized []byte `json:"-"` 2249 XXX_sizecache int32 `json:"-"` 2250} 2251 2252func (m *ListIntentsResponse) Reset() { *m = ListIntentsResponse{} } 2253func (m *ListIntentsResponse) String() string { return proto.CompactTextString(m) } 2254func (*ListIntentsResponse) ProtoMessage() {} 2255func (*ListIntentsResponse) Descriptor() ([]byte, []int) { 2256 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{2} 2257} 2258func (m *ListIntentsResponse) XXX_Unmarshal(b []byte) error { 2259 return xxx_messageInfo_ListIntentsResponse.Unmarshal(m, b) 2260} 2261func (m *ListIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2262 return xxx_messageInfo_ListIntentsResponse.Marshal(b, m, deterministic) 2263} 2264func (dst *ListIntentsResponse) XXX_Merge(src proto.Message) { 2265 xxx_messageInfo_ListIntentsResponse.Merge(dst, src) 2266} 2267func (m *ListIntentsResponse) XXX_Size() int { 2268 return xxx_messageInfo_ListIntentsResponse.Size(m) 2269} 2270func (m *ListIntentsResponse) XXX_DiscardUnknown() { 2271 xxx_messageInfo_ListIntentsResponse.DiscardUnknown(m) 2272} 2273 2274var xxx_messageInfo_ListIntentsResponse proto.InternalMessageInfo 2275 2276func (m *ListIntentsResponse) GetIntents() []*Intent { 2277 if m != nil { 2278 return m.Intents 2279 } 2280 return nil 2281} 2282 2283func (m *ListIntentsResponse) GetNextPageToken() string { 2284 if m != nil { 2285 return m.NextPageToken 2286 } 2287 return "" 2288} 2289 2290// The request message for [Intents.GetIntent][google.cloud.dialogflow.v2.Intents.GetIntent]. 2291type GetIntentRequest struct { 2292 // Required. The name of the intent. 2293 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2294 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2295 // Optional. The language to retrieve training phrases, parameters and rich 2296 // messages for. If not specified, the agent's default language is used. 2297 // [More than a dozen 2298 // languages](https://dialogflow.com/docs/reference/language) are supported. 2299 // Note: languages must be enabled in the agent, before they can be used. 2300 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2301 // Optional. The resource view to apply to the returned intent. 2302 IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` 2303 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2304 XXX_unrecognized []byte `json:"-"` 2305 XXX_sizecache int32 `json:"-"` 2306} 2307 2308func (m *GetIntentRequest) Reset() { *m = GetIntentRequest{} } 2309func (m *GetIntentRequest) String() string { return proto.CompactTextString(m) } 2310func (*GetIntentRequest) ProtoMessage() {} 2311func (*GetIntentRequest) Descriptor() ([]byte, []int) { 2312 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{3} 2313} 2314func (m *GetIntentRequest) XXX_Unmarshal(b []byte) error { 2315 return xxx_messageInfo_GetIntentRequest.Unmarshal(m, b) 2316} 2317func (m *GetIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2318 return xxx_messageInfo_GetIntentRequest.Marshal(b, m, deterministic) 2319} 2320func (dst *GetIntentRequest) XXX_Merge(src proto.Message) { 2321 xxx_messageInfo_GetIntentRequest.Merge(dst, src) 2322} 2323func (m *GetIntentRequest) XXX_Size() int { 2324 return xxx_messageInfo_GetIntentRequest.Size(m) 2325} 2326func (m *GetIntentRequest) XXX_DiscardUnknown() { 2327 xxx_messageInfo_GetIntentRequest.DiscardUnknown(m) 2328} 2329 2330var xxx_messageInfo_GetIntentRequest proto.InternalMessageInfo 2331 2332func (m *GetIntentRequest) GetName() string { 2333 if m != nil { 2334 return m.Name 2335 } 2336 return "" 2337} 2338 2339func (m *GetIntentRequest) GetLanguageCode() string { 2340 if m != nil { 2341 return m.LanguageCode 2342 } 2343 return "" 2344} 2345 2346func (m *GetIntentRequest) GetIntentView() IntentView { 2347 if m != nil { 2348 return m.IntentView 2349 } 2350 return IntentView_INTENT_VIEW_UNSPECIFIED 2351} 2352 2353// The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent]. 2354type CreateIntentRequest struct { 2355 // Required. The agent to create a intent for. 2356 // Format: `projects/<Project ID>/agent`. 2357 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2358 // Required. The intent to create. 2359 Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"` 2360 // Optional. The language of training phrases, parameters and rich messages 2361 // defined in `intent`. If not specified, the agent's default language is 2362 // used. [More than a dozen 2363 // languages](https://dialogflow.com/docs/reference/language) are supported. 2364 // Note: languages must be enabled in the agent, before they can be used. 2365 LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2366 // Optional. The resource view to apply to the returned intent. 2367 IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` 2368 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2369 XXX_unrecognized []byte `json:"-"` 2370 XXX_sizecache int32 `json:"-"` 2371} 2372 2373func (m *CreateIntentRequest) Reset() { *m = CreateIntentRequest{} } 2374func (m *CreateIntentRequest) String() string { return proto.CompactTextString(m) } 2375func (*CreateIntentRequest) ProtoMessage() {} 2376func (*CreateIntentRequest) Descriptor() ([]byte, []int) { 2377 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{4} 2378} 2379func (m *CreateIntentRequest) XXX_Unmarshal(b []byte) error { 2380 return xxx_messageInfo_CreateIntentRequest.Unmarshal(m, b) 2381} 2382func (m *CreateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2383 return xxx_messageInfo_CreateIntentRequest.Marshal(b, m, deterministic) 2384} 2385func (dst *CreateIntentRequest) XXX_Merge(src proto.Message) { 2386 xxx_messageInfo_CreateIntentRequest.Merge(dst, src) 2387} 2388func (m *CreateIntentRequest) XXX_Size() int { 2389 return xxx_messageInfo_CreateIntentRequest.Size(m) 2390} 2391func (m *CreateIntentRequest) XXX_DiscardUnknown() { 2392 xxx_messageInfo_CreateIntentRequest.DiscardUnknown(m) 2393} 2394 2395var xxx_messageInfo_CreateIntentRequest proto.InternalMessageInfo 2396 2397func (m *CreateIntentRequest) GetParent() string { 2398 if m != nil { 2399 return m.Parent 2400 } 2401 return "" 2402} 2403 2404func (m *CreateIntentRequest) GetIntent() *Intent { 2405 if m != nil { 2406 return m.Intent 2407 } 2408 return nil 2409} 2410 2411func (m *CreateIntentRequest) GetLanguageCode() string { 2412 if m != nil { 2413 return m.LanguageCode 2414 } 2415 return "" 2416} 2417 2418func (m *CreateIntentRequest) GetIntentView() IntentView { 2419 if m != nil { 2420 return m.IntentView 2421 } 2422 return IntentView_INTENT_VIEW_UNSPECIFIED 2423} 2424 2425// The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent]. 2426type UpdateIntentRequest struct { 2427 // Required. The intent to update. 2428 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2429 Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` 2430 // Optional. The language of training phrases, parameters and rich messages 2431 // defined in `intent`. If not specified, the agent's default language is 2432 // used. [More than a dozen 2433 // languages](https://dialogflow.com/docs/reference/language) are supported. 2434 // Note: languages must be enabled in the agent, before they can be used. 2435 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2436 // Optional. The mask to control which fields get updated. 2437 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2438 // Optional. The resource view to apply to the returned intent. 2439 IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` 2440 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2441 XXX_unrecognized []byte `json:"-"` 2442 XXX_sizecache int32 `json:"-"` 2443} 2444 2445func (m *UpdateIntentRequest) Reset() { *m = UpdateIntentRequest{} } 2446func (m *UpdateIntentRequest) String() string { return proto.CompactTextString(m) } 2447func (*UpdateIntentRequest) ProtoMessage() {} 2448func (*UpdateIntentRequest) Descriptor() ([]byte, []int) { 2449 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{5} 2450} 2451func (m *UpdateIntentRequest) XXX_Unmarshal(b []byte) error { 2452 return xxx_messageInfo_UpdateIntentRequest.Unmarshal(m, b) 2453} 2454func (m *UpdateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2455 return xxx_messageInfo_UpdateIntentRequest.Marshal(b, m, deterministic) 2456} 2457func (dst *UpdateIntentRequest) XXX_Merge(src proto.Message) { 2458 xxx_messageInfo_UpdateIntentRequest.Merge(dst, src) 2459} 2460func (m *UpdateIntentRequest) XXX_Size() int { 2461 return xxx_messageInfo_UpdateIntentRequest.Size(m) 2462} 2463func (m *UpdateIntentRequest) XXX_DiscardUnknown() { 2464 xxx_messageInfo_UpdateIntentRequest.DiscardUnknown(m) 2465} 2466 2467var xxx_messageInfo_UpdateIntentRequest proto.InternalMessageInfo 2468 2469func (m *UpdateIntentRequest) GetIntent() *Intent { 2470 if m != nil { 2471 return m.Intent 2472 } 2473 return nil 2474} 2475 2476func (m *UpdateIntentRequest) GetLanguageCode() string { 2477 if m != nil { 2478 return m.LanguageCode 2479 } 2480 return "" 2481} 2482 2483func (m *UpdateIntentRequest) GetUpdateMask() *field_mask.FieldMask { 2484 if m != nil { 2485 return m.UpdateMask 2486 } 2487 return nil 2488} 2489 2490func (m *UpdateIntentRequest) GetIntentView() IntentView { 2491 if m != nil { 2492 return m.IntentView 2493 } 2494 return IntentView_INTENT_VIEW_UNSPECIFIED 2495} 2496 2497// The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2.Intents.DeleteIntent]. 2498type DeleteIntentRequest struct { 2499 // Required. The name of the intent to delete. 2500 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2501 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2502 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2503 XXX_unrecognized []byte `json:"-"` 2504 XXX_sizecache int32 `json:"-"` 2505} 2506 2507func (m *DeleteIntentRequest) Reset() { *m = DeleteIntentRequest{} } 2508func (m *DeleteIntentRequest) String() string { return proto.CompactTextString(m) } 2509func (*DeleteIntentRequest) ProtoMessage() {} 2510func (*DeleteIntentRequest) Descriptor() ([]byte, []int) { 2511 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{6} 2512} 2513func (m *DeleteIntentRequest) XXX_Unmarshal(b []byte) error { 2514 return xxx_messageInfo_DeleteIntentRequest.Unmarshal(m, b) 2515} 2516func (m *DeleteIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2517 return xxx_messageInfo_DeleteIntentRequest.Marshal(b, m, deterministic) 2518} 2519func (dst *DeleteIntentRequest) XXX_Merge(src proto.Message) { 2520 xxx_messageInfo_DeleteIntentRequest.Merge(dst, src) 2521} 2522func (m *DeleteIntentRequest) XXX_Size() int { 2523 return xxx_messageInfo_DeleteIntentRequest.Size(m) 2524} 2525func (m *DeleteIntentRequest) XXX_DiscardUnknown() { 2526 xxx_messageInfo_DeleteIntentRequest.DiscardUnknown(m) 2527} 2528 2529var xxx_messageInfo_DeleteIntentRequest proto.InternalMessageInfo 2530 2531func (m *DeleteIntentRequest) GetName() string { 2532 if m != nil { 2533 return m.Name 2534 } 2535 return "" 2536} 2537 2538// The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]. 2539type BatchUpdateIntentsRequest struct { 2540 // Required. The name of the agent to update or create intents in. 2541 // Format: `projects/<Project ID>/agent`. 2542 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2543 // Required. The source of the intent batch. 2544 // 2545 // Types that are valid to be assigned to IntentBatch: 2546 // *BatchUpdateIntentsRequest_IntentBatchUri 2547 // *BatchUpdateIntentsRequest_IntentBatchInline 2548 IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"` 2549 // Optional. The language of training phrases, parameters and rich messages 2550 // defined in `intents`. If not specified, the agent's default language is 2551 // used. [More than a dozen 2552 // languages](https://dialogflow.com/docs/reference/language) are supported. 2553 // Note: languages must be enabled in the agent, before they can be used. 2554 LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2555 // Optional. The mask to control which fields get updated. 2556 UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2557 // Optional. The resource view to apply to the returned intent. 2558 IntentView IntentView `protobuf:"varint,6,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"` 2559 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2560 XXX_unrecognized []byte `json:"-"` 2561 XXX_sizecache int32 `json:"-"` 2562} 2563 2564func (m *BatchUpdateIntentsRequest) Reset() { *m = BatchUpdateIntentsRequest{} } 2565func (m *BatchUpdateIntentsRequest) String() string { return proto.CompactTextString(m) } 2566func (*BatchUpdateIntentsRequest) ProtoMessage() {} 2567func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int) { 2568 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{7} 2569} 2570func (m *BatchUpdateIntentsRequest) XXX_Unmarshal(b []byte) error { 2571 return xxx_messageInfo_BatchUpdateIntentsRequest.Unmarshal(m, b) 2572} 2573func (m *BatchUpdateIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2574 return xxx_messageInfo_BatchUpdateIntentsRequest.Marshal(b, m, deterministic) 2575} 2576func (dst *BatchUpdateIntentsRequest) XXX_Merge(src proto.Message) { 2577 xxx_messageInfo_BatchUpdateIntentsRequest.Merge(dst, src) 2578} 2579func (m *BatchUpdateIntentsRequest) XXX_Size() int { 2580 return xxx_messageInfo_BatchUpdateIntentsRequest.Size(m) 2581} 2582func (m *BatchUpdateIntentsRequest) XXX_DiscardUnknown() { 2583 xxx_messageInfo_BatchUpdateIntentsRequest.DiscardUnknown(m) 2584} 2585 2586var xxx_messageInfo_BatchUpdateIntentsRequest proto.InternalMessageInfo 2587 2588func (m *BatchUpdateIntentsRequest) GetParent() string { 2589 if m != nil { 2590 return m.Parent 2591 } 2592 return "" 2593} 2594 2595type isBatchUpdateIntentsRequest_IntentBatch interface { 2596 isBatchUpdateIntentsRequest_IntentBatch() 2597} 2598 2599type BatchUpdateIntentsRequest_IntentBatchUri struct { 2600 IntentBatchUri string `protobuf:"bytes,2,opt,name=intent_batch_uri,json=intentBatchUri,proto3,oneof"` 2601} 2602 2603type BatchUpdateIntentsRequest_IntentBatchInline struct { 2604 IntentBatchInline *IntentBatch `protobuf:"bytes,3,opt,name=intent_batch_inline,json=intentBatchInline,proto3,oneof"` 2605} 2606 2607func (*BatchUpdateIntentsRequest_IntentBatchUri) isBatchUpdateIntentsRequest_IntentBatch() {} 2608 2609func (*BatchUpdateIntentsRequest_IntentBatchInline) isBatchUpdateIntentsRequest_IntentBatch() {} 2610 2611func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch { 2612 if m != nil { 2613 return m.IntentBatch 2614 } 2615 return nil 2616} 2617 2618func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string { 2619 if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchUri); ok { 2620 return x.IntentBatchUri 2621 } 2622 return "" 2623} 2624 2625func (m *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch { 2626 if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchInline); ok { 2627 return x.IntentBatchInline 2628 } 2629 return nil 2630} 2631 2632func (m *BatchUpdateIntentsRequest) GetLanguageCode() string { 2633 if m != nil { 2634 return m.LanguageCode 2635 } 2636 return "" 2637} 2638 2639func (m *BatchUpdateIntentsRequest) GetUpdateMask() *field_mask.FieldMask { 2640 if m != nil { 2641 return m.UpdateMask 2642 } 2643 return nil 2644} 2645 2646func (m *BatchUpdateIntentsRequest) GetIntentView() IntentView { 2647 if m != nil { 2648 return m.IntentView 2649 } 2650 return IntentView_INTENT_VIEW_UNSPECIFIED 2651} 2652 2653// XXX_OneofFuncs is for the internal use of the proto package. 2654func (*BatchUpdateIntentsRequest) 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{}) { 2655 return _BatchUpdateIntentsRequest_OneofMarshaler, _BatchUpdateIntentsRequest_OneofUnmarshaler, _BatchUpdateIntentsRequest_OneofSizer, []interface{}{ 2656 (*BatchUpdateIntentsRequest_IntentBatchUri)(nil), 2657 (*BatchUpdateIntentsRequest_IntentBatchInline)(nil), 2658 } 2659} 2660 2661func _BatchUpdateIntentsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 2662 m := msg.(*BatchUpdateIntentsRequest) 2663 // intent_batch 2664 switch x := m.IntentBatch.(type) { 2665 case *BatchUpdateIntentsRequest_IntentBatchUri: 2666 b.EncodeVarint(2<<3 | proto.WireBytes) 2667 b.EncodeStringBytes(x.IntentBatchUri) 2668 case *BatchUpdateIntentsRequest_IntentBatchInline: 2669 b.EncodeVarint(3<<3 | proto.WireBytes) 2670 if err := b.EncodeMessage(x.IntentBatchInline); err != nil { 2671 return err 2672 } 2673 case nil: 2674 default: 2675 return fmt.Errorf("BatchUpdateIntentsRequest.IntentBatch has unexpected type %T", x) 2676 } 2677 return nil 2678} 2679 2680func _BatchUpdateIntentsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 2681 m := msg.(*BatchUpdateIntentsRequest) 2682 switch tag { 2683 case 2: // intent_batch.intent_batch_uri 2684 if wire != proto.WireBytes { 2685 return true, proto.ErrInternalBadWireType 2686 } 2687 x, err := b.DecodeStringBytes() 2688 m.IntentBatch = &BatchUpdateIntentsRequest_IntentBatchUri{x} 2689 return true, err 2690 case 3: // intent_batch.intent_batch_inline 2691 if wire != proto.WireBytes { 2692 return true, proto.ErrInternalBadWireType 2693 } 2694 msg := new(IntentBatch) 2695 err := b.DecodeMessage(msg) 2696 m.IntentBatch = &BatchUpdateIntentsRequest_IntentBatchInline{msg} 2697 return true, err 2698 default: 2699 return false, nil 2700 } 2701} 2702 2703func _BatchUpdateIntentsRequest_OneofSizer(msg proto.Message) (n int) { 2704 m := msg.(*BatchUpdateIntentsRequest) 2705 // intent_batch 2706 switch x := m.IntentBatch.(type) { 2707 case *BatchUpdateIntentsRequest_IntentBatchUri: 2708 n += 1 // tag and wire 2709 n += proto.SizeVarint(uint64(len(x.IntentBatchUri))) 2710 n += len(x.IntentBatchUri) 2711 case *BatchUpdateIntentsRequest_IntentBatchInline: 2712 s := proto.Size(x.IntentBatchInline) 2713 n += 1 // tag and wire 2714 n += proto.SizeVarint(uint64(s)) 2715 n += s 2716 case nil: 2717 default: 2718 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 2719 } 2720 return n 2721} 2722 2723// The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]. 2724type BatchUpdateIntentsResponse struct { 2725 // The collection of updated or created intents. 2726 Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` 2727 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2728 XXX_unrecognized []byte `json:"-"` 2729 XXX_sizecache int32 `json:"-"` 2730} 2731 2732func (m *BatchUpdateIntentsResponse) Reset() { *m = BatchUpdateIntentsResponse{} } 2733func (m *BatchUpdateIntentsResponse) String() string { return proto.CompactTextString(m) } 2734func (*BatchUpdateIntentsResponse) ProtoMessage() {} 2735func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int) { 2736 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{8} 2737} 2738func (m *BatchUpdateIntentsResponse) XXX_Unmarshal(b []byte) error { 2739 return xxx_messageInfo_BatchUpdateIntentsResponse.Unmarshal(m, b) 2740} 2741func (m *BatchUpdateIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2742 return xxx_messageInfo_BatchUpdateIntentsResponse.Marshal(b, m, deterministic) 2743} 2744func (dst *BatchUpdateIntentsResponse) XXX_Merge(src proto.Message) { 2745 xxx_messageInfo_BatchUpdateIntentsResponse.Merge(dst, src) 2746} 2747func (m *BatchUpdateIntentsResponse) XXX_Size() int { 2748 return xxx_messageInfo_BatchUpdateIntentsResponse.Size(m) 2749} 2750func (m *BatchUpdateIntentsResponse) XXX_DiscardUnknown() { 2751 xxx_messageInfo_BatchUpdateIntentsResponse.DiscardUnknown(m) 2752} 2753 2754var xxx_messageInfo_BatchUpdateIntentsResponse proto.InternalMessageInfo 2755 2756func (m *BatchUpdateIntentsResponse) GetIntents() []*Intent { 2757 if m != nil { 2758 return m.Intents 2759 } 2760 return nil 2761} 2762 2763// The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2.Intents.BatchDeleteIntents]. 2764type BatchDeleteIntentsRequest struct { 2765 // Required. The name of the agent to delete all entities types for. Format: 2766 // `projects/<Project ID>/agent`. 2767 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2768 // Required. The collection of intents to delete. Only intent `name` must be 2769 // filled in. 2770 Intents []*Intent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"` 2771 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2772 XXX_unrecognized []byte `json:"-"` 2773 XXX_sizecache int32 `json:"-"` 2774} 2775 2776func (m *BatchDeleteIntentsRequest) Reset() { *m = BatchDeleteIntentsRequest{} } 2777func (m *BatchDeleteIntentsRequest) String() string { return proto.CompactTextString(m) } 2778func (*BatchDeleteIntentsRequest) ProtoMessage() {} 2779func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int) { 2780 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{9} 2781} 2782func (m *BatchDeleteIntentsRequest) XXX_Unmarshal(b []byte) error { 2783 return xxx_messageInfo_BatchDeleteIntentsRequest.Unmarshal(m, b) 2784} 2785func (m *BatchDeleteIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2786 return xxx_messageInfo_BatchDeleteIntentsRequest.Marshal(b, m, deterministic) 2787} 2788func (dst *BatchDeleteIntentsRequest) XXX_Merge(src proto.Message) { 2789 xxx_messageInfo_BatchDeleteIntentsRequest.Merge(dst, src) 2790} 2791func (m *BatchDeleteIntentsRequest) XXX_Size() int { 2792 return xxx_messageInfo_BatchDeleteIntentsRequest.Size(m) 2793} 2794func (m *BatchDeleteIntentsRequest) XXX_DiscardUnknown() { 2795 xxx_messageInfo_BatchDeleteIntentsRequest.DiscardUnknown(m) 2796} 2797 2798var xxx_messageInfo_BatchDeleteIntentsRequest proto.InternalMessageInfo 2799 2800func (m *BatchDeleteIntentsRequest) GetParent() string { 2801 if m != nil { 2802 return m.Parent 2803 } 2804 return "" 2805} 2806 2807func (m *BatchDeleteIntentsRequest) GetIntents() []*Intent { 2808 if m != nil { 2809 return m.Intents 2810 } 2811 return nil 2812} 2813 2814// This message is a wrapper around a collection of intents. 2815type IntentBatch struct { 2816 // A collection of intents. 2817 Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` 2818 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2819 XXX_unrecognized []byte `json:"-"` 2820 XXX_sizecache int32 `json:"-"` 2821} 2822 2823func (m *IntentBatch) Reset() { *m = IntentBatch{} } 2824func (m *IntentBatch) String() string { return proto.CompactTextString(m) } 2825func (*IntentBatch) ProtoMessage() {} 2826func (*IntentBatch) Descriptor() ([]byte, []int) { 2827 return fileDescriptor_intent_eb465f5d3cf7c1e7, []int{10} 2828} 2829func (m *IntentBatch) XXX_Unmarshal(b []byte) error { 2830 return xxx_messageInfo_IntentBatch.Unmarshal(m, b) 2831} 2832func (m *IntentBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2833 return xxx_messageInfo_IntentBatch.Marshal(b, m, deterministic) 2834} 2835func (dst *IntentBatch) XXX_Merge(src proto.Message) { 2836 xxx_messageInfo_IntentBatch.Merge(dst, src) 2837} 2838func (m *IntentBatch) XXX_Size() int { 2839 return xxx_messageInfo_IntentBatch.Size(m) 2840} 2841func (m *IntentBatch) XXX_DiscardUnknown() { 2842 xxx_messageInfo_IntentBatch.DiscardUnknown(m) 2843} 2844 2845var xxx_messageInfo_IntentBatch proto.InternalMessageInfo 2846 2847func (m *IntentBatch) GetIntents() []*Intent { 2848 if m != nil { 2849 return m.Intents 2850 } 2851 return nil 2852} 2853 2854func init() { 2855 proto.RegisterType((*Intent)(nil), "google.cloud.dialogflow.v2.Intent") 2856 proto.RegisterType((*Intent_TrainingPhrase)(nil), "google.cloud.dialogflow.v2.Intent.TrainingPhrase") 2857 proto.RegisterType((*Intent_TrainingPhrase_Part)(nil), "google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part") 2858 proto.RegisterType((*Intent_Parameter)(nil), "google.cloud.dialogflow.v2.Intent.Parameter") 2859 proto.RegisterType((*Intent_Message)(nil), "google.cloud.dialogflow.v2.Intent.Message") 2860 proto.RegisterType((*Intent_Message_Text)(nil), "google.cloud.dialogflow.v2.Intent.Message.Text") 2861 proto.RegisterType((*Intent_Message_Image)(nil), "google.cloud.dialogflow.v2.Intent.Message.Image") 2862 proto.RegisterType((*Intent_Message_QuickReplies)(nil), "google.cloud.dialogflow.v2.Intent.Message.QuickReplies") 2863 proto.RegisterType((*Intent_Message_Card)(nil), "google.cloud.dialogflow.v2.Intent.Message.Card") 2864 proto.RegisterType((*Intent_Message_Card_Button)(nil), "google.cloud.dialogflow.v2.Intent.Message.Card.Button") 2865 proto.RegisterType((*Intent_Message_SimpleResponse)(nil), "google.cloud.dialogflow.v2.Intent.Message.SimpleResponse") 2866 proto.RegisterType((*Intent_Message_SimpleResponses)(nil), "google.cloud.dialogflow.v2.Intent.Message.SimpleResponses") 2867 proto.RegisterType((*Intent_Message_BasicCard)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard") 2868 proto.RegisterType((*Intent_Message_BasicCard_Button)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button") 2869 proto.RegisterType((*Intent_Message_BasicCard_Button_OpenUriAction)(nil), "google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction") 2870 proto.RegisterType((*Intent_Message_Suggestion)(nil), "google.cloud.dialogflow.v2.Intent.Message.Suggestion") 2871 proto.RegisterType((*Intent_Message_Suggestions)(nil), "google.cloud.dialogflow.v2.Intent.Message.Suggestions") 2872 proto.RegisterType((*Intent_Message_LinkOutSuggestion)(nil), "google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion") 2873 proto.RegisterType((*Intent_Message_ListSelect)(nil), "google.cloud.dialogflow.v2.Intent.Message.ListSelect") 2874 proto.RegisterType((*Intent_Message_ListSelect_Item)(nil), "google.cloud.dialogflow.v2.Intent.Message.ListSelect.Item") 2875 proto.RegisterType((*Intent_Message_CarouselSelect)(nil), "google.cloud.dialogflow.v2.Intent.Message.CarouselSelect") 2876 proto.RegisterType((*Intent_Message_CarouselSelect_Item)(nil), "google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item") 2877 proto.RegisterType((*Intent_Message_SelectItemInfo)(nil), "google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo") 2878 proto.RegisterType((*Intent_FollowupIntentInfo)(nil), "google.cloud.dialogflow.v2.Intent.FollowupIntentInfo") 2879 proto.RegisterType((*ListIntentsRequest)(nil), "google.cloud.dialogflow.v2.ListIntentsRequest") 2880 proto.RegisterType((*ListIntentsResponse)(nil), "google.cloud.dialogflow.v2.ListIntentsResponse") 2881 proto.RegisterType((*GetIntentRequest)(nil), "google.cloud.dialogflow.v2.GetIntentRequest") 2882 proto.RegisterType((*CreateIntentRequest)(nil), "google.cloud.dialogflow.v2.CreateIntentRequest") 2883 proto.RegisterType((*UpdateIntentRequest)(nil), "google.cloud.dialogflow.v2.UpdateIntentRequest") 2884 proto.RegisterType((*DeleteIntentRequest)(nil), "google.cloud.dialogflow.v2.DeleteIntentRequest") 2885 proto.RegisterType((*BatchUpdateIntentsRequest)(nil), "google.cloud.dialogflow.v2.BatchUpdateIntentsRequest") 2886 proto.RegisterType((*BatchUpdateIntentsResponse)(nil), "google.cloud.dialogflow.v2.BatchUpdateIntentsResponse") 2887 proto.RegisterType((*BatchDeleteIntentsRequest)(nil), "google.cloud.dialogflow.v2.BatchDeleteIntentsRequest") 2888 proto.RegisterType((*IntentBatch)(nil), "google.cloud.dialogflow.v2.IntentBatch") 2889 proto.RegisterEnum("google.cloud.dialogflow.v2.IntentView", IntentView_name, IntentView_value) 2890 proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_WebhookState", Intent_WebhookState_name, Intent_WebhookState_value) 2891 proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_TrainingPhrase_Type", Intent_TrainingPhrase_Type_name, Intent_TrainingPhrase_Type_value) 2892 proto.RegisterEnum("google.cloud.dialogflow.v2.Intent_Message_Platform", Intent_Message_Platform_name, Intent_Message_Platform_value) 2893} 2894 2895// Reference imports to suppress errors if they are not otherwise used. 2896var _ context.Context 2897var _ grpc.ClientConn 2898 2899// This is a compile-time assertion to ensure that this generated file 2900// is compatible with the grpc package it is being compiled against. 2901const _ = grpc.SupportPackageIsVersion4 2902 2903// IntentsClient is the client API for Intents service. 2904// 2905// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2906type IntentsClient interface { 2907 // Returns the list of all intents in the specified agent. 2908 ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) 2909 // Retrieves the specified intent. 2910 GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) 2911 // Creates an intent in the specified agent. 2912 CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 2913 // Updates the specified intent. 2914 UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 2915 // Deletes the specified intent. 2916 DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) 2917 // Updates/Creates multiple intents in the specified agent. 2918 // 2919 // Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]> 2920 BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2921 // Deletes intents in the specified agent. 2922 // 2923 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 2924 BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2925} 2926 2927type intentsClient struct { 2928 cc *grpc.ClientConn 2929} 2930 2931func NewIntentsClient(cc *grpc.ClientConn) IntentsClient { 2932 return &intentsClient{cc} 2933} 2934 2935func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) { 2936 out := new(ListIntentsResponse) 2937 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/ListIntents", in, out, opts...) 2938 if err != nil { 2939 return nil, err 2940 } 2941 return out, nil 2942} 2943 2944func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 2945 out := new(Intent) 2946 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/GetIntent", in, out, opts...) 2947 if err != nil { 2948 return nil, err 2949 } 2950 return out, nil 2951} 2952 2953func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 2954 out := new(Intent) 2955 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/CreateIntent", in, out, opts...) 2956 if err != nil { 2957 return nil, err 2958 } 2959 return out, nil 2960} 2961 2962func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 2963 out := new(Intent) 2964 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/UpdateIntent", in, out, opts...) 2965 if err != nil { 2966 return nil, err 2967 } 2968 return out, nil 2969} 2970 2971func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 2972 out := new(empty.Empty) 2973 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/DeleteIntent", in, out, opts...) 2974 if err != nil { 2975 return nil, err 2976 } 2977 return out, nil 2978} 2979 2980func (c *intentsClient) BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2981 out := new(longrunning.Operation) 2982 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/BatchUpdateIntents", in, out, opts...) 2983 if err != nil { 2984 return nil, err 2985 } 2986 return out, nil 2987} 2988 2989func (c *intentsClient) BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2990 out := new(longrunning.Operation) 2991 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2.Intents/BatchDeleteIntents", in, out, opts...) 2992 if err != nil { 2993 return nil, err 2994 } 2995 return out, nil 2996} 2997 2998// IntentsServer is the server API for Intents service. 2999type IntentsServer interface { 3000 // Returns the list of all intents in the specified agent. 3001 ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) 3002 // Retrieves the specified intent. 3003 GetIntent(context.Context, *GetIntentRequest) (*Intent, error) 3004 // Creates an intent in the specified agent. 3005 CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) 3006 // Updates the specified intent. 3007 UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) 3008 // Deletes the specified intent. 3009 DeleteIntent(context.Context, *DeleteIntentRequest) (*empty.Empty, error) 3010 // Updates/Creates multiple intents in the specified agent. 3011 // 3012 // Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]> 3013 BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*longrunning.Operation, error) 3014 // Deletes intents in the specified agent. 3015 // 3016 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 3017 BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*longrunning.Operation, error) 3018} 3019 3020func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) { 3021 s.RegisterService(&_Intents_serviceDesc, srv) 3022} 3023 3024func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3025 in := new(ListIntentsRequest) 3026 if err := dec(in); err != nil { 3027 return nil, err 3028 } 3029 if interceptor == nil { 3030 return srv.(IntentsServer).ListIntents(ctx, in) 3031 } 3032 info := &grpc.UnaryServerInfo{ 3033 Server: srv, 3034 FullMethod: "/google.cloud.dialogflow.v2.Intents/ListIntents", 3035 } 3036 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3037 return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest)) 3038 } 3039 return interceptor(ctx, in, info, handler) 3040} 3041 3042func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3043 in := new(GetIntentRequest) 3044 if err := dec(in); err != nil { 3045 return nil, err 3046 } 3047 if interceptor == nil { 3048 return srv.(IntentsServer).GetIntent(ctx, in) 3049 } 3050 info := &grpc.UnaryServerInfo{ 3051 Server: srv, 3052 FullMethod: "/google.cloud.dialogflow.v2.Intents/GetIntent", 3053 } 3054 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3055 return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest)) 3056 } 3057 return interceptor(ctx, in, info, handler) 3058} 3059 3060func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3061 in := new(CreateIntentRequest) 3062 if err := dec(in); err != nil { 3063 return nil, err 3064 } 3065 if interceptor == nil { 3066 return srv.(IntentsServer).CreateIntent(ctx, in) 3067 } 3068 info := &grpc.UnaryServerInfo{ 3069 Server: srv, 3070 FullMethod: "/google.cloud.dialogflow.v2.Intents/CreateIntent", 3071 } 3072 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3073 return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest)) 3074 } 3075 return interceptor(ctx, in, info, handler) 3076} 3077 3078func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3079 in := new(UpdateIntentRequest) 3080 if err := dec(in); err != nil { 3081 return nil, err 3082 } 3083 if interceptor == nil { 3084 return srv.(IntentsServer).UpdateIntent(ctx, in) 3085 } 3086 info := &grpc.UnaryServerInfo{ 3087 Server: srv, 3088 FullMethod: "/google.cloud.dialogflow.v2.Intents/UpdateIntent", 3089 } 3090 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3091 return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest)) 3092 } 3093 return interceptor(ctx, in, info, handler) 3094} 3095 3096func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3097 in := new(DeleteIntentRequest) 3098 if err := dec(in); err != nil { 3099 return nil, err 3100 } 3101 if interceptor == nil { 3102 return srv.(IntentsServer).DeleteIntent(ctx, in) 3103 } 3104 info := &grpc.UnaryServerInfo{ 3105 Server: srv, 3106 FullMethod: "/google.cloud.dialogflow.v2.Intents/DeleteIntent", 3107 } 3108 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3109 return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest)) 3110 } 3111 return interceptor(ctx, in, info, handler) 3112} 3113 3114func _Intents_BatchUpdateIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3115 in := new(BatchUpdateIntentsRequest) 3116 if err := dec(in); err != nil { 3117 return nil, err 3118 } 3119 if interceptor == nil { 3120 return srv.(IntentsServer).BatchUpdateIntents(ctx, in) 3121 } 3122 info := &grpc.UnaryServerInfo{ 3123 Server: srv, 3124 FullMethod: "/google.cloud.dialogflow.v2.Intents/BatchUpdateIntents", 3125 } 3126 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3127 return srv.(IntentsServer).BatchUpdateIntents(ctx, req.(*BatchUpdateIntentsRequest)) 3128 } 3129 return interceptor(ctx, in, info, handler) 3130} 3131 3132func _Intents_BatchDeleteIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3133 in := new(BatchDeleteIntentsRequest) 3134 if err := dec(in); err != nil { 3135 return nil, err 3136 } 3137 if interceptor == nil { 3138 return srv.(IntentsServer).BatchDeleteIntents(ctx, in) 3139 } 3140 info := &grpc.UnaryServerInfo{ 3141 Server: srv, 3142 FullMethod: "/google.cloud.dialogflow.v2.Intents/BatchDeleteIntents", 3143 } 3144 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3145 return srv.(IntentsServer).BatchDeleteIntents(ctx, req.(*BatchDeleteIntentsRequest)) 3146 } 3147 return interceptor(ctx, in, info, handler) 3148} 3149 3150var _Intents_serviceDesc = grpc.ServiceDesc{ 3151 ServiceName: "google.cloud.dialogflow.v2.Intents", 3152 HandlerType: (*IntentsServer)(nil), 3153 Methods: []grpc.MethodDesc{ 3154 { 3155 MethodName: "ListIntents", 3156 Handler: _Intents_ListIntents_Handler, 3157 }, 3158 { 3159 MethodName: "GetIntent", 3160 Handler: _Intents_GetIntent_Handler, 3161 }, 3162 { 3163 MethodName: "CreateIntent", 3164 Handler: _Intents_CreateIntent_Handler, 3165 }, 3166 { 3167 MethodName: "UpdateIntent", 3168 Handler: _Intents_UpdateIntent_Handler, 3169 }, 3170 { 3171 MethodName: "DeleteIntent", 3172 Handler: _Intents_DeleteIntent_Handler, 3173 }, 3174 { 3175 MethodName: "BatchUpdateIntents", 3176 Handler: _Intents_BatchUpdateIntents_Handler, 3177 }, 3178 { 3179 MethodName: "BatchDeleteIntents", 3180 Handler: _Intents_BatchDeleteIntents_Handler, 3181 }, 3182 }, 3183 Streams: []grpc.StreamDesc{}, 3184 Metadata: "google/cloud/dialogflow/v2/intent.proto", 3185} 3186 3187func init() { 3188 proto.RegisterFile("google/cloud/dialogflow/v2/intent.proto", fileDescriptor_intent_eb465f5d3cf7c1e7) 3189} 3190 3191var fileDescriptor_intent_eb465f5d3cf7c1e7 = []byte{ 3192 // 2562 bytes of a gzipped FileDescriptorProto 3193 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0x4b, 0x73, 0x23, 0x57, 3194 0xf5, 0x77, 0xeb, 0x61, 0x4b, 0x47, 0xb2, 0x2c, 0x5f, 0x4f, 0x26, 0x9a, 0x4e, 0xf2, 0xff, 0x3b, 3195 0x0a, 0x49, 0x1c, 0x57, 0x22, 0x25, 0x0a, 0x49, 0xc8, 0xe4, 0x41, 0xf9, 0x21, 0xdb, 0xc2, 0xb2, 3196 0x25, 0xda, 0xf2, 0x4c, 0x92, 0xa2, 0xe8, 0x6a, 0x4b, 0x57, 0x9a, 0x8b, 0x5b, 0xdd, 0x3d, 0x7d, 3197 0xaf, 0xec, 0x28, 0xa9, 0x6c, 0xa8, 0x02, 0x16, 0xb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47, 0x37, 0x52, 0xa5, 0x37, 3220 0x66, 0x08, 0xbf, 0xa1, 0x44, 0xeb, 0x42, 0xd2, 0x58, 0x61, 0x23, 0x6b, 0x61, 0xd5, 0x6a, 0xf2, 3221 0x4e, 0xc8, 0x81, 0x48, 0xbb, 0x5a, 0xa1, 0x2a, 0xac, 0xb8, 0x3d, 0x16, 0x72, 0x9f, 0xe6, 0x52, 3222 0xc2, 0xe8, 0x0b, 0x57, 0x19, 0x55, 0x01, 0x19, 0x19, 0x29, 0xab, 0x96, 0x14, 0xbd, 0x08, 0x19, 3223 0x1f, 0x53, 0x1c, 0x52, 0x96, 0x16, 0xf9, 0x5a, 0x16, 0xd4, 0x01, 0x5b, 0x15, 0xc0, 0xb3, 0x7c, 3224 0xab, 0x8b, 0x19, 0xf6, 0x69, 0x6e, 0x59, 0xd8, 0x7b, 0x75, 0x86, 0x20, 0xeb, 0x81, 0x90, 0x11, 3225 0x92, 0x47, 0x7b, 0x90, 0xe8, 0x62, 0x4a, 0xad, 0x0e, 0xa6, 0xb9, 0x8c, 0xd0, 0xb5, 0x39, 0x83, 3226 0xae, 0x23, 0x29, 0x62, 0x0c, 0x64, 0xd1, 0x43, 0xd0, 0x5b, 0xb8, 0x6d, 0xf5, 0x6c, 0x66, 0xfa, 3227 0x98, 0x7a, 0xae, 0x43, 0xb1, 0xe9, 0xd9, 0x16, 0x6b, 0xbb, 0x7e, 0x97, 0xe6, 0x56, 0xd6, 0xa3, 3228 0x1b, 0x99, 0xd2, 0x9b, 0xb3, 0x6b, 0x2e, 0xd4, 0x95, 0xac, 0x91, 0x53, 0x6a, 0x0d, 0xa5, 0x35, 3229 0xd8, 0xa0, 0xe8, 0x5d, 0xb8, 0xe3, 0xbb, 0x2e, 0x33, 0xdb, 0xae, 0x6d, 0xbb, 0x97, 0x3d, 0xcf, 3230 0x94, 0xa8, 0x21, 0xcf, 0x47, 0x56, 0x14, 0xea, 0x36, 0x67, 0xd8, 0x53, 0xfb, 0xd2, 0x82, 0x38, 3231 0x2a, 0x1f, 0xc0, 0x33, 0x9e, 0xe5, 0x73, 0xe6, 0xa9, 0xc2, 0xab, 0x42, 0x38, 0x27, 0x59, 0xa6, 3232 0x88, 0x77, 0xe0, 0xd6, 0xb8, 0x1c, 0x71, 0xda, 0x6e, 0x0e, 0x89, 0x04, 0xbe, 0x35, 0x43, 0x98, 3233 0xa3, 0x4a, 0x2b, 0x4e, 0xdb, 0x35, 0x50, 0x7b, 0x82, 0xa6, 0xff, 0x3c, 0x0a, 0x99, 0xd1, 0xe6, 3234 0x9c, 0x0a, 0x0e, 0xdf, 0x82, 0x18, 0xeb, 0x7b, 0x12, 0x14, 0x32, 0xa5, 0xb7, 0xe7, 0xee, 0xf8, 3235 0x42, 0xa3, 0xef, 0x61, 0x43, 0xe8, 0x40, 0x55, 0x88, 0x7b, 0x96, 0xcf, 0x68, 0x2e, 0x2a, 0x82, 3236 0xb9, 0x81, 0xb2, 0xba, 0xe5, 0x33, 0x43, 0x2a, 0x41, 0x9b, 0xb0, 0xca, 0x48, 0x17, 0x53, 0xd3, 3237 0x6a, 0xb5, 0x70, 0xcb, 0x6c, 0xba, 0x3d, 0x87, 0x09, 0x9c, 0x88, 0x1b, 0x2b, 0x62, 0x63, 0x8b, 3238 0xd3, 0x77, 0x38, 0x59, 0x67, 0x10, 0xe3, 0xa2, 0x3c, 0x42, 0xde, 0xe9, 0x41, 0x84, 0xfc, 0x37, 3239 0x07, 0x12, 0xec, 0x30, 0xc2, 0xfa, 0xe6, 0x20, 0xd0, 0xa4, 0x01, 0x92, 0xc4, 0x9d, 0x47, 0xb7, 3240 0x20, 0x6e, 0xd9, 0xc4, 0xa2, 0x02, 0xa3, 0x92, 0x86, 0x5c, 0x70, 0xd4, 0xec, 0x51, 0xec, 0x9b, 3241 0x2d, 0xdc, 0x26, 0x0e, 0x6e, 0x29, 0x84, 0x4a, 0x71, 0xda, 0xae, 0x24, 0xe5, 0xdf, 0x81, 0x98, 3242 0x52, 0x90, 0x6d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xa9, 0x83, 0x05, 0x63, 0xd5, 0x1e, 0x27, 0xa2, 0x8f, 0x20, 0xc5, 3265 0x8f, 0x86, 0x49, 0xb1, 0x8d, 0x9b, 0x2c, 0x97, 0x12, 0x76, 0xde, 0x9a, 0xcb, 0x0e, 0x65, 0x27, 3266 0x42, 0xf8, 0x60, 0xc1, 0x00, 0x7b, 0xb0, 0x42, 0x2d, 0x58, 0x69, 0x5a, 0xbe, 0xdb, 0xa3, 0xd8, 3267 0x0e, 0xb4, 0xa7, 0x85, 0xf6, 0x77, 0xe7, 0x6b, 0x36, 0xa1, 0x61, 0x60, 0x21, 0xd3, 0x1c, 0xa1, 3268 0xa0, 0x1a, 0x24, 0x82, 0x79, 0xad, 0x2e, 0x8e, 0x37, 0x1a, 0xd7, 0x03, 0x25, 0xba, 0x0e, 0x31, 3269 0x7e, 0xa4, 0x43, 0x70, 0x1e, 0x0d, 0xe0, 0x5c, 0x3f, 0x81, 0xb8, 0x38, 0xa6, 0xe8, 0x19, 0x48, 3270 0x8a, 0x63, 0x6a, 0xf6, 0x7c, 0xa2, 0xb0, 0x33, 0x21, 0x08, 0xa7, 0x3e, 0x41, 0xaf, 0x01, 0xb2, 3271 0x9a, 0x4d, 0x4c, 0x29, 0x39, 0x23, 0xb6, 0x00, 0x3a, 0xae, 0x47, 0xa2, 0xe8, 0xea, 0xc8, 0x0e, 3272 0x37, 0xa4, 0x57, 0x20, 0x1d, 0x3e, 0xa9, 0x1c, 0x5b, 0x19, 0x61, 0x76, 0x80, 0xc9, 0x72, 0xc1, 3273 0xb1, 0x75, 0x14, 0x0f, 0x22, 0xc2, 0xaf, 0x91, 0x43, 0xad, 0xff, 0x4d, 0x83, 0x98, 0xe8, 0xd0, 3274 0xe9, 0x3a, 0x74, 0x48, 0xd0, 0xde, 0x99, 0xdc, 0x90, 0xee, 0x0c, 0xd6, 0xa3, 0x11, 0x45, 0xc7, 3275 0x22, 0xaa, 0xc3, 0xd2, 0x59, 0x8f, 0x31, 0xde, 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66, 0x35, 0xb4, 0x09, 0x2f, 3309 0x4d, 0xdd, 0x32, 0xf7, 0x6a, 0x86, 0x79, 0x52, 0xad, 0x35, 0xcc, 0xbd, 0x4a, 0xb5, 0x5a, 0x39, 3310 0xde, 0xcf, 0x46, 0xf2, 0x7f, 0xd1, 0x00, 0x71, 0x28, 0x90, 0x8e, 0x50, 0x03, 0x3f, 0xec, 0x61, 3311 0xca, 0xd0, 0x6d, 0x58, 0x94, 0x8e, 0xaa, 0x78, 0xd5, 0x8a, 0xdf, 0x90, 0x6c, 0xcb, 0xe9, 0xf4, 3312 0xf8, 0x25, 0xa6, 0xe9, 0xb6, 0x82, 0xa8, 0xd2, 0x01, 0x71, 0xc7, 0x6d, 0x61, 0xb4, 0x0f, 0x29, 3313 0x15, 0xf8, 0x05, 0xc1, 0x97, 0xa2, 0x29, 0x33, 0xa5, 0x97, 0xae, 0x6f, 0xbc, 0x7b, 0x04, 0x5f, 3314 0x1a, 0x40, 0x06, 0xbf, 0xf9, 0x7d, 0xc9, 0xe3, 0x96, 0x28, 0xf9, 0x0c, 0xab, 0x2f, 0x03, 0x09, 3315 0x4e, 0x38, 0x21, 0x9f, 0xf1, 0xfc, 0x80, 0xd8, 0x64, 0xee, 0x39, 0x76, 0xd4, 0xab, 0x56, 0xb0, 3316 0x37, 0x38, 0x21, 0xff, 0x39, 0xac, 0x8d, 0xc4, 0xa5, 0xee, 0x31, 0xef, 0xc3, 0x92, 0x34, 0x10, 3317 0x1c, 0xfb, 0xfc, 0xf5, 0x7e, 0x19, 0x81, 0x08, 0x7a, 0x09, 0x56, 0x1c, 0x7e, 0x0b, 0x0a, 0x19, 3318 0x96, 0x09, 0x58, 0xe6, 0xe4, 0xfa, 0xc0, 0xf8, 0xcf, 0x34, 0xc8, 0xee, 0x63, 0x65, 0x3c, 0xc8, 3319 0xe9, 0xb4, 0xcf, 0x00, 0xff, 0xd5, 0x7c, 0xe6, 0xff, 0xaa, 0xc1, 0xda, 0x8e, 0x8f, 0x2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e9, 0x55, 0xe1, 0x9c, 0xfa, 0xfb, 0xf2, 0x75, 0x89, 0x1b, 0xf8, 0xf8, 0x43, 0x0d, 0xd2, 0xe1, 3343 0x83, 0x77, 0xb5, 0x8f, 0x53, 0x60, 0x5a, 0xbf, 0x3d, 0x81, 0x4d, 0xe5, 0xae, 0xc7, 0xfa, 0x41, 3344 0x25, 0x37, 0x67, 0xac, 0xe4, 0x6f, 0x34, 0x40, 0x93, 0x10, 0x83, 0xae, 0x7c, 0xde, 0x3e, 0x72, 3345 0x12, 0xe8, 0xcf, 0x05, 0x62, 0xa1, 0x3f, 0x7b, 0xf3, 0x27, 0xbb, 0xfc, 0xb3, 0x77, 0x90, 0xb3, 3346 0xfc, 0x1b, 0xb3, 0x15, 0xf4, 0x6c, 0x68, 0xe7, 0xae, 0xb6, 0x39, 0x74, 0x75, 0x04, 0xb1, 0x66, 3347 0x70, 0x75, 0x1a, 0xc2, 0xfd, 0x27, 0x5c, 0x95, 0x76, 0xee, 0x6a, 0x9b, 0xdb, 0x5f, 0x6a, 0xf0, 3348 0x7f, 0x4d, 0xb7, 0x7b, 0x85, 0x67, 0xdb, 0x0a, 0x09, 0xeb, 0xbc, 0x7a, 0x75, 0xed, 0x93, 0x5d, 3349 0xc5, 0xda, 0x71, 0xf9, 0x58, 0x2a, 0xb8, 0x7e, 0xa7, 0xd8, 0xc1, 0x8e, 0xa8, 0x6d, 0x51, 0x6e, 3350 0x59, 0x1e, 0xa1, 0xd3, 0xfe, 0xf1, 0xe0, 0xbd, 0xe1, 0xea, 0x9f, 0x9a, 0xf6, 0xeb, 0x48, 0x64, 3351 0x77, 0xef, 0xb7, 0x11, 0x7d, 0x5f, 0xaa, 0xdb, 0x11, 0x96, 0x77, 0x87, 0x96, 0xef, 0x95, 0xce, 3352 0x16, 0x85, 0xd6, 0x37, 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x12, 0xed, 0x16, 0x8e, 0x30, 0x21, 3353 0x00, 0x00, 3354} 3355