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_ceca89a12cc28578, []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_ceca89a12cc28578, []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_ceca89a12cc28578, []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_ceca89a12cc28578, []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_ceca89a12cc28578, []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_ceca89a12cc28578, []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_ceca89a12cc28578, []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_ceca89a12cc28578, []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_ceca89a12cc28578, []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} 810 811type Intent_Message_Image_ struct { 812 Image *Intent_Message_Image `protobuf:"bytes,2,opt,name=image,proto3,oneof"` 813} 814 815type Intent_Message_QuickReplies_ struct { 816 QuickReplies *Intent_Message_QuickReplies `protobuf:"bytes,3,opt,name=quick_replies,json=quickReplies,proto3,oneof"` 817} 818 819type Intent_Message_Card_ struct { 820 Card *Intent_Message_Card `protobuf:"bytes,4,opt,name=card,proto3,oneof"` 821} 822 823type Intent_Message_Payload struct { 824 Payload *_struct.Struct `protobuf:"bytes,5,opt,name=payload,proto3,oneof"` 825} 826 827type Intent_Message_SimpleResponses_ struct { 828 SimpleResponses *Intent_Message_SimpleResponses `protobuf:"bytes,7,opt,name=simple_responses,json=simpleResponses,proto3,oneof"` 829} 830 831type Intent_Message_BasicCard_ struct { 832 BasicCard *Intent_Message_BasicCard `protobuf:"bytes,8,opt,name=basic_card,json=basicCard,proto3,oneof"` 833} 834 835type Intent_Message_Suggestions_ struct { 836 Suggestions *Intent_Message_Suggestions `protobuf:"bytes,9,opt,name=suggestions,proto3,oneof"` 837} 838 839type Intent_Message_LinkOutSuggestion_ struct { 840 LinkOutSuggestion *Intent_Message_LinkOutSuggestion `protobuf:"bytes,10,opt,name=link_out_suggestion,json=linkOutSuggestion,proto3,oneof"` 841} 842 843type Intent_Message_ListSelect_ struct { 844 ListSelect *Intent_Message_ListSelect `protobuf:"bytes,11,opt,name=list_select,json=listSelect,proto3,oneof"` 845} 846 847type Intent_Message_CarouselSelect_ struct { 848 CarouselSelect *Intent_Message_CarouselSelect `protobuf:"bytes,12,opt,name=carousel_select,json=carouselSelect,proto3,oneof"` 849} 850 851type Intent_Message_TelephonyPlayAudio_ struct { 852 TelephonyPlayAudio *Intent_Message_TelephonyPlayAudio `protobuf:"bytes,13,opt,name=telephony_play_audio,json=telephonyPlayAudio,proto3,oneof"` 853} 854 855type Intent_Message_TelephonySynthesizeSpeech_ struct { 856 TelephonySynthesizeSpeech *Intent_Message_TelephonySynthesizeSpeech `protobuf:"bytes,14,opt,name=telephony_synthesize_speech,json=telephonySynthesizeSpeech,proto3,oneof"` 857} 858 859type Intent_Message_TelephonyTransferCall_ struct { 860 TelephonyTransferCall *Intent_Message_TelephonyTransferCall `protobuf:"bytes,15,opt,name=telephony_transfer_call,json=telephonyTransferCall,proto3,oneof"` 861} 862 863func (*Intent_Message_Text_) isIntent_Message_Message() {} 864 865func (*Intent_Message_Image_) isIntent_Message_Message() {} 866 867func (*Intent_Message_QuickReplies_) isIntent_Message_Message() {} 868 869func (*Intent_Message_Card_) isIntent_Message_Message() {} 870 871func (*Intent_Message_Payload) isIntent_Message_Message() {} 872 873func (*Intent_Message_SimpleResponses_) isIntent_Message_Message() {} 874 875func (*Intent_Message_BasicCard_) isIntent_Message_Message() {} 876 877func (*Intent_Message_Suggestions_) isIntent_Message_Message() {} 878 879func (*Intent_Message_LinkOutSuggestion_) isIntent_Message_Message() {} 880 881func (*Intent_Message_ListSelect_) isIntent_Message_Message() {} 882 883func (*Intent_Message_CarouselSelect_) isIntent_Message_Message() {} 884 885func (*Intent_Message_TelephonyPlayAudio_) isIntent_Message_Message() {} 886 887func (*Intent_Message_TelephonySynthesizeSpeech_) isIntent_Message_Message() {} 888 889func (*Intent_Message_TelephonyTransferCall_) isIntent_Message_Message() {} 890 891func (m *Intent_Message) GetMessage() isIntent_Message_Message { 892 if m != nil { 893 return m.Message 894 } 895 return nil 896} 897 898func (m *Intent_Message) GetText() *Intent_Message_Text { 899 if x, ok := m.GetMessage().(*Intent_Message_Text_); ok { 900 return x.Text 901 } 902 return nil 903} 904 905func (m *Intent_Message) GetImage() *Intent_Message_Image { 906 if x, ok := m.GetMessage().(*Intent_Message_Image_); ok { 907 return x.Image 908 } 909 return nil 910} 911 912func (m *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies { 913 if x, ok := m.GetMessage().(*Intent_Message_QuickReplies_); ok { 914 return x.QuickReplies 915 } 916 return nil 917} 918 919func (m *Intent_Message) GetCard() *Intent_Message_Card { 920 if x, ok := m.GetMessage().(*Intent_Message_Card_); ok { 921 return x.Card 922 } 923 return nil 924} 925 926func (m *Intent_Message) GetPayload() *_struct.Struct { 927 if x, ok := m.GetMessage().(*Intent_Message_Payload); ok { 928 return x.Payload 929 } 930 return nil 931} 932 933func (m *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses { 934 if x, ok := m.GetMessage().(*Intent_Message_SimpleResponses_); ok { 935 return x.SimpleResponses 936 } 937 return nil 938} 939 940func (m *Intent_Message) GetBasicCard() *Intent_Message_BasicCard { 941 if x, ok := m.GetMessage().(*Intent_Message_BasicCard_); ok { 942 return x.BasicCard 943 } 944 return nil 945} 946 947func (m *Intent_Message) GetSuggestions() *Intent_Message_Suggestions { 948 if x, ok := m.GetMessage().(*Intent_Message_Suggestions_); ok { 949 return x.Suggestions 950 } 951 return nil 952} 953 954func (m *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion { 955 if x, ok := m.GetMessage().(*Intent_Message_LinkOutSuggestion_); ok { 956 return x.LinkOutSuggestion 957 } 958 return nil 959} 960 961func (m *Intent_Message) GetListSelect() *Intent_Message_ListSelect { 962 if x, ok := m.GetMessage().(*Intent_Message_ListSelect_); ok { 963 return x.ListSelect 964 } 965 return nil 966} 967 968func (m *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect { 969 if x, ok := m.GetMessage().(*Intent_Message_CarouselSelect_); ok { 970 return x.CarouselSelect 971 } 972 return nil 973} 974 975func (m *Intent_Message) GetTelephonyPlayAudio() *Intent_Message_TelephonyPlayAudio { 976 if x, ok := m.GetMessage().(*Intent_Message_TelephonyPlayAudio_); ok { 977 return x.TelephonyPlayAudio 978 } 979 return nil 980} 981 982func (m *Intent_Message) GetTelephonySynthesizeSpeech() *Intent_Message_TelephonySynthesizeSpeech { 983 if x, ok := m.GetMessage().(*Intent_Message_TelephonySynthesizeSpeech_); ok { 984 return x.TelephonySynthesizeSpeech 985 } 986 return nil 987} 988 989func (m *Intent_Message) GetTelephonyTransferCall() *Intent_Message_TelephonyTransferCall { 990 if x, ok := m.GetMessage().(*Intent_Message_TelephonyTransferCall_); ok { 991 return x.TelephonyTransferCall 992 } 993 return nil 994} 995 996func (m *Intent_Message) GetPlatform() Intent_Message_Platform { 997 if m != nil { 998 return m.Platform 999 } 1000 return Intent_Message_PLATFORM_UNSPECIFIED 1001} 1002 1003// XXX_OneofFuncs is for the internal use of the proto package. 1004func (*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{}) { 1005 return _Intent_Message_OneofMarshaler, _Intent_Message_OneofUnmarshaler, _Intent_Message_OneofSizer, []interface{}{ 1006 (*Intent_Message_Text_)(nil), 1007 (*Intent_Message_Image_)(nil), 1008 (*Intent_Message_QuickReplies_)(nil), 1009 (*Intent_Message_Card_)(nil), 1010 (*Intent_Message_Payload)(nil), 1011 (*Intent_Message_SimpleResponses_)(nil), 1012 (*Intent_Message_BasicCard_)(nil), 1013 (*Intent_Message_Suggestions_)(nil), 1014 (*Intent_Message_LinkOutSuggestion_)(nil), 1015 (*Intent_Message_ListSelect_)(nil), 1016 (*Intent_Message_CarouselSelect_)(nil), 1017 (*Intent_Message_TelephonyPlayAudio_)(nil), 1018 (*Intent_Message_TelephonySynthesizeSpeech_)(nil), 1019 (*Intent_Message_TelephonyTransferCall_)(nil), 1020 } 1021} 1022 1023func _Intent_Message_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 1024 m := msg.(*Intent_Message) 1025 // message 1026 switch x := m.Message.(type) { 1027 case *Intent_Message_Text_: 1028 b.EncodeVarint(1<<3 | proto.WireBytes) 1029 if err := b.EncodeMessage(x.Text); err != nil { 1030 return err 1031 } 1032 case *Intent_Message_Image_: 1033 b.EncodeVarint(2<<3 | proto.WireBytes) 1034 if err := b.EncodeMessage(x.Image); err != nil { 1035 return err 1036 } 1037 case *Intent_Message_QuickReplies_: 1038 b.EncodeVarint(3<<3 | proto.WireBytes) 1039 if err := b.EncodeMessage(x.QuickReplies); err != nil { 1040 return err 1041 } 1042 case *Intent_Message_Card_: 1043 b.EncodeVarint(4<<3 | proto.WireBytes) 1044 if err := b.EncodeMessage(x.Card); err != nil { 1045 return err 1046 } 1047 case *Intent_Message_Payload: 1048 b.EncodeVarint(5<<3 | proto.WireBytes) 1049 if err := b.EncodeMessage(x.Payload); err != nil { 1050 return err 1051 } 1052 case *Intent_Message_SimpleResponses_: 1053 b.EncodeVarint(7<<3 | proto.WireBytes) 1054 if err := b.EncodeMessage(x.SimpleResponses); err != nil { 1055 return err 1056 } 1057 case *Intent_Message_BasicCard_: 1058 b.EncodeVarint(8<<3 | proto.WireBytes) 1059 if err := b.EncodeMessage(x.BasicCard); err != nil { 1060 return err 1061 } 1062 case *Intent_Message_Suggestions_: 1063 b.EncodeVarint(9<<3 | proto.WireBytes) 1064 if err := b.EncodeMessage(x.Suggestions); err != nil { 1065 return err 1066 } 1067 case *Intent_Message_LinkOutSuggestion_: 1068 b.EncodeVarint(10<<3 | proto.WireBytes) 1069 if err := b.EncodeMessage(x.LinkOutSuggestion); err != nil { 1070 return err 1071 } 1072 case *Intent_Message_ListSelect_: 1073 b.EncodeVarint(11<<3 | proto.WireBytes) 1074 if err := b.EncodeMessage(x.ListSelect); err != nil { 1075 return err 1076 } 1077 case *Intent_Message_CarouselSelect_: 1078 b.EncodeVarint(12<<3 | proto.WireBytes) 1079 if err := b.EncodeMessage(x.CarouselSelect); err != nil { 1080 return err 1081 } 1082 case *Intent_Message_TelephonyPlayAudio_: 1083 b.EncodeVarint(13<<3 | proto.WireBytes) 1084 if err := b.EncodeMessage(x.TelephonyPlayAudio); err != nil { 1085 return err 1086 } 1087 case *Intent_Message_TelephonySynthesizeSpeech_: 1088 b.EncodeVarint(14<<3 | proto.WireBytes) 1089 if err := b.EncodeMessage(x.TelephonySynthesizeSpeech); err != nil { 1090 return err 1091 } 1092 case *Intent_Message_TelephonyTransferCall_: 1093 b.EncodeVarint(15<<3 | proto.WireBytes) 1094 if err := b.EncodeMessage(x.TelephonyTransferCall); err != nil { 1095 return err 1096 } 1097 case nil: 1098 default: 1099 return fmt.Errorf("Intent_Message.Message has unexpected type %T", x) 1100 } 1101 return nil 1102} 1103 1104func _Intent_Message_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 1105 m := msg.(*Intent_Message) 1106 switch tag { 1107 case 1: // message.text 1108 if wire != proto.WireBytes { 1109 return true, proto.ErrInternalBadWireType 1110 } 1111 msg := new(Intent_Message_Text) 1112 err := b.DecodeMessage(msg) 1113 m.Message = &Intent_Message_Text_{msg} 1114 return true, err 1115 case 2: // message.image 1116 if wire != proto.WireBytes { 1117 return true, proto.ErrInternalBadWireType 1118 } 1119 msg := new(Intent_Message_Image) 1120 err := b.DecodeMessage(msg) 1121 m.Message = &Intent_Message_Image_{msg} 1122 return true, err 1123 case 3: // message.quick_replies 1124 if wire != proto.WireBytes { 1125 return true, proto.ErrInternalBadWireType 1126 } 1127 msg := new(Intent_Message_QuickReplies) 1128 err := b.DecodeMessage(msg) 1129 m.Message = &Intent_Message_QuickReplies_{msg} 1130 return true, err 1131 case 4: // message.card 1132 if wire != proto.WireBytes { 1133 return true, proto.ErrInternalBadWireType 1134 } 1135 msg := new(Intent_Message_Card) 1136 err := b.DecodeMessage(msg) 1137 m.Message = &Intent_Message_Card_{msg} 1138 return true, err 1139 case 5: // message.payload 1140 if wire != proto.WireBytes { 1141 return true, proto.ErrInternalBadWireType 1142 } 1143 msg := new(_struct.Struct) 1144 err := b.DecodeMessage(msg) 1145 m.Message = &Intent_Message_Payload{msg} 1146 return true, err 1147 case 7: // message.simple_responses 1148 if wire != proto.WireBytes { 1149 return true, proto.ErrInternalBadWireType 1150 } 1151 msg := new(Intent_Message_SimpleResponses) 1152 err := b.DecodeMessage(msg) 1153 m.Message = &Intent_Message_SimpleResponses_{msg} 1154 return true, err 1155 case 8: // message.basic_card 1156 if wire != proto.WireBytes { 1157 return true, proto.ErrInternalBadWireType 1158 } 1159 msg := new(Intent_Message_BasicCard) 1160 err := b.DecodeMessage(msg) 1161 m.Message = &Intent_Message_BasicCard_{msg} 1162 return true, err 1163 case 9: // message.suggestions 1164 if wire != proto.WireBytes { 1165 return true, proto.ErrInternalBadWireType 1166 } 1167 msg := new(Intent_Message_Suggestions) 1168 err := b.DecodeMessage(msg) 1169 m.Message = &Intent_Message_Suggestions_{msg} 1170 return true, err 1171 case 10: // message.link_out_suggestion 1172 if wire != proto.WireBytes { 1173 return true, proto.ErrInternalBadWireType 1174 } 1175 msg := new(Intent_Message_LinkOutSuggestion) 1176 err := b.DecodeMessage(msg) 1177 m.Message = &Intent_Message_LinkOutSuggestion_{msg} 1178 return true, err 1179 case 11: // message.list_select 1180 if wire != proto.WireBytes { 1181 return true, proto.ErrInternalBadWireType 1182 } 1183 msg := new(Intent_Message_ListSelect) 1184 err := b.DecodeMessage(msg) 1185 m.Message = &Intent_Message_ListSelect_{msg} 1186 return true, err 1187 case 12: // message.carousel_select 1188 if wire != proto.WireBytes { 1189 return true, proto.ErrInternalBadWireType 1190 } 1191 msg := new(Intent_Message_CarouselSelect) 1192 err := b.DecodeMessage(msg) 1193 m.Message = &Intent_Message_CarouselSelect_{msg} 1194 return true, err 1195 case 13: // message.telephony_play_audio 1196 if wire != proto.WireBytes { 1197 return true, proto.ErrInternalBadWireType 1198 } 1199 msg := new(Intent_Message_TelephonyPlayAudio) 1200 err := b.DecodeMessage(msg) 1201 m.Message = &Intent_Message_TelephonyPlayAudio_{msg} 1202 return true, err 1203 case 14: // message.telephony_synthesize_speech 1204 if wire != proto.WireBytes { 1205 return true, proto.ErrInternalBadWireType 1206 } 1207 msg := new(Intent_Message_TelephonySynthesizeSpeech) 1208 err := b.DecodeMessage(msg) 1209 m.Message = &Intent_Message_TelephonySynthesizeSpeech_{msg} 1210 return true, err 1211 case 15: // message.telephony_transfer_call 1212 if wire != proto.WireBytes { 1213 return true, proto.ErrInternalBadWireType 1214 } 1215 msg := new(Intent_Message_TelephonyTransferCall) 1216 err := b.DecodeMessage(msg) 1217 m.Message = &Intent_Message_TelephonyTransferCall_{msg} 1218 return true, err 1219 default: 1220 return false, nil 1221 } 1222} 1223 1224func _Intent_Message_OneofSizer(msg proto.Message) (n int) { 1225 m := msg.(*Intent_Message) 1226 // message 1227 switch x := m.Message.(type) { 1228 case *Intent_Message_Text_: 1229 s := proto.Size(x.Text) 1230 n += 1 // tag and wire 1231 n += proto.SizeVarint(uint64(s)) 1232 n += s 1233 case *Intent_Message_Image_: 1234 s := proto.Size(x.Image) 1235 n += 1 // tag and wire 1236 n += proto.SizeVarint(uint64(s)) 1237 n += s 1238 case *Intent_Message_QuickReplies_: 1239 s := proto.Size(x.QuickReplies) 1240 n += 1 // tag and wire 1241 n += proto.SizeVarint(uint64(s)) 1242 n += s 1243 case *Intent_Message_Card_: 1244 s := proto.Size(x.Card) 1245 n += 1 // tag and wire 1246 n += proto.SizeVarint(uint64(s)) 1247 n += s 1248 case *Intent_Message_Payload: 1249 s := proto.Size(x.Payload) 1250 n += 1 // tag and wire 1251 n += proto.SizeVarint(uint64(s)) 1252 n += s 1253 case *Intent_Message_SimpleResponses_: 1254 s := proto.Size(x.SimpleResponses) 1255 n += 1 // tag and wire 1256 n += proto.SizeVarint(uint64(s)) 1257 n += s 1258 case *Intent_Message_BasicCard_: 1259 s := proto.Size(x.BasicCard) 1260 n += 1 // tag and wire 1261 n += proto.SizeVarint(uint64(s)) 1262 n += s 1263 case *Intent_Message_Suggestions_: 1264 s := proto.Size(x.Suggestions) 1265 n += 1 // tag and wire 1266 n += proto.SizeVarint(uint64(s)) 1267 n += s 1268 case *Intent_Message_LinkOutSuggestion_: 1269 s := proto.Size(x.LinkOutSuggestion) 1270 n += 1 // tag and wire 1271 n += proto.SizeVarint(uint64(s)) 1272 n += s 1273 case *Intent_Message_ListSelect_: 1274 s := proto.Size(x.ListSelect) 1275 n += 1 // tag and wire 1276 n += proto.SizeVarint(uint64(s)) 1277 n += s 1278 case *Intent_Message_CarouselSelect_: 1279 s := proto.Size(x.CarouselSelect) 1280 n += 1 // tag and wire 1281 n += proto.SizeVarint(uint64(s)) 1282 n += s 1283 case *Intent_Message_TelephonyPlayAudio_: 1284 s := proto.Size(x.TelephonyPlayAudio) 1285 n += 1 // tag and wire 1286 n += proto.SizeVarint(uint64(s)) 1287 n += s 1288 case *Intent_Message_TelephonySynthesizeSpeech_: 1289 s := proto.Size(x.TelephonySynthesizeSpeech) 1290 n += 1 // tag and wire 1291 n += proto.SizeVarint(uint64(s)) 1292 n += s 1293 case *Intent_Message_TelephonyTransferCall_: 1294 s := proto.Size(x.TelephonyTransferCall) 1295 n += 1 // tag and wire 1296 n += proto.SizeVarint(uint64(s)) 1297 n += s 1298 case nil: 1299 default: 1300 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 1301 } 1302 return n 1303} 1304 1305// The text response message. 1306type Intent_Message_Text struct { 1307 // Optional. The collection of the agent's responses. 1308 Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` 1309 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1310 XXX_unrecognized []byte `json:"-"` 1311 XXX_sizecache int32 `json:"-"` 1312} 1313 1314func (m *Intent_Message_Text) Reset() { *m = Intent_Message_Text{} } 1315func (m *Intent_Message_Text) String() string { return proto.CompactTextString(m) } 1316func (*Intent_Message_Text) ProtoMessage() {} 1317func (*Intent_Message_Text) Descriptor() ([]byte, []int) { 1318 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 0} 1319} 1320func (m *Intent_Message_Text) XXX_Unmarshal(b []byte) error { 1321 return xxx_messageInfo_Intent_Message_Text.Unmarshal(m, b) 1322} 1323func (m *Intent_Message_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1324 return xxx_messageInfo_Intent_Message_Text.Marshal(b, m, deterministic) 1325} 1326func (dst *Intent_Message_Text) XXX_Merge(src proto.Message) { 1327 xxx_messageInfo_Intent_Message_Text.Merge(dst, src) 1328} 1329func (m *Intent_Message_Text) XXX_Size() int { 1330 return xxx_messageInfo_Intent_Message_Text.Size(m) 1331} 1332func (m *Intent_Message_Text) XXX_DiscardUnknown() { 1333 xxx_messageInfo_Intent_Message_Text.DiscardUnknown(m) 1334} 1335 1336var xxx_messageInfo_Intent_Message_Text proto.InternalMessageInfo 1337 1338func (m *Intent_Message_Text) GetText() []string { 1339 if m != nil { 1340 return m.Text 1341 } 1342 return nil 1343} 1344 1345// The image response message. 1346type Intent_Message_Image struct { 1347 // Optional. The public URI to an image file. 1348 ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` 1349 // A text description of the image to be used for accessibility, 1350 // e.g., screen readers. Required if image_uri is set for CarouselSelect. 1351 AccessibilityText string `protobuf:"bytes,2,opt,name=accessibility_text,json=accessibilityText,proto3" json:"accessibility_text,omitempty"` 1352 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1353 XXX_unrecognized []byte `json:"-"` 1354 XXX_sizecache int32 `json:"-"` 1355} 1356 1357func (m *Intent_Message_Image) Reset() { *m = Intent_Message_Image{} } 1358func (m *Intent_Message_Image) String() string { return proto.CompactTextString(m) } 1359func (*Intent_Message_Image) ProtoMessage() {} 1360func (*Intent_Message_Image) Descriptor() ([]byte, []int) { 1361 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 1} 1362} 1363func (m *Intent_Message_Image) XXX_Unmarshal(b []byte) error { 1364 return xxx_messageInfo_Intent_Message_Image.Unmarshal(m, b) 1365} 1366func (m *Intent_Message_Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1367 return xxx_messageInfo_Intent_Message_Image.Marshal(b, m, deterministic) 1368} 1369func (dst *Intent_Message_Image) XXX_Merge(src proto.Message) { 1370 xxx_messageInfo_Intent_Message_Image.Merge(dst, src) 1371} 1372func (m *Intent_Message_Image) XXX_Size() int { 1373 return xxx_messageInfo_Intent_Message_Image.Size(m) 1374} 1375func (m *Intent_Message_Image) XXX_DiscardUnknown() { 1376 xxx_messageInfo_Intent_Message_Image.DiscardUnknown(m) 1377} 1378 1379var xxx_messageInfo_Intent_Message_Image proto.InternalMessageInfo 1380 1381func (m *Intent_Message_Image) GetImageUri() string { 1382 if m != nil { 1383 return m.ImageUri 1384 } 1385 return "" 1386} 1387 1388func (m *Intent_Message_Image) GetAccessibilityText() string { 1389 if m != nil { 1390 return m.AccessibilityText 1391 } 1392 return "" 1393} 1394 1395// The quick replies response message. 1396type Intent_Message_QuickReplies struct { 1397 // Optional. The title of the collection of quick replies. 1398 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1399 // Optional. The collection of quick replies. 1400 QuickReplies []string `protobuf:"bytes,2,rep,name=quick_replies,json=quickReplies,proto3" json:"quick_replies,omitempty"` 1401 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1402 XXX_unrecognized []byte `json:"-"` 1403 XXX_sizecache int32 `json:"-"` 1404} 1405 1406func (m *Intent_Message_QuickReplies) Reset() { *m = Intent_Message_QuickReplies{} } 1407func (m *Intent_Message_QuickReplies) String() string { return proto.CompactTextString(m) } 1408func (*Intent_Message_QuickReplies) ProtoMessage() {} 1409func (*Intent_Message_QuickReplies) Descriptor() ([]byte, []int) { 1410 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 2} 1411} 1412func (m *Intent_Message_QuickReplies) XXX_Unmarshal(b []byte) error { 1413 return xxx_messageInfo_Intent_Message_QuickReplies.Unmarshal(m, b) 1414} 1415func (m *Intent_Message_QuickReplies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1416 return xxx_messageInfo_Intent_Message_QuickReplies.Marshal(b, m, deterministic) 1417} 1418func (dst *Intent_Message_QuickReplies) XXX_Merge(src proto.Message) { 1419 xxx_messageInfo_Intent_Message_QuickReplies.Merge(dst, src) 1420} 1421func (m *Intent_Message_QuickReplies) XXX_Size() int { 1422 return xxx_messageInfo_Intent_Message_QuickReplies.Size(m) 1423} 1424func (m *Intent_Message_QuickReplies) XXX_DiscardUnknown() { 1425 xxx_messageInfo_Intent_Message_QuickReplies.DiscardUnknown(m) 1426} 1427 1428var xxx_messageInfo_Intent_Message_QuickReplies proto.InternalMessageInfo 1429 1430func (m *Intent_Message_QuickReplies) GetTitle() string { 1431 if m != nil { 1432 return m.Title 1433 } 1434 return "" 1435} 1436 1437func (m *Intent_Message_QuickReplies) GetQuickReplies() []string { 1438 if m != nil { 1439 return m.QuickReplies 1440 } 1441 return nil 1442} 1443 1444// The card response message. 1445type Intent_Message_Card struct { 1446 // Optional. The title of the card. 1447 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1448 // Optional. The subtitle of the card. 1449 Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` 1450 // Optional. The public URI to an image file for the card. 1451 ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` 1452 // Optional. The collection of card buttons. 1453 Buttons []*Intent_Message_Card_Button `protobuf:"bytes,4,rep,name=buttons,proto3" json:"buttons,omitempty"` 1454 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1455 XXX_unrecognized []byte `json:"-"` 1456 XXX_sizecache int32 `json:"-"` 1457} 1458 1459func (m *Intent_Message_Card) Reset() { *m = Intent_Message_Card{} } 1460func (m *Intent_Message_Card) String() string { return proto.CompactTextString(m) } 1461func (*Intent_Message_Card) ProtoMessage() {} 1462func (*Intent_Message_Card) Descriptor() ([]byte, []int) { 1463 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 3} 1464} 1465func (m *Intent_Message_Card) XXX_Unmarshal(b []byte) error { 1466 return xxx_messageInfo_Intent_Message_Card.Unmarshal(m, b) 1467} 1468func (m *Intent_Message_Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1469 return xxx_messageInfo_Intent_Message_Card.Marshal(b, m, deterministic) 1470} 1471func (dst *Intent_Message_Card) XXX_Merge(src proto.Message) { 1472 xxx_messageInfo_Intent_Message_Card.Merge(dst, src) 1473} 1474func (m *Intent_Message_Card) XXX_Size() int { 1475 return xxx_messageInfo_Intent_Message_Card.Size(m) 1476} 1477func (m *Intent_Message_Card) XXX_DiscardUnknown() { 1478 xxx_messageInfo_Intent_Message_Card.DiscardUnknown(m) 1479} 1480 1481var xxx_messageInfo_Intent_Message_Card proto.InternalMessageInfo 1482 1483func (m *Intent_Message_Card) GetTitle() string { 1484 if m != nil { 1485 return m.Title 1486 } 1487 return "" 1488} 1489 1490func (m *Intent_Message_Card) GetSubtitle() string { 1491 if m != nil { 1492 return m.Subtitle 1493 } 1494 return "" 1495} 1496 1497func (m *Intent_Message_Card) GetImageUri() string { 1498 if m != nil { 1499 return m.ImageUri 1500 } 1501 return "" 1502} 1503 1504func (m *Intent_Message_Card) GetButtons() []*Intent_Message_Card_Button { 1505 if m != nil { 1506 return m.Buttons 1507 } 1508 return nil 1509} 1510 1511// Optional. Contains information about a button. 1512type Intent_Message_Card_Button struct { 1513 // Optional. The text to show on the button. 1514 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 1515 // Optional. The text to send back to the Dialogflow API or a URI to 1516 // open. 1517 Postback string `protobuf:"bytes,2,opt,name=postback,proto3" json:"postback,omitempty"` 1518 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1519 XXX_unrecognized []byte `json:"-"` 1520 XXX_sizecache int32 `json:"-"` 1521} 1522 1523func (m *Intent_Message_Card_Button) Reset() { *m = Intent_Message_Card_Button{} } 1524func (m *Intent_Message_Card_Button) String() string { return proto.CompactTextString(m) } 1525func (*Intent_Message_Card_Button) ProtoMessage() {} 1526func (*Intent_Message_Card_Button) Descriptor() ([]byte, []int) { 1527 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 3, 0} 1528} 1529func (m *Intent_Message_Card_Button) XXX_Unmarshal(b []byte) error { 1530 return xxx_messageInfo_Intent_Message_Card_Button.Unmarshal(m, b) 1531} 1532func (m *Intent_Message_Card_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1533 return xxx_messageInfo_Intent_Message_Card_Button.Marshal(b, m, deterministic) 1534} 1535func (dst *Intent_Message_Card_Button) XXX_Merge(src proto.Message) { 1536 xxx_messageInfo_Intent_Message_Card_Button.Merge(dst, src) 1537} 1538func (m *Intent_Message_Card_Button) XXX_Size() int { 1539 return xxx_messageInfo_Intent_Message_Card_Button.Size(m) 1540} 1541func (m *Intent_Message_Card_Button) XXX_DiscardUnknown() { 1542 xxx_messageInfo_Intent_Message_Card_Button.DiscardUnknown(m) 1543} 1544 1545var xxx_messageInfo_Intent_Message_Card_Button proto.InternalMessageInfo 1546 1547func (m *Intent_Message_Card_Button) GetText() string { 1548 if m != nil { 1549 return m.Text 1550 } 1551 return "" 1552} 1553 1554func (m *Intent_Message_Card_Button) GetPostback() string { 1555 if m != nil { 1556 return m.Postback 1557 } 1558 return "" 1559} 1560 1561// The simple response message containing speech or text. 1562type Intent_Message_SimpleResponse struct { 1563 // One of text_to_speech or ssml must be provided. The plain text of the 1564 // speech output. Mutually exclusive with ssml. 1565 TextToSpeech string `protobuf:"bytes,1,opt,name=text_to_speech,json=textToSpeech,proto3" json:"text_to_speech,omitempty"` 1566 // One of text_to_speech or ssml must be provided. Structured spoken 1567 // response to the user in the SSML format. Mutually exclusive with 1568 // text_to_speech. 1569 Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3" json:"ssml,omitempty"` 1570 // Optional. The text to display. 1571 DisplayText string `protobuf:"bytes,3,opt,name=display_text,json=displayText,proto3" json:"display_text,omitempty"` 1572 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1573 XXX_unrecognized []byte `json:"-"` 1574 XXX_sizecache int32 `json:"-"` 1575} 1576 1577func (m *Intent_Message_SimpleResponse) Reset() { *m = Intent_Message_SimpleResponse{} } 1578func (m *Intent_Message_SimpleResponse) String() string { return proto.CompactTextString(m) } 1579func (*Intent_Message_SimpleResponse) ProtoMessage() {} 1580func (*Intent_Message_SimpleResponse) Descriptor() ([]byte, []int) { 1581 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 4} 1582} 1583func (m *Intent_Message_SimpleResponse) XXX_Unmarshal(b []byte) error { 1584 return xxx_messageInfo_Intent_Message_SimpleResponse.Unmarshal(m, b) 1585} 1586func (m *Intent_Message_SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1587 return xxx_messageInfo_Intent_Message_SimpleResponse.Marshal(b, m, deterministic) 1588} 1589func (dst *Intent_Message_SimpleResponse) XXX_Merge(src proto.Message) { 1590 xxx_messageInfo_Intent_Message_SimpleResponse.Merge(dst, src) 1591} 1592func (m *Intent_Message_SimpleResponse) XXX_Size() int { 1593 return xxx_messageInfo_Intent_Message_SimpleResponse.Size(m) 1594} 1595func (m *Intent_Message_SimpleResponse) XXX_DiscardUnknown() { 1596 xxx_messageInfo_Intent_Message_SimpleResponse.DiscardUnknown(m) 1597} 1598 1599var xxx_messageInfo_Intent_Message_SimpleResponse proto.InternalMessageInfo 1600 1601func (m *Intent_Message_SimpleResponse) GetTextToSpeech() string { 1602 if m != nil { 1603 return m.TextToSpeech 1604 } 1605 return "" 1606} 1607 1608func (m *Intent_Message_SimpleResponse) GetSsml() string { 1609 if m != nil { 1610 return m.Ssml 1611 } 1612 return "" 1613} 1614 1615func (m *Intent_Message_SimpleResponse) GetDisplayText() string { 1616 if m != nil { 1617 return m.DisplayText 1618 } 1619 return "" 1620} 1621 1622// The collection of simple response candidates. 1623// This message in `QueryResult.fulfillment_messages` and 1624// `WebhookResponse.fulfillment_messages` should contain only one 1625// `SimpleResponse`. 1626type Intent_Message_SimpleResponses struct { 1627 // Required. The list of simple responses. 1628 SimpleResponses []*Intent_Message_SimpleResponse `protobuf:"bytes,1,rep,name=simple_responses,json=simpleResponses,proto3" json:"simple_responses,omitempty"` 1629 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1630 XXX_unrecognized []byte `json:"-"` 1631 XXX_sizecache int32 `json:"-"` 1632} 1633 1634func (m *Intent_Message_SimpleResponses) Reset() { *m = Intent_Message_SimpleResponses{} } 1635func (m *Intent_Message_SimpleResponses) String() string { return proto.CompactTextString(m) } 1636func (*Intent_Message_SimpleResponses) ProtoMessage() {} 1637func (*Intent_Message_SimpleResponses) Descriptor() ([]byte, []int) { 1638 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 5} 1639} 1640func (m *Intent_Message_SimpleResponses) XXX_Unmarshal(b []byte) error { 1641 return xxx_messageInfo_Intent_Message_SimpleResponses.Unmarshal(m, b) 1642} 1643func (m *Intent_Message_SimpleResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1644 return xxx_messageInfo_Intent_Message_SimpleResponses.Marshal(b, m, deterministic) 1645} 1646func (dst *Intent_Message_SimpleResponses) XXX_Merge(src proto.Message) { 1647 xxx_messageInfo_Intent_Message_SimpleResponses.Merge(dst, src) 1648} 1649func (m *Intent_Message_SimpleResponses) XXX_Size() int { 1650 return xxx_messageInfo_Intent_Message_SimpleResponses.Size(m) 1651} 1652func (m *Intent_Message_SimpleResponses) XXX_DiscardUnknown() { 1653 xxx_messageInfo_Intent_Message_SimpleResponses.DiscardUnknown(m) 1654} 1655 1656var xxx_messageInfo_Intent_Message_SimpleResponses proto.InternalMessageInfo 1657 1658func (m *Intent_Message_SimpleResponses) GetSimpleResponses() []*Intent_Message_SimpleResponse { 1659 if m != nil { 1660 return m.SimpleResponses 1661 } 1662 return nil 1663} 1664 1665// The basic card message. Useful for displaying information. 1666type Intent_Message_BasicCard struct { 1667 // Optional. The title of the card. 1668 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1669 // Optional. The subtitle of the card. 1670 Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` 1671 // Required, unless image is present. The body text of the card. 1672 FormattedText string `protobuf:"bytes,3,opt,name=formatted_text,json=formattedText,proto3" json:"formatted_text,omitempty"` 1673 // Optional. The image for the card. 1674 Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` 1675 // Optional. The collection of card buttons. 1676 Buttons []*Intent_Message_BasicCard_Button `protobuf:"bytes,5,rep,name=buttons,proto3" json:"buttons,omitempty"` 1677 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1678 XXX_unrecognized []byte `json:"-"` 1679 XXX_sizecache int32 `json:"-"` 1680} 1681 1682func (m *Intent_Message_BasicCard) Reset() { *m = Intent_Message_BasicCard{} } 1683func (m *Intent_Message_BasicCard) String() string { return proto.CompactTextString(m) } 1684func (*Intent_Message_BasicCard) ProtoMessage() {} 1685func (*Intent_Message_BasicCard) Descriptor() ([]byte, []int) { 1686 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 6} 1687} 1688func (m *Intent_Message_BasicCard) XXX_Unmarshal(b []byte) error { 1689 return xxx_messageInfo_Intent_Message_BasicCard.Unmarshal(m, b) 1690} 1691func (m *Intent_Message_BasicCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1692 return xxx_messageInfo_Intent_Message_BasicCard.Marshal(b, m, deterministic) 1693} 1694func (dst *Intent_Message_BasicCard) XXX_Merge(src proto.Message) { 1695 xxx_messageInfo_Intent_Message_BasicCard.Merge(dst, src) 1696} 1697func (m *Intent_Message_BasicCard) XXX_Size() int { 1698 return xxx_messageInfo_Intent_Message_BasicCard.Size(m) 1699} 1700func (m *Intent_Message_BasicCard) XXX_DiscardUnknown() { 1701 xxx_messageInfo_Intent_Message_BasicCard.DiscardUnknown(m) 1702} 1703 1704var xxx_messageInfo_Intent_Message_BasicCard proto.InternalMessageInfo 1705 1706func (m *Intent_Message_BasicCard) GetTitle() string { 1707 if m != nil { 1708 return m.Title 1709 } 1710 return "" 1711} 1712 1713func (m *Intent_Message_BasicCard) GetSubtitle() string { 1714 if m != nil { 1715 return m.Subtitle 1716 } 1717 return "" 1718} 1719 1720func (m *Intent_Message_BasicCard) GetFormattedText() string { 1721 if m != nil { 1722 return m.FormattedText 1723 } 1724 return "" 1725} 1726 1727func (m *Intent_Message_BasicCard) GetImage() *Intent_Message_Image { 1728 if m != nil { 1729 return m.Image 1730 } 1731 return nil 1732} 1733 1734func (m *Intent_Message_BasicCard) GetButtons() []*Intent_Message_BasicCard_Button { 1735 if m != nil { 1736 return m.Buttons 1737 } 1738 return nil 1739} 1740 1741// The button object that appears at the bottom of a card. 1742type Intent_Message_BasicCard_Button struct { 1743 // Required. The title of the button. 1744 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1745 // Required. Action to take when a user taps on the button. 1746 OpenUriAction *Intent_Message_BasicCard_Button_OpenUriAction `protobuf:"bytes,2,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"` 1747 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1748 XXX_unrecognized []byte `json:"-"` 1749 XXX_sizecache int32 `json:"-"` 1750} 1751 1752func (m *Intent_Message_BasicCard_Button) Reset() { *m = Intent_Message_BasicCard_Button{} } 1753func (m *Intent_Message_BasicCard_Button) String() string { return proto.CompactTextString(m) } 1754func (*Intent_Message_BasicCard_Button) ProtoMessage() {} 1755func (*Intent_Message_BasicCard_Button) Descriptor() ([]byte, []int) { 1756 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 6, 0} 1757} 1758func (m *Intent_Message_BasicCard_Button) XXX_Unmarshal(b []byte) error { 1759 return xxx_messageInfo_Intent_Message_BasicCard_Button.Unmarshal(m, b) 1760} 1761func (m *Intent_Message_BasicCard_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1762 return xxx_messageInfo_Intent_Message_BasicCard_Button.Marshal(b, m, deterministic) 1763} 1764func (dst *Intent_Message_BasicCard_Button) XXX_Merge(src proto.Message) { 1765 xxx_messageInfo_Intent_Message_BasicCard_Button.Merge(dst, src) 1766} 1767func (m *Intent_Message_BasicCard_Button) XXX_Size() int { 1768 return xxx_messageInfo_Intent_Message_BasicCard_Button.Size(m) 1769} 1770func (m *Intent_Message_BasicCard_Button) XXX_DiscardUnknown() { 1771 xxx_messageInfo_Intent_Message_BasicCard_Button.DiscardUnknown(m) 1772} 1773 1774var xxx_messageInfo_Intent_Message_BasicCard_Button proto.InternalMessageInfo 1775 1776func (m *Intent_Message_BasicCard_Button) GetTitle() string { 1777 if m != nil { 1778 return m.Title 1779 } 1780 return "" 1781} 1782 1783func (m *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction { 1784 if m != nil { 1785 return m.OpenUriAction 1786 } 1787 return nil 1788} 1789 1790// Opens the given URI. 1791type Intent_Message_BasicCard_Button_OpenUriAction struct { 1792 // Required. The HTTP or HTTPS scheme URI. 1793 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 1794 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1795 XXX_unrecognized []byte `json:"-"` 1796 XXX_sizecache int32 `json:"-"` 1797} 1798 1799func (m *Intent_Message_BasicCard_Button_OpenUriAction) Reset() { 1800 *m = Intent_Message_BasicCard_Button_OpenUriAction{} 1801} 1802func (m *Intent_Message_BasicCard_Button_OpenUriAction) String() string { 1803 return proto.CompactTextString(m) 1804} 1805func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage() {} 1806func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int) { 1807 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 6, 0, 0} 1808} 1809func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Unmarshal(b []byte) error { 1810 return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Unmarshal(m, b) 1811} 1812func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1813 return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Marshal(b, m, deterministic) 1814} 1815func (dst *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Merge(src proto.Message) { 1816 xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Merge(dst, src) 1817} 1818func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Size() int { 1819 return xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.Size(m) 1820} 1821func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_DiscardUnknown() { 1822 xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction.DiscardUnknown(m) 1823} 1824 1825var xxx_messageInfo_Intent_Message_BasicCard_Button_OpenUriAction proto.InternalMessageInfo 1826 1827func (m *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string { 1828 if m != nil { 1829 return m.Uri 1830 } 1831 return "" 1832} 1833 1834// The suggestion chip message that the user can tap to quickly post a reply 1835// to the conversation. 1836type Intent_Message_Suggestion struct { 1837 // Required. The text shown the in the suggestion chip. 1838 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1839 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1840 XXX_unrecognized []byte `json:"-"` 1841 XXX_sizecache int32 `json:"-"` 1842} 1843 1844func (m *Intent_Message_Suggestion) Reset() { *m = Intent_Message_Suggestion{} } 1845func (m *Intent_Message_Suggestion) String() string { return proto.CompactTextString(m) } 1846func (*Intent_Message_Suggestion) ProtoMessage() {} 1847func (*Intent_Message_Suggestion) Descriptor() ([]byte, []int) { 1848 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 7} 1849} 1850func (m *Intent_Message_Suggestion) XXX_Unmarshal(b []byte) error { 1851 return xxx_messageInfo_Intent_Message_Suggestion.Unmarshal(m, b) 1852} 1853func (m *Intent_Message_Suggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1854 return xxx_messageInfo_Intent_Message_Suggestion.Marshal(b, m, deterministic) 1855} 1856func (dst *Intent_Message_Suggestion) XXX_Merge(src proto.Message) { 1857 xxx_messageInfo_Intent_Message_Suggestion.Merge(dst, src) 1858} 1859func (m *Intent_Message_Suggestion) XXX_Size() int { 1860 return xxx_messageInfo_Intent_Message_Suggestion.Size(m) 1861} 1862func (m *Intent_Message_Suggestion) XXX_DiscardUnknown() { 1863 xxx_messageInfo_Intent_Message_Suggestion.DiscardUnknown(m) 1864} 1865 1866var xxx_messageInfo_Intent_Message_Suggestion proto.InternalMessageInfo 1867 1868func (m *Intent_Message_Suggestion) GetTitle() string { 1869 if m != nil { 1870 return m.Title 1871 } 1872 return "" 1873} 1874 1875// The collection of suggestions. 1876type Intent_Message_Suggestions struct { 1877 // Required. The list of suggested replies. 1878 Suggestions []*Intent_Message_Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"` 1879 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1880 XXX_unrecognized []byte `json:"-"` 1881 XXX_sizecache int32 `json:"-"` 1882} 1883 1884func (m *Intent_Message_Suggestions) Reset() { *m = Intent_Message_Suggestions{} } 1885func (m *Intent_Message_Suggestions) String() string { return proto.CompactTextString(m) } 1886func (*Intent_Message_Suggestions) ProtoMessage() {} 1887func (*Intent_Message_Suggestions) Descriptor() ([]byte, []int) { 1888 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 8} 1889} 1890func (m *Intent_Message_Suggestions) XXX_Unmarshal(b []byte) error { 1891 return xxx_messageInfo_Intent_Message_Suggestions.Unmarshal(m, b) 1892} 1893func (m *Intent_Message_Suggestions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1894 return xxx_messageInfo_Intent_Message_Suggestions.Marshal(b, m, deterministic) 1895} 1896func (dst *Intent_Message_Suggestions) XXX_Merge(src proto.Message) { 1897 xxx_messageInfo_Intent_Message_Suggestions.Merge(dst, src) 1898} 1899func (m *Intent_Message_Suggestions) XXX_Size() int { 1900 return xxx_messageInfo_Intent_Message_Suggestions.Size(m) 1901} 1902func (m *Intent_Message_Suggestions) XXX_DiscardUnknown() { 1903 xxx_messageInfo_Intent_Message_Suggestions.DiscardUnknown(m) 1904} 1905 1906var xxx_messageInfo_Intent_Message_Suggestions proto.InternalMessageInfo 1907 1908func (m *Intent_Message_Suggestions) GetSuggestions() []*Intent_Message_Suggestion { 1909 if m != nil { 1910 return m.Suggestions 1911 } 1912 return nil 1913} 1914 1915// The suggestion chip message that allows the user to jump out to the app 1916// or website associated with this agent. 1917type Intent_Message_LinkOutSuggestion struct { 1918 // Required. The name of the app or site this chip is linking to. 1919 DestinationName string `protobuf:"bytes,1,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"` 1920 // Required. The URI of the app or site to open when the user taps the 1921 // suggestion chip. 1922 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` 1923 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1924 XXX_unrecognized []byte `json:"-"` 1925 XXX_sizecache int32 `json:"-"` 1926} 1927 1928func (m *Intent_Message_LinkOutSuggestion) Reset() { *m = Intent_Message_LinkOutSuggestion{} } 1929func (m *Intent_Message_LinkOutSuggestion) String() string { return proto.CompactTextString(m) } 1930func (*Intent_Message_LinkOutSuggestion) ProtoMessage() {} 1931func (*Intent_Message_LinkOutSuggestion) Descriptor() ([]byte, []int) { 1932 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 9} 1933} 1934func (m *Intent_Message_LinkOutSuggestion) XXX_Unmarshal(b []byte) error { 1935 return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Unmarshal(m, b) 1936} 1937func (m *Intent_Message_LinkOutSuggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1938 return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Marshal(b, m, deterministic) 1939} 1940func (dst *Intent_Message_LinkOutSuggestion) XXX_Merge(src proto.Message) { 1941 xxx_messageInfo_Intent_Message_LinkOutSuggestion.Merge(dst, src) 1942} 1943func (m *Intent_Message_LinkOutSuggestion) XXX_Size() int { 1944 return xxx_messageInfo_Intent_Message_LinkOutSuggestion.Size(m) 1945} 1946func (m *Intent_Message_LinkOutSuggestion) XXX_DiscardUnknown() { 1947 xxx_messageInfo_Intent_Message_LinkOutSuggestion.DiscardUnknown(m) 1948} 1949 1950var xxx_messageInfo_Intent_Message_LinkOutSuggestion proto.InternalMessageInfo 1951 1952func (m *Intent_Message_LinkOutSuggestion) GetDestinationName() string { 1953 if m != nil { 1954 return m.DestinationName 1955 } 1956 return "" 1957} 1958 1959func (m *Intent_Message_LinkOutSuggestion) GetUri() string { 1960 if m != nil { 1961 return m.Uri 1962 } 1963 return "" 1964} 1965 1966// The card for presenting a list of options to select from. 1967type Intent_Message_ListSelect struct { 1968 // Optional. The overall title of the list. 1969 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 1970 // Required. List items. 1971 Items []*Intent_Message_ListSelect_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` 1972 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1973 XXX_unrecognized []byte `json:"-"` 1974 XXX_sizecache int32 `json:"-"` 1975} 1976 1977func (m *Intent_Message_ListSelect) Reset() { *m = Intent_Message_ListSelect{} } 1978func (m *Intent_Message_ListSelect) String() string { return proto.CompactTextString(m) } 1979func (*Intent_Message_ListSelect) ProtoMessage() {} 1980func (*Intent_Message_ListSelect) Descriptor() ([]byte, []int) { 1981 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 10} 1982} 1983func (m *Intent_Message_ListSelect) XXX_Unmarshal(b []byte) error { 1984 return xxx_messageInfo_Intent_Message_ListSelect.Unmarshal(m, b) 1985} 1986func (m *Intent_Message_ListSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1987 return xxx_messageInfo_Intent_Message_ListSelect.Marshal(b, m, deterministic) 1988} 1989func (dst *Intent_Message_ListSelect) XXX_Merge(src proto.Message) { 1990 xxx_messageInfo_Intent_Message_ListSelect.Merge(dst, src) 1991} 1992func (m *Intent_Message_ListSelect) XXX_Size() int { 1993 return xxx_messageInfo_Intent_Message_ListSelect.Size(m) 1994} 1995func (m *Intent_Message_ListSelect) XXX_DiscardUnknown() { 1996 xxx_messageInfo_Intent_Message_ListSelect.DiscardUnknown(m) 1997} 1998 1999var xxx_messageInfo_Intent_Message_ListSelect proto.InternalMessageInfo 2000 2001func (m *Intent_Message_ListSelect) GetTitle() string { 2002 if m != nil { 2003 return m.Title 2004 } 2005 return "" 2006} 2007 2008func (m *Intent_Message_ListSelect) GetItems() []*Intent_Message_ListSelect_Item { 2009 if m != nil { 2010 return m.Items 2011 } 2012 return nil 2013} 2014 2015// An item in the list. 2016type Intent_Message_ListSelect_Item struct { 2017 // Required. Additional information about this option. 2018 Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` 2019 // Required. The title of the list item. 2020 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 2021 // Optional. The main text describing the item. 2022 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 2023 // Optional. The image to display. 2024 Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` 2025 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2026 XXX_unrecognized []byte `json:"-"` 2027 XXX_sizecache int32 `json:"-"` 2028} 2029 2030func (m *Intent_Message_ListSelect_Item) Reset() { *m = Intent_Message_ListSelect_Item{} } 2031func (m *Intent_Message_ListSelect_Item) String() string { return proto.CompactTextString(m) } 2032func (*Intent_Message_ListSelect_Item) ProtoMessage() {} 2033func (*Intent_Message_ListSelect_Item) Descriptor() ([]byte, []int) { 2034 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 10, 0} 2035} 2036func (m *Intent_Message_ListSelect_Item) XXX_Unmarshal(b []byte) error { 2037 return xxx_messageInfo_Intent_Message_ListSelect_Item.Unmarshal(m, b) 2038} 2039func (m *Intent_Message_ListSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2040 return xxx_messageInfo_Intent_Message_ListSelect_Item.Marshal(b, m, deterministic) 2041} 2042func (dst *Intent_Message_ListSelect_Item) XXX_Merge(src proto.Message) { 2043 xxx_messageInfo_Intent_Message_ListSelect_Item.Merge(dst, src) 2044} 2045func (m *Intent_Message_ListSelect_Item) XXX_Size() int { 2046 return xxx_messageInfo_Intent_Message_ListSelect_Item.Size(m) 2047} 2048func (m *Intent_Message_ListSelect_Item) XXX_DiscardUnknown() { 2049 xxx_messageInfo_Intent_Message_ListSelect_Item.DiscardUnknown(m) 2050} 2051 2052var xxx_messageInfo_Intent_Message_ListSelect_Item proto.InternalMessageInfo 2053 2054func (m *Intent_Message_ListSelect_Item) GetInfo() *Intent_Message_SelectItemInfo { 2055 if m != nil { 2056 return m.Info 2057 } 2058 return nil 2059} 2060 2061func (m *Intent_Message_ListSelect_Item) GetTitle() string { 2062 if m != nil { 2063 return m.Title 2064 } 2065 return "" 2066} 2067 2068func (m *Intent_Message_ListSelect_Item) GetDescription() string { 2069 if m != nil { 2070 return m.Description 2071 } 2072 return "" 2073} 2074 2075func (m *Intent_Message_ListSelect_Item) GetImage() *Intent_Message_Image { 2076 if m != nil { 2077 return m.Image 2078 } 2079 return nil 2080} 2081 2082// The card for presenting a carousel of options to select from. 2083type Intent_Message_CarouselSelect struct { 2084 // Required. Carousel items. 2085 Items []*Intent_Message_CarouselSelect_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 2086 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2087 XXX_unrecognized []byte `json:"-"` 2088 XXX_sizecache int32 `json:"-"` 2089} 2090 2091func (m *Intent_Message_CarouselSelect) Reset() { *m = Intent_Message_CarouselSelect{} } 2092func (m *Intent_Message_CarouselSelect) String() string { return proto.CompactTextString(m) } 2093func (*Intent_Message_CarouselSelect) ProtoMessage() {} 2094func (*Intent_Message_CarouselSelect) Descriptor() ([]byte, []int) { 2095 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 11} 2096} 2097func (m *Intent_Message_CarouselSelect) XXX_Unmarshal(b []byte) error { 2098 return xxx_messageInfo_Intent_Message_CarouselSelect.Unmarshal(m, b) 2099} 2100func (m *Intent_Message_CarouselSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2101 return xxx_messageInfo_Intent_Message_CarouselSelect.Marshal(b, m, deterministic) 2102} 2103func (dst *Intent_Message_CarouselSelect) XXX_Merge(src proto.Message) { 2104 xxx_messageInfo_Intent_Message_CarouselSelect.Merge(dst, src) 2105} 2106func (m *Intent_Message_CarouselSelect) XXX_Size() int { 2107 return xxx_messageInfo_Intent_Message_CarouselSelect.Size(m) 2108} 2109func (m *Intent_Message_CarouselSelect) XXX_DiscardUnknown() { 2110 xxx_messageInfo_Intent_Message_CarouselSelect.DiscardUnknown(m) 2111} 2112 2113var xxx_messageInfo_Intent_Message_CarouselSelect proto.InternalMessageInfo 2114 2115func (m *Intent_Message_CarouselSelect) GetItems() []*Intent_Message_CarouselSelect_Item { 2116 if m != nil { 2117 return m.Items 2118 } 2119 return nil 2120} 2121 2122// An item in the carousel. 2123type Intent_Message_CarouselSelect_Item struct { 2124 // Required. Additional info about the option item. 2125 Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` 2126 // Required. Title of the carousel item. 2127 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` 2128 // Optional. The body text of the card. 2129 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 2130 // Optional. The image to display. 2131 Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` 2132 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2133 XXX_unrecognized []byte `json:"-"` 2134 XXX_sizecache int32 `json:"-"` 2135} 2136 2137func (m *Intent_Message_CarouselSelect_Item) Reset() { *m = Intent_Message_CarouselSelect_Item{} } 2138func (m *Intent_Message_CarouselSelect_Item) String() string { return proto.CompactTextString(m) } 2139func (*Intent_Message_CarouselSelect_Item) ProtoMessage() {} 2140func (*Intent_Message_CarouselSelect_Item) Descriptor() ([]byte, []int) { 2141 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 11, 0} 2142} 2143func (m *Intent_Message_CarouselSelect_Item) XXX_Unmarshal(b []byte) error { 2144 return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Unmarshal(m, b) 2145} 2146func (m *Intent_Message_CarouselSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2147 return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Marshal(b, m, deterministic) 2148} 2149func (dst *Intent_Message_CarouselSelect_Item) XXX_Merge(src proto.Message) { 2150 xxx_messageInfo_Intent_Message_CarouselSelect_Item.Merge(dst, src) 2151} 2152func (m *Intent_Message_CarouselSelect_Item) XXX_Size() int { 2153 return xxx_messageInfo_Intent_Message_CarouselSelect_Item.Size(m) 2154} 2155func (m *Intent_Message_CarouselSelect_Item) XXX_DiscardUnknown() { 2156 xxx_messageInfo_Intent_Message_CarouselSelect_Item.DiscardUnknown(m) 2157} 2158 2159var xxx_messageInfo_Intent_Message_CarouselSelect_Item proto.InternalMessageInfo 2160 2161func (m *Intent_Message_CarouselSelect_Item) GetInfo() *Intent_Message_SelectItemInfo { 2162 if m != nil { 2163 return m.Info 2164 } 2165 return nil 2166} 2167 2168func (m *Intent_Message_CarouselSelect_Item) GetTitle() string { 2169 if m != nil { 2170 return m.Title 2171 } 2172 return "" 2173} 2174 2175func (m *Intent_Message_CarouselSelect_Item) GetDescription() string { 2176 if m != nil { 2177 return m.Description 2178 } 2179 return "" 2180} 2181 2182func (m *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image { 2183 if m != nil { 2184 return m.Image 2185 } 2186 return nil 2187} 2188 2189// Additional info about the select item for when it is triggered in a 2190// dialog. 2191type Intent_Message_SelectItemInfo struct { 2192 // Required. A unique key that will be sent back to the agent if this 2193 // response is given. 2194 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 2195 // Optional. A list of synonyms that can also be used to trigger this 2196 // item in dialog. 2197 Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` 2198 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2199 XXX_unrecognized []byte `json:"-"` 2200 XXX_sizecache int32 `json:"-"` 2201} 2202 2203func (m *Intent_Message_SelectItemInfo) Reset() { *m = Intent_Message_SelectItemInfo{} } 2204func (m *Intent_Message_SelectItemInfo) String() string { return proto.CompactTextString(m) } 2205func (*Intent_Message_SelectItemInfo) ProtoMessage() {} 2206func (*Intent_Message_SelectItemInfo) Descriptor() ([]byte, []int) { 2207 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 12} 2208} 2209func (m *Intent_Message_SelectItemInfo) XXX_Unmarshal(b []byte) error { 2210 return xxx_messageInfo_Intent_Message_SelectItemInfo.Unmarshal(m, b) 2211} 2212func (m *Intent_Message_SelectItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2213 return xxx_messageInfo_Intent_Message_SelectItemInfo.Marshal(b, m, deterministic) 2214} 2215func (dst *Intent_Message_SelectItemInfo) XXX_Merge(src proto.Message) { 2216 xxx_messageInfo_Intent_Message_SelectItemInfo.Merge(dst, src) 2217} 2218func (m *Intent_Message_SelectItemInfo) XXX_Size() int { 2219 return xxx_messageInfo_Intent_Message_SelectItemInfo.Size(m) 2220} 2221func (m *Intent_Message_SelectItemInfo) XXX_DiscardUnknown() { 2222 xxx_messageInfo_Intent_Message_SelectItemInfo.DiscardUnknown(m) 2223} 2224 2225var xxx_messageInfo_Intent_Message_SelectItemInfo proto.InternalMessageInfo 2226 2227func (m *Intent_Message_SelectItemInfo) GetKey() string { 2228 if m != nil { 2229 return m.Key 2230 } 2231 return "" 2232} 2233 2234func (m *Intent_Message_SelectItemInfo) GetSynonyms() []string { 2235 if m != nil { 2236 return m.Synonyms 2237 } 2238 return nil 2239} 2240 2241// Plays audio from a file in Telephony Gateway. 2242type Intent_Message_TelephonyPlayAudio struct { 2243 // Required. URI to a Google Cloud Storage object containing the audio to 2244 // play, e.g., "gs://bucket/object". The object must contain a single 2245 // channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. 2246 // 2247 // This object must be readable by the `service-<Project 2248 // Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` service account 2249 // where <Project Number> is the number of the Telephony Gateway project 2250 // (usually the same as the Dialogflow agent project). If the Google Cloud 2251 // Storage bucket is in the Telephony Gateway project, this permission is 2252 // added by default when enabling the Dialogflow V2 API. 2253 // 2254 // For audio from other sources, consider using the 2255 // `TelephonySynthesizeSpeech` message with SSML. 2256 AudioUri string `protobuf:"bytes,1,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"` 2257 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2258 XXX_unrecognized []byte `json:"-"` 2259 XXX_sizecache int32 `json:"-"` 2260} 2261 2262func (m *Intent_Message_TelephonyPlayAudio) Reset() { *m = Intent_Message_TelephonyPlayAudio{} } 2263func (m *Intent_Message_TelephonyPlayAudio) String() string { return proto.CompactTextString(m) } 2264func (*Intent_Message_TelephonyPlayAudio) ProtoMessage() {} 2265func (*Intent_Message_TelephonyPlayAudio) Descriptor() ([]byte, []int) { 2266 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 13} 2267} 2268func (m *Intent_Message_TelephonyPlayAudio) XXX_Unmarshal(b []byte) error { 2269 return xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Unmarshal(m, b) 2270} 2271func (m *Intent_Message_TelephonyPlayAudio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2272 return xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Marshal(b, m, deterministic) 2273} 2274func (dst *Intent_Message_TelephonyPlayAudio) XXX_Merge(src proto.Message) { 2275 xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Merge(dst, src) 2276} 2277func (m *Intent_Message_TelephonyPlayAudio) XXX_Size() int { 2278 return xxx_messageInfo_Intent_Message_TelephonyPlayAudio.Size(m) 2279} 2280func (m *Intent_Message_TelephonyPlayAudio) XXX_DiscardUnknown() { 2281 xxx_messageInfo_Intent_Message_TelephonyPlayAudio.DiscardUnknown(m) 2282} 2283 2284var xxx_messageInfo_Intent_Message_TelephonyPlayAudio proto.InternalMessageInfo 2285 2286func (m *Intent_Message_TelephonyPlayAudio) GetAudioUri() string { 2287 if m != nil { 2288 return m.AudioUri 2289 } 2290 return "" 2291} 2292 2293// Synthesizes speech and plays back the synthesized audio to the caller in 2294// Telephony Gateway. 2295// 2296// Telephony Gateway takes the synthesizer settings from 2297// `DetectIntentResponse.output_audio_config` which can either be set 2298// at request-level or can come from the agent-level synthesizer config. 2299type Intent_Message_TelephonySynthesizeSpeech struct { 2300 // Required. The source to be synthesized. 2301 // 2302 // Types that are valid to be assigned to Source: 2303 // *Intent_Message_TelephonySynthesizeSpeech_Text 2304 // *Intent_Message_TelephonySynthesizeSpeech_Ssml 2305 Source isIntent_Message_TelephonySynthesizeSpeech_Source `protobuf_oneof:"source"` 2306 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2307 XXX_unrecognized []byte `json:"-"` 2308 XXX_sizecache int32 `json:"-"` 2309} 2310 2311func (m *Intent_Message_TelephonySynthesizeSpeech) Reset() { 2312 *m = Intent_Message_TelephonySynthesizeSpeech{} 2313} 2314func (m *Intent_Message_TelephonySynthesizeSpeech) String() string { return proto.CompactTextString(m) } 2315func (*Intent_Message_TelephonySynthesizeSpeech) ProtoMessage() {} 2316func (*Intent_Message_TelephonySynthesizeSpeech) Descriptor() ([]byte, []int) { 2317 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 14} 2318} 2319func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_Unmarshal(b []byte) error { 2320 return xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Unmarshal(m, b) 2321} 2322func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2323 return xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Marshal(b, m, deterministic) 2324} 2325func (dst *Intent_Message_TelephonySynthesizeSpeech) XXX_Merge(src proto.Message) { 2326 xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Merge(dst, src) 2327} 2328func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_Size() int { 2329 return xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.Size(m) 2330} 2331func (m *Intent_Message_TelephonySynthesizeSpeech) XXX_DiscardUnknown() { 2332 xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech.DiscardUnknown(m) 2333} 2334 2335var xxx_messageInfo_Intent_Message_TelephonySynthesizeSpeech proto.InternalMessageInfo 2336 2337type isIntent_Message_TelephonySynthesizeSpeech_Source interface { 2338 isIntent_Message_TelephonySynthesizeSpeech_Source() 2339} 2340 2341type Intent_Message_TelephonySynthesizeSpeech_Text struct { 2342 Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` 2343} 2344 2345type Intent_Message_TelephonySynthesizeSpeech_Ssml struct { 2346 Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"` 2347} 2348 2349func (*Intent_Message_TelephonySynthesizeSpeech_Text) isIntent_Message_TelephonySynthesizeSpeech_Source() { 2350} 2351 2352func (*Intent_Message_TelephonySynthesizeSpeech_Ssml) isIntent_Message_TelephonySynthesizeSpeech_Source() { 2353} 2354 2355func (m *Intent_Message_TelephonySynthesizeSpeech) GetSource() isIntent_Message_TelephonySynthesizeSpeech_Source { 2356 if m != nil { 2357 return m.Source 2358 } 2359 return nil 2360} 2361 2362func (m *Intent_Message_TelephonySynthesizeSpeech) GetText() string { 2363 if x, ok := m.GetSource().(*Intent_Message_TelephonySynthesizeSpeech_Text); ok { 2364 return x.Text 2365 } 2366 return "" 2367} 2368 2369func (m *Intent_Message_TelephonySynthesizeSpeech) GetSsml() string { 2370 if x, ok := m.GetSource().(*Intent_Message_TelephonySynthesizeSpeech_Ssml); ok { 2371 return x.Ssml 2372 } 2373 return "" 2374} 2375 2376// XXX_OneofFuncs is for the internal use of the proto package. 2377func (*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{}) { 2378 return _Intent_Message_TelephonySynthesizeSpeech_OneofMarshaler, _Intent_Message_TelephonySynthesizeSpeech_OneofUnmarshaler, _Intent_Message_TelephonySynthesizeSpeech_OneofSizer, []interface{}{ 2379 (*Intent_Message_TelephonySynthesizeSpeech_Text)(nil), 2380 (*Intent_Message_TelephonySynthesizeSpeech_Ssml)(nil), 2381 } 2382} 2383 2384func _Intent_Message_TelephonySynthesizeSpeech_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 2385 m := msg.(*Intent_Message_TelephonySynthesizeSpeech) 2386 // source 2387 switch x := m.Source.(type) { 2388 case *Intent_Message_TelephonySynthesizeSpeech_Text: 2389 b.EncodeVarint(1<<3 | proto.WireBytes) 2390 b.EncodeStringBytes(x.Text) 2391 case *Intent_Message_TelephonySynthesizeSpeech_Ssml: 2392 b.EncodeVarint(2<<3 | proto.WireBytes) 2393 b.EncodeStringBytes(x.Ssml) 2394 case nil: 2395 default: 2396 return fmt.Errorf("Intent_Message_TelephonySynthesizeSpeech.Source has unexpected type %T", x) 2397 } 2398 return nil 2399} 2400 2401func _Intent_Message_TelephonySynthesizeSpeech_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 2402 m := msg.(*Intent_Message_TelephonySynthesizeSpeech) 2403 switch tag { 2404 case 1: // source.text 2405 if wire != proto.WireBytes { 2406 return true, proto.ErrInternalBadWireType 2407 } 2408 x, err := b.DecodeStringBytes() 2409 m.Source = &Intent_Message_TelephonySynthesizeSpeech_Text{x} 2410 return true, err 2411 case 2: // source.ssml 2412 if wire != proto.WireBytes { 2413 return true, proto.ErrInternalBadWireType 2414 } 2415 x, err := b.DecodeStringBytes() 2416 m.Source = &Intent_Message_TelephonySynthesizeSpeech_Ssml{x} 2417 return true, err 2418 default: 2419 return false, nil 2420 } 2421} 2422 2423func _Intent_Message_TelephonySynthesizeSpeech_OneofSizer(msg proto.Message) (n int) { 2424 m := msg.(*Intent_Message_TelephonySynthesizeSpeech) 2425 // source 2426 switch x := m.Source.(type) { 2427 case *Intent_Message_TelephonySynthesizeSpeech_Text: 2428 n += 1 // tag and wire 2429 n += proto.SizeVarint(uint64(len(x.Text))) 2430 n += len(x.Text) 2431 case *Intent_Message_TelephonySynthesizeSpeech_Ssml: 2432 n += 1 // tag and wire 2433 n += proto.SizeVarint(uint64(len(x.Ssml))) 2434 n += len(x.Ssml) 2435 case nil: 2436 default: 2437 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 2438 } 2439 return n 2440} 2441 2442// Transfers the call in Telephony Gateway. 2443type Intent_Message_TelephonyTransferCall struct { 2444 // Required. The phone number to transfer the call to 2445 // in [E.164 format](https://en.wikipedia.org/wiki/E.164). 2446 // 2447 // We currently only allow transferring to US numbers (+1xxxyyyzzzz). 2448 PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` 2449 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2450 XXX_unrecognized []byte `json:"-"` 2451 XXX_sizecache int32 `json:"-"` 2452} 2453 2454func (m *Intent_Message_TelephonyTransferCall) Reset() { *m = Intent_Message_TelephonyTransferCall{} } 2455func (m *Intent_Message_TelephonyTransferCall) String() string { return proto.CompactTextString(m) } 2456func (*Intent_Message_TelephonyTransferCall) ProtoMessage() {} 2457func (*Intent_Message_TelephonyTransferCall) Descriptor() ([]byte, []int) { 2458 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 2, 15} 2459} 2460func (m *Intent_Message_TelephonyTransferCall) XXX_Unmarshal(b []byte) error { 2461 return xxx_messageInfo_Intent_Message_TelephonyTransferCall.Unmarshal(m, b) 2462} 2463func (m *Intent_Message_TelephonyTransferCall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2464 return xxx_messageInfo_Intent_Message_TelephonyTransferCall.Marshal(b, m, deterministic) 2465} 2466func (dst *Intent_Message_TelephonyTransferCall) XXX_Merge(src proto.Message) { 2467 xxx_messageInfo_Intent_Message_TelephonyTransferCall.Merge(dst, src) 2468} 2469func (m *Intent_Message_TelephonyTransferCall) XXX_Size() int { 2470 return xxx_messageInfo_Intent_Message_TelephonyTransferCall.Size(m) 2471} 2472func (m *Intent_Message_TelephonyTransferCall) XXX_DiscardUnknown() { 2473 xxx_messageInfo_Intent_Message_TelephonyTransferCall.DiscardUnknown(m) 2474} 2475 2476var xxx_messageInfo_Intent_Message_TelephonyTransferCall proto.InternalMessageInfo 2477 2478func (m *Intent_Message_TelephonyTransferCall) GetPhoneNumber() string { 2479 if m != nil { 2480 return m.PhoneNumber 2481 } 2482 return "" 2483} 2484 2485// Represents a single followup intent in the chain. 2486type Intent_FollowupIntentInfo struct { 2487 // The unique identifier of the followup intent. 2488 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2489 FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName,proto3" json:"followup_intent_name,omitempty"` 2490 // The unique identifier of the followup intent parent. 2491 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2492 ParentFollowupIntentName string `protobuf:"bytes,2,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` 2493 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2494 XXX_unrecognized []byte `json:"-"` 2495 XXX_sizecache int32 `json:"-"` 2496} 2497 2498func (m *Intent_FollowupIntentInfo) Reset() { *m = Intent_FollowupIntentInfo{} } 2499func (m *Intent_FollowupIntentInfo) String() string { return proto.CompactTextString(m) } 2500func (*Intent_FollowupIntentInfo) ProtoMessage() {} 2501func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int) { 2502 return fileDescriptor_intent_ceca89a12cc28578, []int{0, 3} 2503} 2504func (m *Intent_FollowupIntentInfo) XXX_Unmarshal(b []byte) error { 2505 return xxx_messageInfo_Intent_FollowupIntentInfo.Unmarshal(m, b) 2506} 2507func (m *Intent_FollowupIntentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2508 return xxx_messageInfo_Intent_FollowupIntentInfo.Marshal(b, m, deterministic) 2509} 2510func (dst *Intent_FollowupIntentInfo) XXX_Merge(src proto.Message) { 2511 xxx_messageInfo_Intent_FollowupIntentInfo.Merge(dst, src) 2512} 2513func (m *Intent_FollowupIntentInfo) XXX_Size() int { 2514 return xxx_messageInfo_Intent_FollowupIntentInfo.Size(m) 2515} 2516func (m *Intent_FollowupIntentInfo) XXX_DiscardUnknown() { 2517 xxx_messageInfo_Intent_FollowupIntentInfo.DiscardUnknown(m) 2518} 2519 2520var xxx_messageInfo_Intent_FollowupIntentInfo proto.InternalMessageInfo 2521 2522func (m *Intent_FollowupIntentInfo) GetFollowupIntentName() string { 2523 if m != nil { 2524 return m.FollowupIntentName 2525 } 2526 return "" 2527} 2528 2529func (m *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string { 2530 if m != nil { 2531 return m.ParentFollowupIntentName 2532 } 2533 return "" 2534} 2535 2536// The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents]. 2537type ListIntentsRequest struct { 2538 // Required. The agent to list all intents from. 2539 // Format: `projects/<Project ID>/agent`. 2540 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2541 // Optional. The language to list training phrases, parameters and rich 2542 // messages for. If not specified, the agent's default language is used. 2543 // [More than a dozen 2544 // languages](https://dialogflow.com/docs/reference/language) are supported. 2545 // Note: languages must be enabled in the agent before they can be used. 2546 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2547 // Optional. The resource view to apply to the returned intent. 2548 IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` 2549 // Optional. The maximum number of items to return in a single page. By 2550 // default 100 and at most 1000. 2551 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 2552 // Optional. The next_page_token value returned from a previous list request. 2553 PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 2554 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2555 XXX_unrecognized []byte `json:"-"` 2556 XXX_sizecache int32 `json:"-"` 2557} 2558 2559func (m *ListIntentsRequest) Reset() { *m = ListIntentsRequest{} } 2560func (m *ListIntentsRequest) String() string { return proto.CompactTextString(m) } 2561func (*ListIntentsRequest) ProtoMessage() {} 2562func (*ListIntentsRequest) Descriptor() ([]byte, []int) { 2563 return fileDescriptor_intent_ceca89a12cc28578, []int{1} 2564} 2565func (m *ListIntentsRequest) XXX_Unmarshal(b []byte) error { 2566 return xxx_messageInfo_ListIntentsRequest.Unmarshal(m, b) 2567} 2568func (m *ListIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2569 return xxx_messageInfo_ListIntentsRequest.Marshal(b, m, deterministic) 2570} 2571func (dst *ListIntentsRequest) XXX_Merge(src proto.Message) { 2572 xxx_messageInfo_ListIntentsRequest.Merge(dst, src) 2573} 2574func (m *ListIntentsRequest) XXX_Size() int { 2575 return xxx_messageInfo_ListIntentsRequest.Size(m) 2576} 2577func (m *ListIntentsRequest) XXX_DiscardUnknown() { 2578 xxx_messageInfo_ListIntentsRequest.DiscardUnknown(m) 2579} 2580 2581var xxx_messageInfo_ListIntentsRequest proto.InternalMessageInfo 2582 2583func (m *ListIntentsRequest) GetParent() string { 2584 if m != nil { 2585 return m.Parent 2586 } 2587 return "" 2588} 2589 2590func (m *ListIntentsRequest) GetLanguageCode() string { 2591 if m != nil { 2592 return m.LanguageCode 2593 } 2594 return "" 2595} 2596 2597func (m *ListIntentsRequest) GetIntentView() IntentView { 2598 if m != nil { 2599 return m.IntentView 2600 } 2601 return IntentView_INTENT_VIEW_UNSPECIFIED 2602} 2603 2604func (m *ListIntentsRequest) GetPageSize() int32 { 2605 if m != nil { 2606 return m.PageSize 2607 } 2608 return 0 2609} 2610 2611func (m *ListIntentsRequest) GetPageToken() string { 2612 if m != nil { 2613 return m.PageToken 2614 } 2615 return "" 2616} 2617 2618// The response message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents]. 2619type ListIntentsResponse struct { 2620 // The list of agent intents. There will be a maximum number of items 2621 // returned based on the page_size field in the request. 2622 Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` 2623 // Token to retrieve the next page of results, or empty if there are no 2624 // more results in the list. 2625 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 2626 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2627 XXX_unrecognized []byte `json:"-"` 2628 XXX_sizecache int32 `json:"-"` 2629} 2630 2631func (m *ListIntentsResponse) Reset() { *m = ListIntentsResponse{} } 2632func (m *ListIntentsResponse) String() string { return proto.CompactTextString(m) } 2633func (*ListIntentsResponse) ProtoMessage() {} 2634func (*ListIntentsResponse) Descriptor() ([]byte, []int) { 2635 return fileDescriptor_intent_ceca89a12cc28578, []int{2} 2636} 2637func (m *ListIntentsResponse) XXX_Unmarshal(b []byte) error { 2638 return xxx_messageInfo_ListIntentsResponse.Unmarshal(m, b) 2639} 2640func (m *ListIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2641 return xxx_messageInfo_ListIntentsResponse.Marshal(b, m, deterministic) 2642} 2643func (dst *ListIntentsResponse) XXX_Merge(src proto.Message) { 2644 xxx_messageInfo_ListIntentsResponse.Merge(dst, src) 2645} 2646func (m *ListIntentsResponse) XXX_Size() int { 2647 return xxx_messageInfo_ListIntentsResponse.Size(m) 2648} 2649func (m *ListIntentsResponse) XXX_DiscardUnknown() { 2650 xxx_messageInfo_ListIntentsResponse.DiscardUnknown(m) 2651} 2652 2653var xxx_messageInfo_ListIntentsResponse proto.InternalMessageInfo 2654 2655func (m *ListIntentsResponse) GetIntents() []*Intent { 2656 if m != nil { 2657 return m.Intents 2658 } 2659 return nil 2660} 2661 2662func (m *ListIntentsResponse) GetNextPageToken() string { 2663 if m != nil { 2664 return m.NextPageToken 2665 } 2666 return "" 2667} 2668 2669// The request message for [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent]. 2670type GetIntentRequest struct { 2671 // Required. The name of the intent. 2672 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2673 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2674 // Optional. The language to retrieve training phrases, parameters and rich 2675 // messages for. If not specified, the agent's default language is used. 2676 // [More than a dozen 2677 // languages](https://dialogflow.com/docs/reference/language) are supported. 2678 // Note: languages must be enabled in the agent, before they can be used. 2679 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2680 // Optional. The resource view to apply to the returned intent. 2681 IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` 2682 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2683 XXX_unrecognized []byte `json:"-"` 2684 XXX_sizecache int32 `json:"-"` 2685} 2686 2687func (m *GetIntentRequest) Reset() { *m = GetIntentRequest{} } 2688func (m *GetIntentRequest) String() string { return proto.CompactTextString(m) } 2689func (*GetIntentRequest) ProtoMessage() {} 2690func (*GetIntentRequest) Descriptor() ([]byte, []int) { 2691 return fileDescriptor_intent_ceca89a12cc28578, []int{3} 2692} 2693func (m *GetIntentRequest) XXX_Unmarshal(b []byte) error { 2694 return xxx_messageInfo_GetIntentRequest.Unmarshal(m, b) 2695} 2696func (m *GetIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2697 return xxx_messageInfo_GetIntentRequest.Marshal(b, m, deterministic) 2698} 2699func (dst *GetIntentRequest) XXX_Merge(src proto.Message) { 2700 xxx_messageInfo_GetIntentRequest.Merge(dst, src) 2701} 2702func (m *GetIntentRequest) XXX_Size() int { 2703 return xxx_messageInfo_GetIntentRequest.Size(m) 2704} 2705func (m *GetIntentRequest) XXX_DiscardUnknown() { 2706 xxx_messageInfo_GetIntentRequest.DiscardUnknown(m) 2707} 2708 2709var xxx_messageInfo_GetIntentRequest proto.InternalMessageInfo 2710 2711func (m *GetIntentRequest) GetName() string { 2712 if m != nil { 2713 return m.Name 2714 } 2715 return "" 2716} 2717 2718func (m *GetIntentRequest) GetLanguageCode() string { 2719 if m != nil { 2720 return m.LanguageCode 2721 } 2722 return "" 2723} 2724 2725func (m *GetIntentRequest) GetIntentView() IntentView { 2726 if m != nil { 2727 return m.IntentView 2728 } 2729 return IntentView_INTENT_VIEW_UNSPECIFIED 2730} 2731 2732// The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent]. 2733type CreateIntentRequest struct { 2734 // Required. The agent to create a intent for. 2735 // Format: `projects/<Project ID>/agent`. 2736 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2737 // Required. The intent to create. 2738 Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"` 2739 // Optional. The language of training phrases, parameters and rich messages 2740 // defined in `intent`. If not specified, the agent's default language is 2741 // used. [More than a dozen 2742 // languages](https://dialogflow.com/docs/reference/language) are supported. 2743 // Note: languages must be enabled in the agent, before they can be used. 2744 LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2745 // Optional. The resource view to apply to the returned intent. 2746 IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` 2747 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2748 XXX_unrecognized []byte `json:"-"` 2749 XXX_sizecache int32 `json:"-"` 2750} 2751 2752func (m *CreateIntentRequest) Reset() { *m = CreateIntentRequest{} } 2753func (m *CreateIntentRequest) String() string { return proto.CompactTextString(m) } 2754func (*CreateIntentRequest) ProtoMessage() {} 2755func (*CreateIntentRequest) Descriptor() ([]byte, []int) { 2756 return fileDescriptor_intent_ceca89a12cc28578, []int{4} 2757} 2758func (m *CreateIntentRequest) XXX_Unmarshal(b []byte) error { 2759 return xxx_messageInfo_CreateIntentRequest.Unmarshal(m, b) 2760} 2761func (m *CreateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2762 return xxx_messageInfo_CreateIntentRequest.Marshal(b, m, deterministic) 2763} 2764func (dst *CreateIntentRequest) XXX_Merge(src proto.Message) { 2765 xxx_messageInfo_CreateIntentRequest.Merge(dst, src) 2766} 2767func (m *CreateIntentRequest) XXX_Size() int { 2768 return xxx_messageInfo_CreateIntentRequest.Size(m) 2769} 2770func (m *CreateIntentRequest) XXX_DiscardUnknown() { 2771 xxx_messageInfo_CreateIntentRequest.DiscardUnknown(m) 2772} 2773 2774var xxx_messageInfo_CreateIntentRequest proto.InternalMessageInfo 2775 2776func (m *CreateIntentRequest) GetParent() string { 2777 if m != nil { 2778 return m.Parent 2779 } 2780 return "" 2781} 2782 2783func (m *CreateIntentRequest) GetIntent() *Intent { 2784 if m != nil { 2785 return m.Intent 2786 } 2787 return nil 2788} 2789 2790func (m *CreateIntentRequest) GetLanguageCode() string { 2791 if m != nil { 2792 return m.LanguageCode 2793 } 2794 return "" 2795} 2796 2797func (m *CreateIntentRequest) GetIntentView() IntentView { 2798 if m != nil { 2799 return m.IntentView 2800 } 2801 return IntentView_INTENT_VIEW_UNSPECIFIED 2802} 2803 2804// The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]. 2805type UpdateIntentRequest struct { 2806 // Required. The intent to update. 2807 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2808 Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` 2809 // Optional. The language of training phrases, parameters and rich messages 2810 // defined in `intent`. If not specified, the agent's default language is 2811 // used. [More than a dozen 2812 // languages](https://dialogflow.com/docs/reference/language) are supported. 2813 // Note: languages must be enabled in the agent, before they can be used. 2814 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2815 // Optional. The mask to control which fields get updated. 2816 UpdateMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2817 // Optional. The resource view to apply to the returned intent. 2818 IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` 2819 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2820 XXX_unrecognized []byte `json:"-"` 2821 XXX_sizecache int32 `json:"-"` 2822} 2823 2824func (m *UpdateIntentRequest) Reset() { *m = UpdateIntentRequest{} } 2825func (m *UpdateIntentRequest) String() string { return proto.CompactTextString(m) } 2826func (*UpdateIntentRequest) ProtoMessage() {} 2827func (*UpdateIntentRequest) Descriptor() ([]byte, []int) { 2828 return fileDescriptor_intent_ceca89a12cc28578, []int{5} 2829} 2830func (m *UpdateIntentRequest) XXX_Unmarshal(b []byte) error { 2831 return xxx_messageInfo_UpdateIntentRequest.Unmarshal(m, b) 2832} 2833func (m *UpdateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2834 return xxx_messageInfo_UpdateIntentRequest.Marshal(b, m, deterministic) 2835} 2836func (dst *UpdateIntentRequest) XXX_Merge(src proto.Message) { 2837 xxx_messageInfo_UpdateIntentRequest.Merge(dst, src) 2838} 2839func (m *UpdateIntentRequest) XXX_Size() int { 2840 return xxx_messageInfo_UpdateIntentRequest.Size(m) 2841} 2842func (m *UpdateIntentRequest) XXX_DiscardUnknown() { 2843 xxx_messageInfo_UpdateIntentRequest.DiscardUnknown(m) 2844} 2845 2846var xxx_messageInfo_UpdateIntentRequest proto.InternalMessageInfo 2847 2848func (m *UpdateIntentRequest) GetIntent() *Intent { 2849 if m != nil { 2850 return m.Intent 2851 } 2852 return nil 2853} 2854 2855func (m *UpdateIntentRequest) GetLanguageCode() string { 2856 if m != nil { 2857 return m.LanguageCode 2858 } 2859 return "" 2860} 2861 2862func (m *UpdateIntentRequest) GetUpdateMask() *field_mask.FieldMask { 2863 if m != nil { 2864 return m.UpdateMask 2865 } 2866 return nil 2867} 2868 2869func (m *UpdateIntentRequest) GetIntentView() IntentView { 2870 if m != nil { 2871 return m.IntentView 2872 } 2873 return IntentView_INTENT_VIEW_UNSPECIFIED 2874} 2875 2876// The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2beta1.Intents.DeleteIntent]. 2877type DeleteIntentRequest struct { 2878 // Required. The name of the intent to delete. 2879 // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 2880 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2881 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2882 XXX_unrecognized []byte `json:"-"` 2883 XXX_sizecache int32 `json:"-"` 2884} 2885 2886func (m *DeleteIntentRequest) Reset() { *m = DeleteIntentRequest{} } 2887func (m *DeleteIntentRequest) String() string { return proto.CompactTextString(m) } 2888func (*DeleteIntentRequest) ProtoMessage() {} 2889func (*DeleteIntentRequest) Descriptor() ([]byte, []int) { 2890 return fileDescriptor_intent_ceca89a12cc28578, []int{6} 2891} 2892func (m *DeleteIntentRequest) XXX_Unmarshal(b []byte) error { 2893 return xxx_messageInfo_DeleteIntentRequest.Unmarshal(m, b) 2894} 2895func (m *DeleteIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2896 return xxx_messageInfo_DeleteIntentRequest.Marshal(b, m, deterministic) 2897} 2898func (dst *DeleteIntentRequest) XXX_Merge(src proto.Message) { 2899 xxx_messageInfo_DeleteIntentRequest.Merge(dst, src) 2900} 2901func (m *DeleteIntentRequest) XXX_Size() int { 2902 return xxx_messageInfo_DeleteIntentRequest.Size(m) 2903} 2904func (m *DeleteIntentRequest) XXX_DiscardUnknown() { 2905 xxx_messageInfo_DeleteIntentRequest.DiscardUnknown(m) 2906} 2907 2908var xxx_messageInfo_DeleteIntentRequest proto.InternalMessageInfo 2909 2910func (m *DeleteIntentRequest) GetName() string { 2911 if m != nil { 2912 return m.Name 2913 } 2914 return "" 2915} 2916 2917// The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]. 2918type BatchUpdateIntentsRequest struct { 2919 // Required. The name of the agent to update or create intents in. 2920 // Format: `projects/<Project ID>/agent`. 2921 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 2922 // Required. The source of the intent batch. 2923 // 2924 // Types that are valid to be assigned to IntentBatch: 2925 // *BatchUpdateIntentsRequest_IntentBatchUri 2926 // *BatchUpdateIntentsRequest_IntentBatchInline 2927 IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"` 2928 // Optional. The language of training phrases, parameters and rich messages 2929 // defined in `intents`. If not specified, the agent's default language is 2930 // used. [More than a dozen 2931 // languages](https://dialogflow.com/docs/reference/language) are supported. 2932 // Note: languages must be enabled in the agent, before they can be used. 2933 LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 2934 // Optional. The mask to control which fields get updated. 2935 UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 2936 // Optional. The resource view to apply to the returned intent. 2937 IntentView IntentView `protobuf:"varint,6,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` 2938 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2939 XXX_unrecognized []byte `json:"-"` 2940 XXX_sizecache int32 `json:"-"` 2941} 2942 2943func (m *BatchUpdateIntentsRequest) Reset() { *m = BatchUpdateIntentsRequest{} } 2944func (m *BatchUpdateIntentsRequest) String() string { return proto.CompactTextString(m) } 2945func (*BatchUpdateIntentsRequest) ProtoMessage() {} 2946func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int) { 2947 return fileDescriptor_intent_ceca89a12cc28578, []int{7} 2948} 2949func (m *BatchUpdateIntentsRequest) XXX_Unmarshal(b []byte) error { 2950 return xxx_messageInfo_BatchUpdateIntentsRequest.Unmarshal(m, b) 2951} 2952func (m *BatchUpdateIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2953 return xxx_messageInfo_BatchUpdateIntentsRequest.Marshal(b, m, deterministic) 2954} 2955func (dst *BatchUpdateIntentsRequest) XXX_Merge(src proto.Message) { 2956 xxx_messageInfo_BatchUpdateIntentsRequest.Merge(dst, src) 2957} 2958func (m *BatchUpdateIntentsRequest) XXX_Size() int { 2959 return xxx_messageInfo_BatchUpdateIntentsRequest.Size(m) 2960} 2961func (m *BatchUpdateIntentsRequest) XXX_DiscardUnknown() { 2962 xxx_messageInfo_BatchUpdateIntentsRequest.DiscardUnknown(m) 2963} 2964 2965var xxx_messageInfo_BatchUpdateIntentsRequest proto.InternalMessageInfo 2966 2967func (m *BatchUpdateIntentsRequest) GetParent() string { 2968 if m != nil { 2969 return m.Parent 2970 } 2971 return "" 2972} 2973 2974type isBatchUpdateIntentsRequest_IntentBatch interface { 2975 isBatchUpdateIntentsRequest_IntentBatch() 2976} 2977 2978type BatchUpdateIntentsRequest_IntentBatchUri struct { 2979 IntentBatchUri string `protobuf:"bytes,2,opt,name=intent_batch_uri,json=intentBatchUri,proto3,oneof"` 2980} 2981 2982type BatchUpdateIntentsRequest_IntentBatchInline struct { 2983 IntentBatchInline *IntentBatch `protobuf:"bytes,3,opt,name=intent_batch_inline,json=intentBatchInline,proto3,oneof"` 2984} 2985 2986func (*BatchUpdateIntentsRequest_IntentBatchUri) isBatchUpdateIntentsRequest_IntentBatch() {} 2987 2988func (*BatchUpdateIntentsRequest_IntentBatchInline) isBatchUpdateIntentsRequest_IntentBatch() {} 2989 2990func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch { 2991 if m != nil { 2992 return m.IntentBatch 2993 } 2994 return nil 2995} 2996 2997func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string { 2998 if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchUri); ok { 2999 return x.IntentBatchUri 3000 } 3001 return "" 3002} 3003 3004func (m *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch { 3005 if x, ok := m.GetIntentBatch().(*BatchUpdateIntentsRequest_IntentBatchInline); ok { 3006 return x.IntentBatchInline 3007 } 3008 return nil 3009} 3010 3011func (m *BatchUpdateIntentsRequest) GetLanguageCode() string { 3012 if m != nil { 3013 return m.LanguageCode 3014 } 3015 return "" 3016} 3017 3018func (m *BatchUpdateIntentsRequest) GetUpdateMask() *field_mask.FieldMask { 3019 if m != nil { 3020 return m.UpdateMask 3021 } 3022 return nil 3023} 3024 3025func (m *BatchUpdateIntentsRequest) GetIntentView() IntentView { 3026 if m != nil { 3027 return m.IntentView 3028 } 3029 return IntentView_INTENT_VIEW_UNSPECIFIED 3030} 3031 3032// XXX_OneofFuncs is for the internal use of the proto package. 3033func (*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{}) { 3034 return _BatchUpdateIntentsRequest_OneofMarshaler, _BatchUpdateIntentsRequest_OneofUnmarshaler, _BatchUpdateIntentsRequest_OneofSizer, []interface{}{ 3035 (*BatchUpdateIntentsRequest_IntentBatchUri)(nil), 3036 (*BatchUpdateIntentsRequest_IntentBatchInline)(nil), 3037 } 3038} 3039 3040func _BatchUpdateIntentsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { 3041 m := msg.(*BatchUpdateIntentsRequest) 3042 // intent_batch 3043 switch x := m.IntentBatch.(type) { 3044 case *BatchUpdateIntentsRequest_IntentBatchUri: 3045 b.EncodeVarint(2<<3 | proto.WireBytes) 3046 b.EncodeStringBytes(x.IntentBatchUri) 3047 case *BatchUpdateIntentsRequest_IntentBatchInline: 3048 b.EncodeVarint(3<<3 | proto.WireBytes) 3049 if err := b.EncodeMessage(x.IntentBatchInline); err != nil { 3050 return err 3051 } 3052 case nil: 3053 default: 3054 return fmt.Errorf("BatchUpdateIntentsRequest.IntentBatch has unexpected type %T", x) 3055 } 3056 return nil 3057} 3058 3059func _BatchUpdateIntentsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { 3060 m := msg.(*BatchUpdateIntentsRequest) 3061 switch tag { 3062 case 2: // intent_batch.intent_batch_uri 3063 if wire != proto.WireBytes { 3064 return true, proto.ErrInternalBadWireType 3065 } 3066 x, err := b.DecodeStringBytes() 3067 m.IntentBatch = &BatchUpdateIntentsRequest_IntentBatchUri{x} 3068 return true, err 3069 case 3: // intent_batch.intent_batch_inline 3070 if wire != proto.WireBytes { 3071 return true, proto.ErrInternalBadWireType 3072 } 3073 msg := new(IntentBatch) 3074 err := b.DecodeMessage(msg) 3075 m.IntentBatch = &BatchUpdateIntentsRequest_IntentBatchInline{msg} 3076 return true, err 3077 default: 3078 return false, nil 3079 } 3080} 3081 3082func _BatchUpdateIntentsRequest_OneofSizer(msg proto.Message) (n int) { 3083 m := msg.(*BatchUpdateIntentsRequest) 3084 // intent_batch 3085 switch x := m.IntentBatch.(type) { 3086 case *BatchUpdateIntentsRequest_IntentBatchUri: 3087 n += 1 // tag and wire 3088 n += proto.SizeVarint(uint64(len(x.IntentBatchUri))) 3089 n += len(x.IntentBatchUri) 3090 case *BatchUpdateIntentsRequest_IntentBatchInline: 3091 s := proto.Size(x.IntentBatchInline) 3092 n += 1 // tag and wire 3093 n += proto.SizeVarint(uint64(s)) 3094 n += s 3095 case nil: 3096 default: 3097 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) 3098 } 3099 return n 3100} 3101 3102// The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]. 3103type BatchUpdateIntentsResponse struct { 3104 // The collection of updated or created intents. 3105 Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` 3106 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3107 XXX_unrecognized []byte `json:"-"` 3108 XXX_sizecache int32 `json:"-"` 3109} 3110 3111func (m *BatchUpdateIntentsResponse) Reset() { *m = BatchUpdateIntentsResponse{} } 3112func (m *BatchUpdateIntentsResponse) String() string { return proto.CompactTextString(m) } 3113func (*BatchUpdateIntentsResponse) ProtoMessage() {} 3114func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int) { 3115 return fileDescriptor_intent_ceca89a12cc28578, []int{8} 3116} 3117func (m *BatchUpdateIntentsResponse) XXX_Unmarshal(b []byte) error { 3118 return xxx_messageInfo_BatchUpdateIntentsResponse.Unmarshal(m, b) 3119} 3120func (m *BatchUpdateIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3121 return xxx_messageInfo_BatchUpdateIntentsResponse.Marshal(b, m, deterministic) 3122} 3123func (dst *BatchUpdateIntentsResponse) XXX_Merge(src proto.Message) { 3124 xxx_messageInfo_BatchUpdateIntentsResponse.Merge(dst, src) 3125} 3126func (m *BatchUpdateIntentsResponse) XXX_Size() int { 3127 return xxx_messageInfo_BatchUpdateIntentsResponse.Size(m) 3128} 3129func (m *BatchUpdateIntentsResponse) XXX_DiscardUnknown() { 3130 xxx_messageInfo_BatchUpdateIntentsResponse.DiscardUnknown(m) 3131} 3132 3133var xxx_messageInfo_BatchUpdateIntentsResponse proto.InternalMessageInfo 3134 3135func (m *BatchUpdateIntentsResponse) GetIntents() []*Intent { 3136 if m != nil { 3137 return m.Intents 3138 } 3139 return nil 3140} 3141 3142// The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents]. 3143type BatchDeleteIntentsRequest struct { 3144 // Required. The name of the agent to delete all entities types for. Format: 3145 // `projects/<Project ID>/agent`. 3146 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 3147 // Required. The collection of intents to delete. Only intent `name` must be 3148 // filled in. 3149 Intents []*Intent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"` 3150 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3151 XXX_unrecognized []byte `json:"-"` 3152 XXX_sizecache int32 `json:"-"` 3153} 3154 3155func (m *BatchDeleteIntentsRequest) Reset() { *m = BatchDeleteIntentsRequest{} } 3156func (m *BatchDeleteIntentsRequest) String() string { return proto.CompactTextString(m) } 3157func (*BatchDeleteIntentsRequest) ProtoMessage() {} 3158func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int) { 3159 return fileDescriptor_intent_ceca89a12cc28578, []int{9} 3160} 3161func (m *BatchDeleteIntentsRequest) XXX_Unmarshal(b []byte) error { 3162 return xxx_messageInfo_BatchDeleteIntentsRequest.Unmarshal(m, b) 3163} 3164func (m *BatchDeleteIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3165 return xxx_messageInfo_BatchDeleteIntentsRequest.Marshal(b, m, deterministic) 3166} 3167func (dst *BatchDeleteIntentsRequest) XXX_Merge(src proto.Message) { 3168 xxx_messageInfo_BatchDeleteIntentsRequest.Merge(dst, src) 3169} 3170func (m *BatchDeleteIntentsRequest) XXX_Size() int { 3171 return xxx_messageInfo_BatchDeleteIntentsRequest.Size(m) 3172} 3173func (m *BatchDeleteIntentsRequest) XXX_DiscardUnknown() { 3174 xxx_messageInfo_BatchDeleteIntentsRequest.DiscardUnknown(m) 3175} 3176 3177var xxx_messageInfo_BatchDeleteIntentsRequest proto.InternalMessageInfo 3178 3179func (m *BatchDeleteIntentsRequest) GetParent() string { 3180 if m != nil { 3181 return m.Parent 3182 } 3183 return "" 3184} 3185 3186func (m *BatchDeleteIntentsRequest) GetIntents() []*Intent { 3187 if m != nil { 3188 return m.Intents 3189 } 3190 return nil 3191} 3192 3193// This message is a wrapper around a collection of intents. 3194type IntentBatch struct { 3195 // A collection of intents. 3196 Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` 3197 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3198 XXX_unrecognized []byte `json:"-"` 3199 XXX_sizecache int32 `json:"-"` 3200} 3201 3202func (m *IntentBatch) Reset() { *m = IntentBatch{} } 3203func (m *IntentBatch) String() string { return proto.CompactTextString(m) } 3204func (*IntentBatch) ProtoMessage() {} 3205func (*IntentBatch) Descriptor() ([]byte, []int) { 3206 return fileDescriptor_intent_ceca89a12cc28578, []int{10} 3207} 3208func (m *IntentBatch) XXX_Unmarshal(b []byte) error { 3209 return xxx_messageInfo_IntentBatch.Unmarshal(m, b) 3210} 3211func (m *IntentBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3212 return xxx_messageInfo_IntentBatch.Marshal(b, m, deterministic) 3213} 3214func (dst *IntentBatch) XXX_Merge(src proto.Message) { 3215 xxx_messageInfo_IntentBatch.Merge(dst, src) 3216} 3217func (m *IntentBatch) XXX_Size() int { 3218 return xxx_messageInfo_IntentBatch.Size(m) 3219} 3220func (m *IntentBatch) XXX_DiscardUnknown() { 3221 xxx_messageInfo_IntentBatch.DiscardUnknown(m) 3222} 3223 3224var xxx_messageInfo_IntentBatch proto.InternalMessageInfo 3225 3226func (m *IntentBatch) GetIntents() []*Intent { 3227 if m != nil { 3228 return m.Intents 3229 } 3230 return nil 3231} 3232 3233func init() { 3234 proto.RegisterType((*Intent)(nil), "google.cloud.dialogflow.v2beta1.Intent") 3235 proto.RegisterType((*Intent_TrainingPhrase)(nil), "google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase") 3236 proto.RegisterType((*Intent_TrainingPhrase_Part)(nil), "google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part") 3237 proto.RegisterType((*Intent_Parameter)(nil), "google.cloud.dialogflow.v2beta1.Intent.Parameter") 3238 proto.RegisterType((*Intent_Message)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message") 3239 proto.RegisterType((*Intent_Message_Text)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Text") 3240 proto.RegisterType((*Intent_Message_Image)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Image") 3241 proto.RegisterType((*Intent_Message_QuickReplies)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies") 3242 proto.RegisterType((*Intent_Message_Card)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Card") 3243 proto.RegisterType((*Intent_Message_Card_Button)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button") 3244 proto.RegisterType((*Intent_Message_SimpleResponse)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse") 3245 proto.RegisterType((*Intent_Message_SimpleResponses)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses") 3246 proto.RegisterType((*Intent_Message_BasicCard)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard") 3247 proto.RegisterType((*Intent_Message_BasicCard_Button)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button") 3248 proto.RegisterType((*Intent_Message_BasicCard_Button_OpenUriAction)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction") 3249 proto.RegisterType((*Intent_Message_Suggestion)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion") 3250 proto.RegisterType((*Intent_Message_Suggestions)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions") 3251 proto.RegisterType((*Intent_Message_LinkOutSuggestion)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion") 3252 proto.RegisterType((*Intent_Message_ListSelect)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect") 3253 proto.RegisterType((*Intent_Message_ListSelect_Item)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item") 3254 proto.RegisterType((*Intent_Message_CarouselSelect)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect") 3255 proto.RegisterType((*Intent_Message_CarouselSelect_Item)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item") 3256 proto.RegisterType((*Intent_Message_SelectItemInfo)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo") 3257 proto.RegisterType((*Intent_Message_TelephonyPlayAudio)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio") 3258 proto.RegisterType((*Intent_Message_TelephonySynthesizeSpeech)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech") 3259 proto.RegisterType((*Intent_Message_TelephonyTransferCall)(nil), "google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall") 3260 proto.RegisterType((*Intent_FollowupIntentInfo)(nil), "google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo") 3261 proto.RegisterType((*ListIntentsRequest)(nil), "google.cloud.dialogflow.v2beta1.ListIntentsRequest") 3262 proto.RegisterType((*ListIntentsResponse)(nil), "google.cloud.dialogflow.v2beta1.ListIntentsResponse") 3263 proto.RegisterType((*GetIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.GetIntentRequest") 3264 proto.RegisterType((*CreateIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.CreateIntentRequest") 3265 proto.RegisterType((*UpdateIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.UpdateIntentRequest") 3266 proto.RegisterType((*DeleteIntentRequest)(nil), "google.cloud.dialogflow.v2beta1.DeleteIntentRequest") 3267 proto.RegisterType((*BatchUpdateIntentsRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest") 3268 proto.RegisterType((*BatchUpdateIntentsResponse)(nil), "google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse") 3269 proto.RegisterType((*BatchDeleteIntentsRequest)(nil), "google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest") 3270 proto.RegisterType((*IntentBatch)(nil), "google.cloud.dialogflow.v2beta1.IntentBatch") 3271 proto.RegisterEnum("google.cloud.dialogflow.v2beta1.IntentView", IntentView_name, IntentView_value) 3272 proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_WebhookState", Intent_WebhookState_name, Intent_WebhookState_value) 3273 proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_TrainingPhrase_Type", Intent_TrainingPhrase_Type_name, Intent_TrainingPhrase_Type_value) 3274 proto.RegisterEnum("google.cloud.dialogflow.v2beta1.Intent_Message_Platform", Intent_Message_Platform_name, Intent_Message_Platform_value) 3275} 3276 3277// Reference imports to suppress errors if they are not otherwise used. 3278var _ context.Context 3279var _ grpc.ClientConn 3280 3281// This is a compile-time assertion to ensure that this generated file 3282// is compatible with the grpc package it is being compiled against. 3283const _ = grpc.SupportPackageIsVersion4 3284 3285// IntentsClient is the client API for Intents service. 3286// 3287// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 3288type IntentsClient interface { 3289 // Returns the list of all intents in the specified agent. 3290 ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) 3291 // Retrieves the specified intent. 3292 GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) 3293 // Creates an intent in the specified agent. 3294 CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 3295 // Updates the specified intent. 3296 UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) 3297 // Deletes the specified intent. 3298 DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) 3299 // Updates/Creates multiple intents in the specified agent. 3300 // 3301 // Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse]> 3302 BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 3303 // Deletes intents in the specified agent. 3304 // 3305 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 3306 BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 3307} 3308 3309type intentsClient struct { 3310 cc *grpc.ClientConn 3311} 3312 3313func NewIntentsClient(cc *grpc.ClientConn) IntentsClient { 3314 return &intentsClient{cc} 3315} 3316 3317func (c *intentsClient) ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) { 3318 out := new(ListIntentsResponse) 3319 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/ListIntents", in, out, opts...) 3320 if err != nil { 3321 return nil, err 3322 } 3323 return out, nil 3324} 3325 3326func (c *intentsClient) GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 3327 out := new(Intent) 3328 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/GetIntent", in, out, opts...) 3329 if err != nil { 3330 return nil, err 3331 } 3332 return out, nil 3333} 3334 3335func (c *intentsClient) CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 3336 out := new(Intent) 3337 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/CreateIntent", in, out, opts...) 3338 if err != nil { 3339 return nil, err 3340 } 3341 return out, nil 3342} 3343 3344func (c *intentsClient) UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) { 3345 out := new(Intent) 3346 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/UpdateIntent", in, out, opts...) 3347 if err != nil { 3348 return nil, err 3349 } 3350 return out, nil 3351} 3352 3353func (c *intentsClient) DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { 3354 out := new(empty.Empty) 3355 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/DeleteIntent", in, out, opts...) 3356 if err != nil { 3357 return nil, err 3358 } 3359 return out, nil 3360} 3361 3362func (c *intentsClient) BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 3363 out := new(longrunning.Operation) 3364 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/BatchUpdateIntents", in, out, opts...) 3365 if err != nil { 3366 return nil, err 3367 } 3368 return out, nil 3369} 3370 3371func (c *intentsClient) BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 3372 out := new(longrunning.Operation) 3373 err := c.cc.Invoke(ctx, "/google.cloud.dialogflow.v2beta1.Intents/BatchDeleteIntents", in, out, opts...) 3374 if err != nil { 3375 return nil, err 3376 } 3377 return out, nil 3378} 3379 3380// IntentsServer is the server API for Intents service. 3381type IntentsServer interface { 3382 // Returns the list of all intents in the specified agent. 3383 ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) 3384 // Retrieves the specified intent. 3385 GetIntent(context.Context, *GetIntentRequest) (*Intent, error) 3386 // Creates an intent in the specified agent. 3387 CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) 3388 // Updates the specified intent. 3389 UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) 3390 // Deletes the specified intent. 3391 DeleteIntent(context.Context, *DeleteIntentRequest) (*empty.Empty, error) 3392 // Updates/Creates multiple intents in the specified agent. 3393 // 3394 // Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse]> 3395 BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*longrunning.Operation, error) 3396 // Deletes intents in the specified agent. 3397 // 3398 // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]> 3399 BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*longrunning.Operation, error) 3400} 3401 3402func RegisterIntentsServer(s *grpc.Server, srv IntentsServer) { 3403 s.RegisterService(&_Intents_serviceDesc, srv) 3404} 3405 3406func _Intents_ListIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3407 in := new(ListIntentsRequest) 3408 if err := dec(in); err != nil { 3409 return nil, err 3410 } 3411 if interceptor == nil { 3412 return srv.(IntentsServer).ListIntents(ctx, in) 3413 } 3414 info := &grpc.UnaryServerInfo{ 3415 Server: srv, 3416 FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/ListIntents", 3417 } 3418 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3419 return srv.(IntentsServer).ListIntents(ctx, req.(*ListIntentsRequest)) 3420 } 3421 return interceptor(ctx, in, info, handler) 3422} 3423 3424func _Intents_GetIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3425 in := new(GetIntentRequest) 3426 if err := dec(in); err != nil { 3427 return nil, err 3428 } 3429 if interceptor == nil { 3430 return srv.(IntentsServer).GetIntent(ctx, in) 3431 } 3432 info := &grpc.UnaryServerInfo{ 3433 Server: srv, 3434 FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/GetIntent", 3435 } 3436 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3437 return srv.(IntentsServer).GetIntent(ctx, req.(*GetIntentRequest)) 3438 } 3439 return interceptor(ctx, in, info, handler) 3440} 3441 3442func _Intents_CreateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3443 in := new(CreateIntentRequest) 3444 if err := dec(in); err != nil { 3445 return nil, err 3446 } 3447 if interceptor == nil { 3448 return srv.(IntentsServer).CreateIntent(ctx, in) 3449 } 3450 info := &grpc.UnaryServerInfo{ 3451 Server: srv, 3452 FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/CreateIntent", 3453 } 3454 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3455 return srv.(IntentsServer).CreateIntent(ctx, req.(*CreateIntentRequest)) 3456 } 3457 return interceptor(ctx, in, info, handler) 3458} 3459 3460func _Intents_UpdateIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3461 in := new(UpdateIntentRequest) 3462 if err := dec(in); err != nil { 3463 return nil, err 3464 } 3465 if interceptor == nil { 3466 return srv.(IntentsServer).UpdateIntent(ctx, in) 3467 } 3468 info := &grpc.UnaryServerInfo{ 3469 Server: srv, 3470 FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/UpdateIntent", 3471 } 3472 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3473 return srv.(IntentsServer).UpdateIntent(ctx, req.(*UpdateIntentRequest)) 3474 } 3475 return interceptor(ctx, in, info, handler) 3476} 3477 3478func _Intents_DeleteIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3479 in := new(DeleteIntentRequest) 3480 if err := dec(in); err != nil { 3481 return nil, err 3482 } 3483 if interceptor == nil { 3484 return srv.(IntentsServer).DeleteIntent(ctx, in) 3485 } 3486 info := &grpc.UnaryServerInfo{ 3487 Server: srv, 3488 FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/DeleteIntent", 3489 } 3490 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3491 return srv.(IntentsServer).DeleteIntent(ctx, req.(*DeleteIntentRequest)) 3492 } 3493 return interceptor(ctx, in, info, handler) 3494} 3495 3496func _Intents_BatchUpdateIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3497 in := new(BatchUpdateIntentsRequest) 3498 if err := dec(in); err != nil { 3499 return nil, err 3500 } 3501 if interceptor == nil { 3502 return srv.(IntentsServer).BatchUpdateIntents(ctx, in) 3503 } 3504 info := &grpc.UnaryServerInfo{ 3505 Server: srv, 3506 FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/BatchUpdateIntents", 3507 } 3508 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3509 return srv.(IntentsServer).BatchUpdateIntents(ctx, req.(*BatchUpdateIntentsRequest)) 3510 } 3511 return interceptor(ctx, in, info, handler) 3512} 3513 3514func _Intents_BatchDeleteIntents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3515 in := new(BatchDeleteIntentsRequest) 3516 if err := dec(in); err != nil { 3517 return nil, err 3518 } 3519 if interceptor == nil { 3520 return srv.(IntentsServer).BatchDeleteIntents(ctx, in) 3521 } 3522 info := &grpc.UnaryServerInfo{ 3523 Server: srv, 3524 FullMethod: "/google.cloud.dialogflow.v2beta1.Intents/BatchDeleteIntents", 3525 } 3526 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3527 return srv.(IntentsServer).BatchDeleteIntents(ctx, req.(*BatchDeleteIntentsRequest)) 3528 } 3529 return interceptor(ctx, in, info, handler) 3530} 3531 3532var _Intents_serviceDesc = grpc.ServiceDesc{ 3533 ServiceName: "google.cloud.dialogflow.v2beta1.Intents", 3534 HandlerType: (*IntentsServer)(nil), 3535 Methods: []grpc.MethodDesc{ 3536 { 3537 MethodName: "ListIntents", 3538 Handler: _Intents_ListIntents_Handler, 3539 }, 3540 { 3541 MethodName: "GetIntent", 3542 Handler: _Intents_GetIntent_Handler, 3543 }, 3544 { 3545 MethodName: "CreateIntent", 3546 Handler: _Intents_CreateIntent_Handler, 3547 }, 3548 { 3549 MethodName: "UpdateIntent", 3550 Handler: _Intents_UpdateIntent_Handler, 3551 }, 3552 { 3553 MethodName: "DeleteIntent", 3554 Handler: _Intents_DeleteIntent_Handler, 3555 }, 3556 { 3557 MethodName: "BatchUpdateIntents", 3558 Handler: _Intents_BatchUpdateIntents_Handler, 3559 }, 3560 { 3561 MethodName: "BatchDeleteIntents", 3562 Handler: _Intents_BatchDeleteIntents_Handler, 3563 }, 3564 }, 3565 Streams: []grpc.StreamDesc{}, 3566 Metadata: "google/cloud/dialogflow/v2beta1/intent.proto", 3567} 3568 3569func init() { 3570 proto.RegisterFile("google/cloud/dialogflow/v2beta1/intent.proto", fileDescriptor_intent_ceca89a12cc28578) 3571} 3572 3573var fileDescriptor_intent_ceca89a12cc28578 = []byte{ 3574 // 2808 bytes of a gzipped FileDescriptorProto 3575 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0xcf, 0x73, 0x23, 0x47, 3576 0xf5, 0xf7, 0xe8, 0x87, 0x2d, 0x3d, 0xc9, 0xb2, 0xdc, 0xf6, 0xee, 0xce, 0xce, 0x26, 0xdf, 0x38, 3577 0xca, 0x37, 0x89, 0x63, 0x12, 0x89, 0x75, 0x42, 0x7e, 0x78, 0x49, 0x82, 0x64, 0xcb, 0x2b, 0x61, 3578 0xd9, 0xd2, 0x8e, 0xe4, 0x0d, 0x9b, 0x02, 0xa6, 0x46, 0x52, 0x5b, 0x3b, 0x78, 0x34, 0x33, 0x3b, 3579 0xdd, 0xf2, 0x46, 0x81, 0x14, 0x14, 0x55, 0xc0, 0x81, 0x0b, 0x55, 0x9c, 0xf8, 0x71, 0x82, 0x53, 3580 0x28, 0x0e, 0x54, 0x6e, 0xfc, 0x09, 0x1c, 0x38, 0x71, 0xcc, 0x81, 0xa2, 0x8a, 0xe2, 0xc0, 0x5f, 3581 0xc0, 0x0d, 0xaa, 0x7b, 0x7a, 0xa4, 0x91, 0xa5, 0x45, 0x3f, 0xbc, 0x70, 0xe1, 0x36, 0xfd, 0xfa, 3582 0xf5, 0xe7, 0xfd, 0xea, 0x7e, 0xef, 0x75, 0x4b, 0xf0, 0x6a, 0xc7, 0xb6, 0x3b, 0x26, 0xce, 0xb5, 3583 0x4c, 0xbb, 0xd7, 0xce, 0xb5, 0x0d, 0xdd, 0xb4, 0x3b, 0x67, 0xa6, 0xfd, 0x38, 0x77, 0xb1, 0xdb, 3584 0xc4, 0x54, 0xbf, 0x9d, 0x33, 0x2c, 0x8a, 0x2d, 0x9a, 0x75, 0x5c, 0x9b, 0xda, 0xe8, 0x39, 0x8f, 3585 0x3b, 0xcb, 0xb9, 0xb3, 0x43, 0xee, 0xac, 0xe0, 0x56, 0x9e, 0x11, 0x70, 0xba, 0x63, 0xe4, 0x74, 3586 0xcb, 0xb2, 0xa9, 0x4e, 0x0d, 0xdb, 0x22, 0xde, 0x72, 0xe5, 0xb5, 0x69, 0xc2, 0x5a, 0xb6, 0x45, 3587 0xf1, 0x47, 0x42, 0x9a, 0xf2, 0x82, 0x60, 0x37, 0x6d, 0xab, 0xe3, 0xf6, 0x2c, 0xcb, 0xb0, 0x3a, 3588 0x39, 0xdb, 0xc1, 0xee, 0x08, 0xe6, 0x2d, 0xc1, 0xc4, 0x47, 0xcd, 0xde, 0x59, 0x0e, 0x77, 0x1d, 3589 0xda, 0x17, 0x93, 0x5b, 0x97, 0x27, 0xcf, 0x0c, 0x6c, 0xb6, 0xb5, 0xae, 0x4e, 0xce, 0x05, 0xc7, 3590 0x33, 0x97, 0x39, 0x08, 0x75, 0x7b, 0x2d, 0xa1, 0x41, 0xe6, 0x97, 0x39, 0x58, 0x2e, 0x73, 0x07, 3591 0x20, 0x04, 0x11, 0x4b, 0xef, 0x62, 0x59, 0xda, 0x92, 0xb6, 0xe3, 0x2a, 0xff, 0x46, 0xcf, 0x43, 3592 0xb2, 0x6d, 0x10, 0xc7, 0xd4, 0xfb, 0x1a, 0x9f, 0x0b, 0xf1, 0xb9, 0x84, 0xa0, 0x9d, 0x30, 0x96, 3593 0x07, 0xb0, 0xfa, 0x18, 0x37, 0x1f, 0xda, 0xf6, 0xb9, 0x46, 0xa8, 0x4e, 0xb1, 0xbc, 0xbc, 0x25, 3594 0x6d, 0xa7, 0x76, 0xdf, 0xc8, 0x4e, 0xf1, 0x64, 0xd6, 0x13, 0x9b, 0xfd, 0xc0, 0x5b, 0x5c, 0x67, 3595 0x6b, 0xd5, 0xe4, 0xe3, 0xc0, 0x08, 0x29, 0x10, 0x73, 0x5c, 0xc3, 0x76, 0x0d, 0xda, 0x97, 0xc3, 3596 0x5b, 0xd2, 0x76, 0x54, 0x1d, 0x8c, 0xd1, 0x73, 0x90, 0x30, 0x88, 0x76, 0xa6, 0x9b, 0x66, 0x53, 3597 0x6f, 0x9d, 0xcb, 0x91, 0x2d, 0x69, 0x3b, 0xa6, 0x82, 0x41, 0x0e, 0x05, 0x05, 0x3d, 0x0f, 0xd0, 3598 0x35, 0x35, 0x6c, 0xe9, 0x4d, 0x13, 0xb7, 0xe5, 0x28, 0x9b, 0x2f, 0x84, 0x64, 0x49, 0x8d, 0x77, 3599 0xcd, 0xa2, 0x47, 0x64, 0x18, 0x5d, 0x53, 0x6b, 0x1b, 0xc4, 0xe3, 0xd9, 0xf0, 0x30, 0xba, 0xe6, 3600 0x81, 0xa0, 0xa0, 0x97, 0x61, 0x0d, 0x5b, 0x6d, 0x8d, 0xed, 0x10, 0x57, 0x6f, 0xb1, 0xa0, 0xc8, 3601 0xd7, 0x38, 0x53, 0x0a, 0x5b, 0xed, 0xf2, 0x90, 0x8a, 0xb2, 0xb0, 0x61, 0x58, 0x4e, 0x8f, 0x6a, 3602 0x22, 0xbe, 0xdc, 0x5b, 0x44, 0x5e, 0xd9, 0x0a, 0x6f, 0xc7, 0xd5, 0x75, 0x3e, 0xb5, 0xef, 0xcd, 3603 0x30, 0x9f, 0x11, 0x74, 0x1d, 0x96, 0xf1, 0x05, 0xb6, 0x28, 0x91, 0x63, 0x9c, 0x45, 0x8c, 0x90, 3604 0x0e, 0x69, 0xea, 0xea, 0x06, 0xdb, 0x08, 0x9a, 0xf3, 0xd0, 0xd5, 0x09, 0x26, 0x72, 0x7c, 0x2b, 3605 0xbc, 0x9d, 0xd8, 0x7d, 0x73, 0x56, 0x7f, 0x36, 0xc4, 0xfa, 0x1a, 0x5f, 0xae, 0xae, 0xd1, 0x91, 3606 0x31, 0x17, 0x2d, 0x4c, 0x01, 0x1e, 0x4c, 0x31, 0x42, 0xf7, 0x60, 0xcd, 0xee, 0xd1, 0x80, 0x0d, 3607 0x44, 0x4e, 0x70, 0xc9, 0xdb, 0x53, 0x25, 0x0b, 0xd3, 0xd4, 0x94, 0x07, 0x20, 0x86, 0x04, 0xbd, 3608 0x08, 0x29, 0x17, 0x13, 0x1c, 0x40, 0x4c, 0x72, 0xef, 0xad, 0x72, 0xea, 0x80, 0xed, 0x1e, 0x80, 3609 0xa3, 0xbb, 0x7a, 0x17, 0x53, 0xec, 0x12, 0x79, 0x95, 0x0b, 0xbd, 0x3d, 0xab, 0xb9, 0x35, 0x7f, 3610 0xa5, 0x1a, 0x00, 0x41, 0x47, 0x10, 0xeb, 0x62, 0x42, 0xf4, 0x0e, 0x26, 0x72, 0x8a, 0x03, 0xe6, 3611 0x66, 0x05, 0x3c, 0xf6, 0xd6, 0xa9, 0x03, 0x00, 0x74, 0x01, 0x4a, 0x1b, 0x9f, 0xe9, 0x3d, 0x93, 3612 0x6a, 0x2e, 0x26, 0x8e, 0x6d, 0x11, 0xac, 0x39, 0xa6, 0x4e, 0xcf, 0x6c, 0xb7, 0x4b, 0xe4, 0xb5, 3613 0xad, 0xf0, 0x76, 0x6a, 0xf7, 0xed, 0x39, 0xe1, 0xb3, 0x35, 0x01, 0xa0, 0xca, 0x02, 0x5b, 0x15, 3614 0xd0, 0xfe, 0x04, 0x41, 0xef, 0xc0, 0x4d, 0xd7, 0xb6, 0xa9, 0x76, 0x66, 0x9b, 0xa6, 0xfd, 0xb8, 3615 0xe7, 0x68, 0x5e, 0xa6, 0xf2, 0x4e, 0x62, 0x9a, 0x07, 0xef, 0x3a, 0x63, 0x38, 0x14, 0xf3, 0x9e, 3616 0x04, 0x7e, 0x28, 0xdf, 0x85, 0x5b, 0x8e, 0xee, 0x32, 0xe6, 0x89, 0x8b, 0xd7, 0xf9, 0x62, 0xd9, 3617 0x63, 0x99, 0xb0, 0xdc, 0x84, 0xcd, 0xcb, 0xeb, 0x0c, 0xeb, 0xcc, 0x96, 0x11, 0x77, 0xe5, 0xde, 3618 0xac, 0xb6, 0x8e, 0x22, 0x97, 0xad, 0x33, 0x5b, 0x45, 0x67, 0x63, 0x34, 0xe5, 0xd7, 0x61, 0x48, 3619 0x8d, 0xee, 0xda, 0x89, 0xb9, 0xa8, 0x0a, 0x11, 0xda, 0x77, 0xbc, 0x1c, 0x94, 0xda, 0xbd, 0xb3, 3620 0xd8, 0x79, 0xc8, 0x36, 0xfa, 0x0e, 0x56, 0x39, 0x10, 0xba, 0x07, 0x51, 0x47, 0x77, 0x29, 0x91, 3621 0xc3, 0xdc, 0xac, 0x45, 0x11, 0x6b, 0xba, 0x4b, 0x55, 0x0f, 0x09, 0xed, 0xc0, 0x3a, 0x35, 0xba, 3622 0x98, 0x68, 0x7a, 0xbb, 0x8d, 0xdb, 0x5a, 0xcb, 0xee, 0x59, 0x94, 0xe7, 0xa6, 0xa8, 0xba, 0xc6, 3623 0x27, 0xf2, 0x8c, 0xbe, 0xcf, 0xc8, 0x0a, 0x85, 0x08, 0x5b, 0xca, 0x6c, 0x65, 0xe7, 0xc0, 0xb7, 3624 0x95, 0x7d, 0xb3, 0xcc, 0x84, 0x2d, 0x6a, 0xd0, 0xbe, 0x36, 0x30, 0x39, 0xae, 0x82, 0x47, 0x62, 3625 0x16, 0xa0, 0x4d, 0x88, 0xea, 0xa6, 0xa1, 0x13, 0x9e, 0x17, 0xe3, 0xaa, 0x37, 0x60, 0xe9, 0xba, 3626 0x47, 0xb0, 0xab, 0xb5, 0xf1, 0x99, 0x61, 0xe1, 0xb6, 0xc8, 0x8a, 0x09, 0x46, 0x3b, 0xf0, 0x48, 3627 0x99, 0xb7, 0x20, 0x22, 0x00, 0xd2, 0x8d, 0x07, 0xb5, 0xa2, 0x76, 0x7a, 0x52, 0xaf, 0x15, 0xf7, 3628 0xcb, 0x87, 0xe5, 0xe2, 0x41, 0x7a, 0x09, 0x25, 0x60, 0xa5, 0xf8, 0xb5, 0xfc, 0x71, 0xad, 0x52, 3629 0x4c, 0x4b, 0x28, 0x09, 0xb1, 0x46, 0xf1, 0xb8, 0x56, 0xc9, 0x37, 0x8a, 0xe9, 0x90, 0xf2, 0xa3, 3630 0x10, 0xc4, 0x07, 0x87, 0x6d, 0xd1, 0x62, 0xb1, 0x09, 0xd1, 0x0b, 0xdd, 0xec, 0x61, 0x5f, 0x6d, 3631 0x3e, 0x40, 0x2f, 0xc0, 0xaa, 0x7f, 0xc0, 0xbc, 0xd9, 0x08, 0x9f, 0x4d, 0x0a, 0xe2, 0x7d, 0xce, 3632 0xf4, 0x16, 0xc8, 0x01, 0x97, 0x68, 0x23, 0x92, 0xa2, 0x9c, 0xff, 0xda, 0xd0, 0x3f, 0x07, 0x01, 3633 0x99, 0xcf, 0x40, 0xbc, 0xab, 0x5b, 0x6d, 0x9d, 0xda, 0x6e, 0x9f, 0x17, 0xa7, 0x98, 0x3a, 0x24, 3634 0x20, 0x19, 0x56, 0x1c, 0xd7, 0xee, 0x3a, 0xd4, 0xcf, 0xd6, 0xfe, 0x10, 0xdd, 0x80, 0x15, 0x83, 3635 0x68, 0xa6, 0x41, 0xa8, 0x1c, 0xe3, 0xab, 0x96, 0x0d, 0x52, 0x31, 0x08, 0x55, 0xfe, 0xfe, 0x7f, 3636 0xb0, 0x22, 0x8e, 0x31, 0xfa, 0x6a, 0x20, 0x78, 0x89, 0xd9, 0x8b, 0x9e, 0x9f, 0x05, 0x1a, 0xf8, 3637 0x23, 0x5a, 0x5a, 0x12, 0x41, 0x3f, 0x86, 0xa8, 0xd1, 0xd5, 0x3b, 0x9e, 0xe3, 0x12, 0xbb, 0x5f, 3638 0x9a, 0x17, 0xac, 0xcc, 0x16, 0x97, 0x96, 0x54, 0x0f, 0x05, 0xb5, 0x60, 0xf5, 0x51, 0xcf, 0x68, 3639 0x9d, 0x6b, 0x2e, 0x76, 0x4c, 0x03, 0x7b, 0x5b, 0x25, 0xb1, 0xfb, 0xe5, 0x79, 0x61, 0xef, 0x31, 3640 0x10, 0xd5, 0xc3, 0x28, 0x2d, 0xa9, 0xc9, 0x47, 0x81, 0x31, 0xb3, 0xbf, 0xa5, 0xbb, 0xde, 0x4e, 3641 0x5b, 0xc0, 0xfe, 0x7d, 0xdd, 0x6d, 0x33, 0xfb, 0x19, 0x06, 0x7a, 0x1d, 0x56, 0x1c, 0xbd, 0x6f, 3642 0xda, 0xba, 0x57, 0xae, 0x13, 0xbb, 0x37, 0x7c, 0x38, 0xbf, 0x77, 0xc9, 0xd6, 0x79, 0xef, 0x52, 3643 0x5a, 0x52, 0x7d, 0x4e, 0x64, 0x42, 0x9a, 0x18, 0x5d, 0xc7, 0xc4, 0x83, 0xdc, 0xcc, 0x02, 0xc9, 3644 0x56, 0xbf, 0x3f, 0xaf, 0x32, 0x75, 0x8e, 0xe3, 0xe7, 0x61, 0x66, 0xeb, 0x1a, 0x19, 0x25, 0xa1, 3645 0x0f, 0x01, 0x9a, 0x3a, 0x31, 0x5a, 0x1a, 0x37, 0x3a, 0xc6, 0xe5, 0xbc, 0x33, 0xaf, 0x9c, 0x02, 3646 0x43, 0x10, 0x96, 0xc7, 0x9b, 0xfe, 0x00, 0x69, 0x90, 0x20, 0xbd, 0x4e, 0x07, 0x13, 0xde, 0xfc, 3647 0xc9, 0x71, 0x0e, 0x7e, 0x67, 0x6e, 0x23, 0x86, 0x10, 0xa5, 0x25, 0x35, 0x88, 0x88, 0x08, 0x6c, 3648 0x98, 0x86, 0x75, 0xae, 0xd9, 0x3d, 0xaa, 0x0d, 0xe9, 0xbc, 0x0d, 0x48, 0xec, 0xe6, 0xe7, 0x15, 3649 0x54, 0x31, 0xac, 0xf3, 0x6a, 0x8f, 0x0e, 0xe5, 0x95, 0x96, 0xd4, 0x75, 0xf3, 0x32, 0x11, 0x7d, 3650 0x03, 0x12, 0xec, 0x08, 0x69, 0x04, 0x9b, 0xb8, 0x45, 0xe5, 0x04, 0x17, 0xb6, 0x37, 0xbf, 0x30, 3651 0x42, 0xeb, 0x1c, 0xa1, 0xb4, 0xa4, 0x82, 0x39, 0x18, 0x21, 0x03, 0xd6, 0x5a, 0xba, 0x6b, 0xf7, 3652 0x08, 0x36, 0x7d, 0x11, 0x49, 0x2e, 0xe2, 0xbd, 0x05, 0xb6, 0x22, 0x87, 0x19, 0x88, 0x49, 0xb5, 3653 0x46, 0x28, 0xe8, 0x02, 0x36, 0x29, 0x36, 0xb1, 0xf3, 0xd0, 0xb6, 0xfa, 0x1a, 0xcf, 0x3d, 0x7a, 3654 0xaf, 0x6d, 0xd8, 0xf2, 0x2a, 0x97, 0x57, 0x98, 0xff, 0xe8, 0x0b, 0xac, 0x9a, 0xa9, 0xf7, 0xf3, 3655 0x0c, 0xa9, 0xb4, 0xa4, 0x22, 0x3a, 0x46, 0x45, 0x3f, 0x96, 0xe0, 0xd6, 0x50, 0x30, 0xe9, 0x5b, 3656 0xf4, 0x21, 0x26, 0xc6, 0xc7, 0x58, 0x23, 0x0e, 0xc6, 0xad, 0x87, 0x72, 0x8a, 0xcb, 0x2f, 0x2f, 3657 0x2c, 0xbf, 0x3e, 0x40, 0xac, 0x73, 0xc0, 0xd2, 0x92, 0x7a, 0x93, 0x3e, 0x69, 0x12, 0x7d, 0x17, 3658 0x6e, 0x0c, 0x95, 0xa1, 0xae, 0x6e, 0x91, 0x33, 0xec, 0x6a, 0x2d, 0xdd, 0x34, 0xe5, 0x35, 0xae, 3659 0x48, 0x71, 0x61, 0x45, 0x1a, 0x02, 0x6d, 0x5f, 0x37, 0xcd, 0xd2, 0x92, 0x7a, 0x8d, 0x4e, 0x9a, 3660 0x40, 0x0d, 0x88, 0xf9, 0xcd, 0x97, 0xb8, 0x6a, 0x2c, 0xde, 0x7b, 0x0d, 0x90, 0x14, 0x05, 0x22, 3661 0x2c, 0x17, 0x07, 0x8a, 0x71, 0xd8, 0x2f, 0xc6, 0x4a, 0x1d, 0xa2, 0x3c, 0xb5, 0xa2, 0x5b, 0x10, 3662 0xe7, 0xa9, 0x55, 0xeb, 0xb9, 0x86, 0xa8, 0x7c, 0x31, 0x4e, 0x38, 0x75, 0x0d, 0xf4, 0x1a, 0x20, 3663 0xbd, 0xd5, 0xc2, 0x84, 0x18, 0x4d, 0xc3, 0xe4, 0x65, 0x8a, 0xe1, 0x78, 0x35, 0x70, 0x7d, 0x64, 3664 0x86, 0x09, 0x52, 0xca, 0x90, 0x0c, 0x26, 0x56, 0x56, 0x19, 0xa9, 0x41, 0x4d, 0xbf, 0xa2, 0x7a, 3665 0x03, 0x56, 0x19, 0x47, 0x73, 0x78, 0x88, 0xeb, 0x35, 0x92, 0x83, 0x95, 0xbf, 0x49, 0x10, 0xe1, 3666 0x19, 0x64, 0x32, 0x86, 0x02, 0x31, 0xd2, 0x6b, 0x7a, 0x13, 0x9e, 0x3a, 0x83, 0xf1, 0xa8, 0x45, 3667 0xe1, 0x4b, 0x16, 0x9d, 0xc2, 0x4a, 0xb3, 0x47, 0x29, 0x4b, 0x46, 0x91, 0xf9, 0x3a, 0xa4, 0x60, 3668 0x7a, 0xcf, 0x16, 0x38, 0x86, 0xea, 0x63, 0x29, 0x6f, 0xc3, 0xb2, 0x47, 0x9a, 0xd8, 0xf9, 0xb0, 3669 0x3b, 0x9f, 0x4d, 0x28, 0xbf, 0xd4, 0x09, 0x6d, 0xfd, 0xb1, 0xd2, 0x85, 0xd4, 0x68, 0x8e, 0x46, 3670 0xff, 0x0f, 0x29, 0x7e, 0xdd, 0xa2, 0xb6, 0x7f, 0x1a, 0x3c, 0xac, 0x24, 0xa3, 0x36, 0x6c, 0xb1, 3671 0x67, 0x11, 0x44, 0x08, 0xe9, 0x9a, 0x02, 0x8f, 0x7f, 0x07, 0x9b, 0x15, 0xae, 0x43, 0x78, 0xa4, 3672 0x59, 0xe1, 0x21, 0xfa, 0x0e, 0xac, 0x5d, 0x2a, 0x09, 0xc8, 0x98, 0x50, 0x6d, 0x24, 0xee, 0x9b, 3673 0xf7, 0xae, 0x56, 0x6d, 0xc6, 0x4a, 0x8d, 0xf2, 0x87, 0x30, 0xc4, 0x07, 0x95, 0x62, 0x81, 0xd0, 3674 0xbe, 0x08, 0x29, 0xb6, 0xb3, 0x75, 0x4a, 0x71, 0x3b, 0x68, 0xe2, 0xea, 0x80, 0xca, 0x37, 0xfc, 3675 0x91, 0xdf, 0x74, 0x44, 0xae, 0xd0, 0x74, 0xf8, 0x2d, 0xc7, 0x87, 0xc3, 0x1d, 0x13, 0xe5, 0x5e, 3676 0xf9, 0xca, 0xc2, 0xb5, 0x71, 0x6c, 0xdb, 0xfc, 0x5e, 0x1a, 0xec, 0x9b, 0xc9, 0xce, 0xb8, 0x80, 3677 0x35, 0xdb, 0xc1, 0x16, 0xdb, 0xca, 0x9a, 0xb8, 0xe1, 0x7a, 0x8d, 0xd4, 0xc9, 0x55, 0x95, 0xc8, 3678 0x56, 0x1d, 0x6c, 0x9d, 0xba, 0x46, 0x9e, 0xa3, 0xaa, 0xab, 0x76, 0x70, 0xa8, 0x3c, 0x0f, 0xab, 3679 0x23, 0xf3, 0x28, 0x0d, 0xe1, 0x61, 0x82, 0x60, 0x9f, 0x4a, 0x06, 0x20, 0x50, 0x12, 0x27, 0xaa, 3680 0xaf, 0x9c, 0x43, 0x22, 0x50, 0xbb, 0xd1, 0xd7, 0x47, 0xbb, 0x01, 0x69, 0xbe, 0x9b, 0xd7, 0x78, 3681 0x37, 0x30, 0xd2, 0x0a, 0x28, 0x35, 0x58, 0x1f, 0xab, 0xdf, 0xe8, 0x15, 0x48, 0xb7, 0xd9, 0xa7, 3682 0xc5, 0x9f, 0x9f, 0xb4, 0x40, 0x7f, 0xbf, 0x16, 0xa0, 0xf3, 0x9e, 0x5a, 0x98, 0x18, 0x1a, 0x9a, 3683 0xf8, 0x79, 0x08, 0x60, 0x58, 0xa5, 0x9f, 0x10, 0xa2, 0x53, 0x88, 0x1a, 0x14, 0x77, 0xbd, 0x34, 3684 0xb6, 0x40, 0x87, 0x36, 0x14, 0x90, 0x2d, 0x53, 0xdc, 0x55, 0x3d, 0x34, 0xe5, 0xcf, 0x12, 0x44, 3685 0xd8, 0x18, 0xa9, 0x10, 0xe1, 0xf7, 0x54, 0x69, 0xb1, 0x16, 0xc0, 0x83, 0x66, 0x48, 0xfc, 0xae, 3686 0xca, 0xb1, 0x86, 0x96, 0x84, 0x82, 0x96, 0x6c, 0x41, 0xa2, 0x8d, 0x49, 0xcb, 0x35, 0x1c, 0xbe, 3687 0xd1, 0xfc, 0xec, 0x31, 0x24, 0x3d, 0xd5, 0x83, 0xa5, 0xfc, 0x31, 0x04, 0xa9, 0xd1, 0x06, 0x05, 3688 0x3d, 0xf0, 0x7d, 0xe9, 0x6d, 0x8d, 0xfd, 0xab, 0xf5, 0x3b, 0xff, 0x63, 0xfe, 0x7c, 0x0f, 0x52, 3689 0xa3, 0xca, 0xb1, 0x1d, 0x7d, 0x8e, 0xfb, 0xfe, 0xa1, 0x3d, 0xc7, 0x7d, 0x9e, 0x5c, 0xfb, 0x96, 3690 0x6d, 0xf5, 0xbb, 0x7e, 0xd9, 0x1d, 0x8c, 0x95, 0xdb, 0x80, 0xc6, 0xfb, 0x37, 0x56, 0x4d, 0x79, 3691 0x4b, 0x18, 0xec, 0x0f, 0x38, 0xe1, 0xd4, 0x35, 0x94, 0x7b, 0x70, 0xf3, 0x89, 0x2d, 0x17, 0xda, 3692 0x0c, 0x56, 0xc2, 0xc1, 0x85, 0x70, 0x33, 0x58, 0xb7, 0x18, 0x95, 0x8d, 0x0a, 0x31, 0x58, 0x26, 3693 0x76, 0xcf, 0x6d, 0x61, 0x65, 0x0f, 0xae, 0x4d, 0x6c, 0x9e, 0x58, 0x71, 0x63, 0x44, 0xac, 0x59, 3694 0xbd, 0x6e, 0x13, 0xbb, 0x42, 0x97, 0x04, 0xa7, 0x9d, 0x70, 0x52, 0xe6, 0xe7, 0x12, 0xc4, 0xfc, 3695 0x3e, 0x08, 0xc9, 0xb0, 0xc9, 0xae, 0xf9, 0x87, 0x55, 0xf5, 0xf8, 0xd2, 0x83, 0x40, 0x12, 0x62, 3696 0x87, 0xf9, 0xfd, 0x62, 0xa1, 0x5a, 0x3d, 0x4a, 0x4b, 0x28, 0x0e, 0xd1, 0x7a, 0x25, 0xbf, 0x7f, 3697 0x94, 0x0e, 0x79, 0x8f, 0x03, 0x95, 0xe2, 0x5d, 0x35, 0x7f, 0x9c, 0x0e, 0xa3, 0x15, 0x08, 0x1f, 3698 0x95, 0x8f, 0xd2, 0x11, 0xce, 0x71, 0xf4, 0xa0, 0x56, 0x4c, 0x47, 0x51, 0x0c, 0x22, 0x95, 0xf2, 3699 0x49, 0x31, 0xbd, 0xcc, 0x88, 0xf7, 0xcb, 0x85, 0xa2, 0x9a, 0x5e, 0x41, 0xd7, 0x60, 0x3d, 0xbf, 3700 0xdf, 0x28, 0x57, 0x4f, 0xea, 0x5a, 0xf5, 0x44, 0xbb, 0x5b, 0xad, 0xde, 0xad, 0x14, 0xd3, 0x31, 3701 0xb4, 0x0a, 0x71, 0x86, 0x56, 0x2b, 0x55, 0x4f, 0x1e, 0xa4, 0xa1, 0x10, 0x87, 0x15, 0xf1, 0xfa, 3702 0xa6, 0xfc, 0x40, 0x02, 0x34, 0xfe, 0x8e, 0x84, 0xbe, 0x38, 0xfe, 0x42, 0x15, 0xc8, 0x57, 0x97, 3703 0x5e, 0x99, 0x66, 0x79, 0x12, 0x0b, 0xfd, 0xfb, 0x27, 0xb1, 0x0c, 0x85, 0x64, 0xf0, 0xa5, 0x1a, 3704 0x3d, 0x0b, 0x37, 0x3f, 0x28, 0x16, 0x4a, 0xd5, 0xea, 0x91, 0x56, 0x6f, 0xe4, 0x1b, 0x97, 0x1f, 3705 0x52, 0x6e, 0xc2, 0xb5, 0xd1, 0xe9, 0xe2, 0x49, 0xbe, 0x50, 0x29, 0x1e, 0xa4, 0x25, 0xb4, 0x03, 3706 0x2f, 0x4d, 0x9c, 0xd2, 0x0e, 0xab, 0xaa, 0x56, 0xaf, 0x54, 0x1b, 0xda, 0x61, 0xb9, 0x52, 0x29, 3707 0x9f, 0xdc, 0x4d, 0x87, 0x32, 0x9f, 0x4b, 0x80, 0x58, 0xd2, 0xf3, 0x14, 0x21, 0x2a, 0x7e, 0xd4, 3708 0xc3, 0x84, 0xa2, 0xeb, 0xb0, 0xec, 0x29, 0x2a, 0xec, 0x15, 0x23, 0xd6, 0x2e, 0x9a, 0xba, 0xd5, 3709 0xe9, 0xb1, 0x8e, 0xae, 0x65, 0xb7, 0x7d, 0xab, 0x92, 0x3e, 0x71, 0xdf, 0x6e, 0x63, 0x54, 0x81, 3710 0x84, 0x30, 0xfc, 0xc2, 0xc0, 0x8f, 0xf9, 0x51, 0x4b, 0xed, 0x7e, 0x61, 0xc6, 0xe3, 0x74, 0xdf, 3711 0xc0, 0x8f, 0x55, 0x30, 0x06, 0xdf, 0x6c, 0xcf, 0x3b, 0x4c, 0x1c, 0xdb, 0xcc, 0xe2, 0xa5, 0x2b, 3712 0xc6, 0x08, 0x75, 0xe3, 0x63, 0xe6, 0x24, 0xe0, 0x93, 0xd4, 0x3e, 0xc7, 0x96, 0x78, 0xa5, 0xe1, 3713 0xec, 0x0d, 0x46, 0xc8, 0x7c, 0x4f, 0x82, 0x8d, 0x11, 0xeb, 0x44, 0x57, 0x97, 0x87, 0x15, 0x4f, 3714 0x82, 0x9f, 0xdc, 0x5e, 0x9e, 0x51, 0x3b, 0xd5, 0x5f, 0x87, 0x5e, 0x82, 0x35, 0x8b, 0x35, 0x86, 3715 0x01, 0xf1, 0x9e, 0x2f, 0x56, 0x19, 0xb9, 0x36, 0x50, 0xe1, 0x67, 0x12, 0xa4, 0xef, 0x62, 0xa1, 3716 0x81, 0xef, 0xde, 0x49, 0x8f, 0x5b, 0xff, 0x7d, 0xd7, 0x66, 0xfe, 0x22, 0xc1, 0xc6, 0xbe, 0x8b, 3717 0x75, 0x8a, 0x47, 0xd5, 0x7b, 0x52, 0xf4, 0xdf, 0x87, 0x65, 0x6f, 0xb5, 0xe8, 0x7b, 0x66, 0xf6, 3718 0x9a, 0x58, 0x36, 0x6e, 0x63, 0x78, 0xba, 0x8d, 0x91, 0xab, 0xd9, 0xf8, 0xc3, 0x10, 0x6c, 0x9c, 3719 0x3a, 0xed, 0x31, 0x1b, 0x87, 0xb6, 0x48, 0x4f, 0xc9, 0x96, 0x49, 0xf1, 0xba, 0x03, 0x89, 0x1e, 3720 0x17, 0xce, 0x7f, 0x30, 0x13, 0x0f, 0x64, 0xca, 0xd8, 0xab, 0xd3, 0xa1, 0x81, 0xcd, 0xf6, 0xb1, 3721 0x4e, 0xce, 0x55, 0xf0, 0xd8, 0xd9, 0xf7, 0x53, 0x76, 0xc4, 0x2b, 0xb0, 0x71, 0x80, 0x4d, 0x7c, 3722 0xd9, 0x0f, 0x13, 0xb6, 0x62, 0xe6, 0x9f, 0x21, 0xb8, 0x59, 0xd0, 0x69, 0xeb, 0x61, 0xd0, 0x71, 3723 0x53, 0x73, 0xc3, 0x0e, 0xa4, 0x85, 0xba, 0x4d, 0xb6, 0x56, 0x1b, 0xf4, 0x6f, 0xa5, 0x25, 0x35, 3724 0xe5, 0xcd, 0x78, 0xa0, 0xae, 0x81, 0xbe, 0x09, 0x1b, 0x23, 0xbc, 0x86, 0x65, 0x1a, 0x16, 0x16, 3725 0xfe, 0x79, 0x75, 0x46, 0x13, 0x39, 0x5a, 0x69, 0x49, 0x5d, 0x0f, 0x80, 0x97, 0x39, 0xd0, 0x78, 3726 0x70, 0x22, 0xd3, 0x83, 0x13, 0xbd, 0x4a, 0x70, 0x96, 0xaf, 0x14, 0x9c, 0x42, 0x0a, 0x92, 0x41, 3727 0x7f, 0x64, 0x34, 0x50, 0x26, 0x05, 0xe0, 0xa9, 0xa5, 0xaf, 0xcc, 0x85, 0x88, 0x70, 0x70, 0x4b, 3728 0x4c, 0x8d, 0x70, 0x40, 0x6e, 0x68, 0x41, 0xb9, 0x35, 0x48, 0x04, 0x82, 0xf7, 0x14, 0x2c, 0xd9, 3729 0x79, 0x1f, 0xa0, 0x1c, 0xac, 0x16, 0x37, 0xca, 0x27, 0x8d, 0xe2, 0x49, 0x43, 0xbb, 0x5f, 0x2e, 3730 0x7e, 0x70, 0xa9, 0x66, 0x6e, 0x42, 0x3a, 0x38, 0x79, 0x78, 0x5a, 0xa9, 0xa4, 0xa5, 0xdd, 0xcf, 3731 0xe2, 0xb0, 0x22, 0x1c, 0x80, 0x7e, 0x2b, 0x41, 0x22, 0x50, 0x30, 0xd0, 0xeb, 0x53, 0xd5, 0x19, 3732 0x2f, 0x9e, 0xca, 0x1b, 0xf3, 0x2d, 0xf2, 0x82, 0x9a, 0xd9, 0xfd, 0xfe, 0x9f, 0xfe, 0xfa, 0xd3, 3733 0xd0, 0xab, 0x68, 0x67, 0xf0, 0x53, 0xfe, 0xb7, 0x3d, 0xb7, 0xbf, 0xeb, 0xb8, 0xf6, 0xb7, 0x70, 3734 0x8b, 0x92, 0xdc, 0x4e, 0x4e, 0xef, 0x60, 0x8b, 0x7e, 0x92, 0xf3, 0x8b, 0xd0, 0x2f, 0x24, 0x88, 3735 0x0f, 0x8a, 0x0b, 0x9a, 0xfe, 0x93, 0xe6, 0xe5, 0x42, 0xa4, 0xcc, 0xea, 0xee, 0x49, 0xda, 0xb1, 3736 0x54, 0x31, 0xa6, 0x9b, 0xaf, 0x5a, 0x6e, 0xe7, 0x13, 0xf4, 0xa9, 0x04, 0xc9, 0x60, 0x79, 0x41, 3737 0xd3, 0x1d, 0x33, 0xa1, 0x1a, 0xcd, 0xae, 0xe3, 0x1e, 0xd7, 0xf1, 0x8d, 0xcc, 0x1c, 0x1e, 0xdc, 3738 0xf3, 0xb3, 0xf9, 0xef, 0x24, 0x48, 0x06, 0x0f, 0xdb, 0x0c, 0xba, 0x4e, 0xa8, 0x2a, 0xb3, 0xeb, 3739 0x9a, 0xe7, 0xba, 0xde, 0xd9, 0xbd, 0x3d, 0xd4, 0x55, 0xfc, 0x4d, 0x64, 0x9a, 0x5b, 0x07, 0x2a, 3740 0xff, 0x44, 0x82, 0x64, 0xf0, 0xf8, 0xce, 0xa0, 0xf2, 0x84, 0x02, 0xa0, 0x5c, 0x1f, 0x4b, 0x78, 3741 0xc5, 0xae, 0x43, 0xfb, 0x7e, 0xc4, 0x77, 0xe6, 0x89, 0xf8, 0x67, 0x12, 0xa0, 0xf1, 0xbc, 0x85, 3742 0xa6, 0xbf, 0x2a, 0x3c, 0xb1, 0xda, 0x28, 0xcf, 0xfa, 0x6b, 0x03, 0x7f, 0x61, 0xc9, 0x56, 0xfd, 3743 0xbf, 0xb0, 0xf8, 0x7e, 0xcc, 0xbc, 0x39, 0x47, 0xcc, 0x9b, 0x43, 0x61, 0x7b, 0xd2, 0xce, 0x50, 3744 0xe9, 0x91, 0x5c, 0x38, 0xab, 0xd2, 0x93, 0x12, 0xe8, 0x7f, 0x4c, 0x69, 0x4f, 0xd8, 0x9e, 0xb4, 3745 0x53, 0xf8, 0x54, 0x82, 0x17, 0x5a, 0x76, 0x77, 0x9a, 0x8e, 0x05, 0x91, 0x6d, 0x6b, 0x2c, 0xb6, 3746 0x35, 0xe9, 0xc3, 0xb2, 0xe0, 0xef, 0xd8, 0xac, 0x12, 0x66, 0x6d, 0xb7, 0x93, 0xeb, 0x60, 0x8b, 3747 0x47, 0x3e, 0xe7, 0x4d, 0xe9, 0x8e, 0x41, 0x9e, 0xf8, 0xef, 0xa2, 0x3b, 0x43, 0xd2, 0x3f, 0x24, 3748 0xe9, 0x57, 0xa1, 0xd0, 0xc1, 0xe1, 0x6f, 0x42, 0xcf, 0xdd, 0xf5, 0x30, 0xf7, 0xb9, 0x0e, 0x07, 3749 0x43, 0x1d, 0xee, 0x7b, 0x8b, 0x9a, 0xcb, 0x1c, 0xff, 0xf5, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 3750 0xb3, 0x5d, 0x82, 0x52, 0x29, 0x25, 0x00, 0x00, 3751} 3752