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