1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/dialogflow/v2/intent.proto 18 19 package com.google.cloud.dialogflow.v2; 20 21 public interface IntentOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.Intent) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Optional. The unique identifier of this intent. 31 * Required for 32 * [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and 33 * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] 34 * methods. 35 * Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 36 * </pre> 37 * 38 * <code>string name = 1 [(.google.api.field_behavior) = OPTIONAL];</code> 39 * 40 * @return The name. 41 */ getName()42 java.lang.String getName(); 43 /** 44 * 45 * 46 * <pre> 47 * Optional. The unique identifier of this intent. 48 * Required for 49 * [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and 50 * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] 51 * methods. 52 * Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 53 * </pre> 54 * 55 * <code>string name = 1 [(.google.api.field_behavior) = OPTIONAL];</code> 56 * 57 * @return The bytes for name. 58 */ getNameBytes()59 com.google.protobuf.ByteString getNameBytes(); 60 61 /** 62 * 63 * 64 * <pre> 65 * Required. The name of this intent. 66 * </pre> 67 * 68 * <code>string display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code> 69 * 70 * @return The displayName. 71 */ getDisplayName()72 java.lang.String getDisplayName(); 73 /** 74 * 75 * 76 * <pre> 77 * Required. The name of this intent. 78 * </pre> 79 * 80 * <code>string display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code> 81 * 82 * @return The bytes for displayName. 83 */ getDisplayNameBytes()84 com.google.protobuf.ByteString getDisplayNameBytes(); 85 86 /** 87 * 88 * 89 * <pre> 90 * Optional. Indicates whether webhooks are enabled for the intent. 91 * </pre> 92 * 93 * <code> 94 * .google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL]; 95 * </code> 96 * 97 * @return The enum numeric value on the wire for webhookState. 98 */ getWebhookStateValue()99 int getWebhookStateValue(); 100 /** 101 * 102 * 103 * <pre> 104 * Optional. Indicates whether webhooks are enabled for the intent. 105 * </pre> 106 * 107 * <code> 108 * .google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL]; 109 * </code> 110 * 111 * @return The webhookState. 112 */ getWebhookState()113 com.google.cloud.dialogflow.v2.Intent.WebhookState getWebhookState(); 114 115 /** 116 * 117 * 118 * <pre> 119 * Optional. The priority of this intent. Higher numbers represent higher 120 * priorities. 121 * - If the supplied value is unspecified or 0, the service 122 * translates the value to 500,000, which corresponds to the 123 * `Normal` priority in the console. 124 * - If the supplied value is negative, the intent is ignored 125 * in runtime detect intent requests. 126 * </pre> 127 * 128 * <code>int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL];</code> 129 * 130 * @return The priority. 131 */ getPriority()132 int getPriority(); 133 134 /** 135 * 136 * 137 * <pre> 138 * Optional. Indicates whether this is a fallback intent. 139 * </pre> 140 * 141 * <code>bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];</code> 142 * 143 * @return The isFallback. 144 */ getIsFallback()145 boolean getIsFallback(); 146 147 /** 148 * 149 * 150 * <pre> 151 * Optional. Indicates whether Machine Learning is disabled for the intent. 152 * Note: If `ml_disabled` setting is set to true, then this intent is not 153 * taken into account during inference in `ML ONLY` match mode. Also, 154 * auto-markup in the UI is turned off. 155 * </pre> 156 * 157 * <code>bool ml_disabled = 19 [(.google.api.field_behavior) = OPTIONAL];</code> 158 * 159 * @return The mlDisabled. 160 */ getMlDisabled()161 boolean getMlDisabled(); 162 163 /** 164 * 165 * 166 * <pre> 167 * Optional. Indicates that a live agent should be brought in to handle the 168 * interaction with the user. In most cases, when you set this flag to true, 169 * you would also want to set end_interaction to true as well. Default is 170 * false. 171 * </pre> 172 * 173 * <code>bool live_agent_handoff = 20 [(.google.api.field_behavior) = OPTIONAL];</code> 174 * 175 * @return The liveAgentHandoff. 176 */ getLiveAgentHandoff()177 boolean getLiveAgentHandoff(); 178 179 /** 180 * 181 * 182 * <pre> 183 * Optional. Indicates that this intent ends an interaction. Some integrations 184 * (e.g., Actions on Google or Dialogflow phone gateway) use this information 185 * to close interaction with an end user. Default is false. 186 * </pre> 187 * 188 * <code>bool end_interaction = 21 [(.google.api.field_behavior) = OPTIONAL];</code> 189 * 190 * @return The endInteraction. 191 */ getEndInteraction()192 boolean getEndInteraction(); 193 194 /** 195 * 196 * 197 * <pre> 198 * Optional. The list of context names required for this intent to be 199 * triggered. 200 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 201 * </pre> 202 * 203 * <code>repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];</code> 204 * 205 * @return A list containing the inputContextNames. 206 */ getInputContextNamesList()207 java.util.List<java.lang.String> getInputContextNamesList(); 208 /** 209 * 210 * 211 * <pre> 212 * Optional. The list of context names required for this intent to be 213 * triggered. 214 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 215 * </pre> 216 * 217 * <code>repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];</code> 218 * 219 * @return The count of inputContextNames. 220 */ getInputContextNamesCount()221 int getInputContextNamesCount(); 222 /** 223 * 224 * 225 * <pre> 226 * Optional. The list of context names required for this intent to be 227 * triggered. 228 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 229 * </pre> 230 * 231 * <code>repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];</code> 232 * 233 * @param index The index of the element to return. 234 * @return The inputContextNames at the given index. 235 */ getInputContextNames(int index)236 java.lang.String getInputContextNames(int index); 237 /** 238 * 239 * 240 * <pre> 241 * Optional. The list of context names required for this intent to be 242 * triggered. 243 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 244 * </pre> 245 * 246 * <code>repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];</code> 247 * 248 * @param index The index of the value to return. 249 * @return The bytes of the inputContextNames at the given index. 250 */ getInputContextNamesBytes(int index)251 com.google.protobuf.ByteString getInputContextNamesBytes(int index); 252 253 /** 254 * 255 * 256 * <pre> 257 * Optional. The collection of event names that trigger the intent. 258 * If the collection of input contexts is not empty, all of the contexts must 259 * be present in the active user session for an event to trigger this intent. 260 * Event names are limited to 150 characters. 261 * </pre> 262 * 263 * <code>repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];</code> 264 * 265 * @return A list containing the events. 266 */ getEventsList()267 java.util.List<java.lang.String> getEventsList(); 268 /** 269 * 270 * 271 * <pre> 272 * Optional. The collection of event names that trigger the intent. 273 * If the collection of input contexts is not empty, all of the contexts must 274 * be present in the active user session for an event to trigger this intent. 275 * Event names are limited to 150 characters. 276 * </pre> 277 * 278 * <code>repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];</code> 279 * 280 * @return The count of events. 281 */ getEventsCount()282 int getEventsCount(); 283 /** 284 * 285 * 286 * <pre> 287 * Optional. The collection of event names that trigger the intent. 288 * If the collection of input contexts is not empty, all of the contexts must 289 * be present in the active user session for an event to trigger this intent. 290 * Event names are limited to 150 characters. 291 * </pre> 292 * 293 * <code>repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];</code> 294 * 295 * @param index The index of the element to return. 296 * @return The events at the given index. 297 */ getEvents(int index)298 java.lang.String getEvents(int index); 299 /** 300 * 301 * 302 * <pre> 303 * Optional. The collection of event names that trigger the intent. 304 * If the collection of input contexts is not empty, all of the contexts must 305 * be present in the active user session for an event to trigger this intent. 306 * Event names are limited to 150 characters. 307 * </pre> 308 * 309 * <code>repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];</code> 310 * 311 * @param index The index of the value to return. 312 * @return The bytes of the events at the given index. 313 */ getEventsBytes(int index)314 com.google.protobuf.ByteString getEventsBytes(int index); 315 316 /** 317 * 318 * 319 * <pre> 320 * Optional. The collection of examples that the agent is 321 * trained on. 322 * </pre> 323 * 324 * <code> 325 * repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; 326 * </code> 327 */ getTrainingPhrasesList()328 java.util.List<com.google.cloud.dialogflow.v2.Intent.TrainingPhrase> getTrainingPhrasesList(); 329 /** 330 * 331 * 332 * <pre> 333 * Optional. The collection of examples that the agent is 334 * trained on. 335 * </pre> 336 * 337 * <code> 338 * repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; 339 * </code> 340 */ getTrainingPhrases(int index)341 com.google.cloud.dialogflow.v2.Intent.TrainingPhrase getTrainingPhrases(int index); 342 /** 343 * 344 * 345 * <pre> 346 * Optional. The collection of examples that the agent is 347 * trained on. 348 * </pre> 349 * 350 * <code> 351 * repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; 352 * </code> 353 */ getTrainingPhrasesCount()354 int getTrainingPhrasesCount(); 355 /** 356 * 357 * 358 * <pre> 359 * Optional. The collection of examples that the agent is 360 * trained on. 361 * </pre> 362 * 363 * <code> 364 * repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; 365 * </code> 366 */ 367 java.util.List<? extends com.google.cloud.dialogflow.v2.Intent.TrainingPhraseOrBuilder> getTrainingPhrasesOrBuilderList()368 getTrainingPhrasesOrBuilderList(); 369 /** 370 * 371 * 372 * <pre> 373 * Optional. The collection of examples that the agent is 374 * trained on. 375 * </pre> 376 * 377 * <code> 378 * repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; 379 * </code> 380 */ getTrainingPhrasesOrBuilder( int index)381 com.google.cloud.dialogflow.v2.Intent.TrainingPhraseOrBuilder getTrainingPhrasesOrBuilder( 382 int index); 383 384 /** 385 * 386 * 387 * <pre> 388 * Optional. The name of the action associated with the intent. 389 * Note: The action name must not contain whitespaces. 390 * </pre> 391 * 392 * <code>string action = 10 [(.google.api.field_behavior) = OPTIONAL];</code> 393 * 394 * @return The action. 395 */ getAction()396 java.lang.String getAction(); 397 /** 398 * 399 * 400 * <pre> 401 * Optional. The name of the action associated with the intent. 402 * Note: The action name must not contain whitespaces. 403 * </pre> 404 * 405 * <code>string action = 10 [(.google.api.field_behavior) = OPTIONAL];</code> 406 * 407 * @return The bytes for action. 408 */ getActionBytes()409 com.google.protobuf.ByteString getActionBytes(); 410 411 /** 412 * 413 * 414 * <pre> 415 * Optional. The collection of contexts that are activated when the intent 416 * is matched. Context messages in this collection should not set the 417 * parameters field. Setting the `lifespan_count` to 0 will reset the context 418 * when the intent is matched. 419 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 420 * </pre> 421 * 422 * <code> 423 * repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; 424 * </code> 425 */ getOutputContextsList()426 java.util.List<com.google.cloud.dialogflow.v2.Context> getOutputContextsList(); 427 /** 428 * 429 * 430 * <pre> 431 * Optional. The collection of contexts that are activated when the intent 432 * is matched. Context messages in this collection should not set the 433 * parameters field. Setting the `lifespan_count` to 0 will reset the context 434 * when the intent is matched. 435 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 436 * </pre> 437 * 438 * <code> 439 * repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; 440 * </code> 441 */ getOutputContexts(int index)442 com.google.cloud.dialogflow.v2.Context getOutputContexts(int index); 443 /** 444 * 445 * 446 * <pre> 447 * Optional. The collection of contexts that are activated when the intent 448 * is matched. Context messages in this collection should not set the 449 * parameters field. Setting the `lifespan_count` to 0 will reset the context 450 * when the intent is matched. 451 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 452 * </pre> 453 * 454 * <code> 455 * repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; 456 * </code> 457 */ getOutputContextsCount()458 int getOutputContextsCount(); 459 /** 460 * 461 * 462 * <pre> 463 * Optional. The collection of contexts that are activated when the intent 464 * is matched. Context messages in this collection should not set the 465 * parameters field. Setting the `lifespan_count` to 0 will reset the context 466 * when the intent is matched. 467 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 468 * </pre> 469 * 470 * <code> 471 * repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; 472 * </code> 473 */ 474 java.util.List<? extends com.google.cloud.dialogflow.v2.ContextOrBuilder> getOutputContextsOrBuilderList()475 getOutputContextsOrBuilderList(); 476 /** 477 * 478 * 479 * <pre> 480 * Optional. The collection of contexts that are activated when the intent 481 * is matched. Context messages in this collection should not set the 482 * parameters field. Setting the `lifespan_count` to 0 will reset the context 483 * when the intent is matched. 484 * Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. 485 * </pre> 486 * 487 * <code> 488 * repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; 489 * </code> 490 */ getOutputContextsOrBuilder(int index)491 com.google.cloud.dialogflow.v2.ContextOrBuilder getOutputContextsOrBuilder(int index); 492 493 /** 494 * 495 * 496 * <pre> 497 * Optional. Indicates whether to delete all contexts in the current 498 * session when this intent is matched. 499 * </pre> 500 * 501 * <code>bool reset_contexts = 12 [(.google.api.field_behavior) = OPTIONAL];</code> 502 * 503 * @return The resetContexts. 504 */ getResetContexts()505 boolean getResetContexts(); 506 507 /** 508 * 509 * 510 * <pre> 511 * Optional. The collection of parameters associated with the intent. 512 * </pre> 513 * 514 * <code> 515 * repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; 516 * </code> 517 */ getParametersList()518 java.util.List<com.google.cloud.dialogflow.v2.Intent.Parameter> getParametersList(); 519 /** 520 * 521 * 522 * <pre> 523 * Optional. The collection of parameters associated with the intent. 524 * </pre> 525 * 526 * <code> 527 * repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; 528 * </code> 529 */ getParameters(int index)530 com.google.cloud.dialogflow.v2.Intent.Parameter getParameters(int index); 531 /** 532 * 533 * 534 * <pre> 535 * Optional. The collection of parameters associated with the intent. 536 * </pre> 537 * 538 * <code> 539 * repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; 540 * </code> 541 */ getParametersCount()542 int getParametersCount(); 543 /** 544 * 545 * 546 * <pre> 547 * Optional. The collection of parameters associated with the intent. 548 * </pre> 549 * 550 * <code> 551 * repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; 552 * </code> 553 */ 554 java.util.List<? extends com.google.cloud.dialogflow.v2.Intent.ParameterOrBuilder> getParametersOrBuilderList()555 getParametersOrBuilderList(); 556 /** 557 * 558 * 559 * <pre> 560 * Optional. The collection of parameters associated with the intent. 561 * </pre> 562 * 563 * <code> 564 * repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; 565 * </code> 566 */ getParametersOrBuilder(int index)567 com.google.cloud.dialogflow.v2.Intent.ParameterOrBuilder getParametersOrBuilder(int index); 568 569 /** 570 * 571 * 572 * <pre> 573 * Optional. The collection of rich messages corresponding to the 574 * `Response` field in the Dialogflow console. 575 * </pre> 576 * 577 * <code> 578 * repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; 579 * </code> 580 */ getMessagesList()581 java.util.List<com.google.cloud.dialogflow.v2.Intent.Message> getMessagesList(); 582 /** 583 * 584 * 585 * <pre> 586 * Optional. The collection of rich messages corresponding to the 587 * `Response` field in the Dialogflow console. 588 * </pre> 589 * 590 * <code> 591 * repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; 592 * </code> 593 */ getMessages(int index)594 com.google.cloud.dialogflow.v2.Intent.Message getMessages(int index); 595 /** 596 * 597 * 598 * <pre> 599 * Optional. The collection of rich messages corresponding to the 600 * `Response` field in the Dialogflow console. 601 * </pre> 602 * 603 * <code> 604 * repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; 605 * </code> 606 */ getMessagesCount()607 int getMessagesCount(); 608 /** 609 * 610 * 611 * <pre> 612 * Optional. The collection of rich messages corresponding to the 613 * `Response` field in the Dialogflow console. 614 * </pre> 615 * 616 * <code> 617 * repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; 618 * </code> 619 */ 620 java.util.List<? extends com.google.cloud.dialogflow.v2.Intent.MessageOrBuilder> getMessagesOrBuilderList()621 getMessagesOrBuilderList(); 622 /** 623 * 624 * 625 * <pre> 626 * Optional. The collection of rich messages corresponding to the 627 * `Response` field in the Dialogflow console. 628 * </pre> 629 * 630 * <code> 631 * repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; 632 * </code> 633 */ getMessagesOrBuilder(int index)634 com.google.cloud.dialogflow.v2.Intent.MessageOrBuilder getMessagesOrBuilder(int index); 635 636 /** 637 * 638 * 639 * <pre> 640 * Optional. The list of platforms for which the first responses will be 641 * copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). 642 * </pre> 643 * 644 * <code> 645 * repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL]; 646 * </code> 647 * 648 * @return A list containing the defaultResponsePlatforms. 649 */ 650 java.util.List<com.google.cloud.dialogflow.v2.Intent.Message.Platform> getDefaultResponsePlatformsList()651 getDefaultResponsePlatformsList(); 652 /** 653 * 654 * 655 * <pre> 656 * Optional. The list of platforms for which the first responses will be 657 * copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). 658 * </pre> 659 * 660 * <code> 661 * repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL]; 662 * </code> 663 * 664 * @return The count of defaultResponsePlatforms. 665 */ getDefaultResponsePlatformsCount()666 int getDefaultResponsePlatformsCount(); 667 /** 668 * 669 * 670 * <pre> 671 * Optional. The list of platforms for which the first responses will be 672 * copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). 673 * </pre> 674 * 675 * <code> 676 * repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL]; 677 * </code> 678 * 679 * @param index The index of the element to return. 680 * @return The defaultResponsePlatforms at the given index. 681 */ getDefaultResponsePlatforms(int index)682 com.google.cloud.dialogflow.v2.Intent.Message.Platform getDefaultResponsePlatforms(int index); 683 /** 684 * 685 * 686 * <pre> 687 * Optional. The list of platforms for which the first responses will be 688 * copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). 689 * </pre> 690 * 691 * <code> 692 * repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL]; 693 * </code> 694 * 695 * @return A list containing the enum numeric values on the wire for defaultResponsePlatforms. 696 */ getDefaultResponsePlatformsValueList()697 java.util.List<java.lang.Integer> getDefaultResponsePlatformsValueList(); 698 /** 699 * 700 * 701 * <pre> 702 * Optional. The list of platforms for which the first responses will be 703 * copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). 704 * </pre> 705 * 706 * <code> 707 * repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL]; 708 * </code> 709 * 710 * @param index The index of the value to return. 711 * @return The enum numeric value on the wire of defaultResponsePlatforms at the given index. 712 */ getDefaultResponsePlatformsValue(int index)713 int getDefaultResponsePlatformsValue(int index); 714 715 /** 716 * 717 * 718 * <pre> 719 * Output only. 720 * Read-only. The unique identifier of the root intent in the chain of 721 * followup intents. It identifies the correct followup intents chain for 722 * this intent. We populate this field only in the output. 723 * Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 724 * </pre> 725 * 726 * <code>string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; 727 * </code> 728 * 729 * @return The rootFollowupIntentName. 730 */ getRootFollowupIntentName()731 java.lang.String getRootFollowupIntentName(); 732 /** 733 * 734 * 735 * <pre> 736 * Output only. 737 * Read-only. The unique identifier of the root intent in the chain of 738 * followup intents. It identifies the correct followup intents chain for 739 * this intent. We populate this field only in the output. 740 * Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 741 * </pre> 742 * 743 * <code>string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; 744 * </code> 745 * 746 * @return The bytes for rootFollowupIntentName. 747 */ getRootFollowupIntentNameBytes()748 com.google.protobuf.ByteString getRootFollowupIntentNameBytes(); 749 750 /** 751 * 752 * 753 * <pre> 754 * Read-only after creation. The unique identifier of the parent intent in the 755 * chain of followup intents. You can set this field when creating an intent, 756 * for example with 757 * [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or 758 * [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], 759 * in order to make this intent a followup intent. 760 * It identifies the parent followup intent. 761 * Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 762 * </pre> 763 * 764 * <code>string parent_followup_intent_name = 17;</code> 765 * 766 * @return The parentFollowupIntentName. 767 */ getParentFollowupIntentName()768 java.lang.String getParentFollowupIntentName(); 769 /** 770 * 771 * 772 * <pre> 773 * Read-only after creation. The unique identifier of the parent intent in the 774 * chain of followup intents. You can set this field when creating an intent, 775 * for example with 776 * [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or 777 * [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], 778 * in order to make this intent a followup intent. 779 * It identifies the parent followup intent. 780 * Format: `projects/<Project ID>/agent/intents/<Intent ID>`. 781 * </pre> 782 * 783 * <code>string parent_followup_intent_name = 17;</code> 784 * 785 * @return The bytes for parentFollowupIntentName. 786 */ getParentFollowupIntentNameBytes()787 com.google.protobuf.ByteString getParentFollowupIntentNameBytes(); 788 789 /** 790 * 791 * 792 * <pre> 793 * Output only. Read-only. Information about all followup intents that have 794 * this intent as a direct or indirect parent. We populate this field only in 795 * the output. 796 * </pre> 797 * 798 * <code> 799 * repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; 800 * </code> 801 */ 802 java.util.List<com.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo> getFollowupIntentInfoList()803 getFollowupIntentInfoList(); 804 /** 805 * 806 * 807 * <pre> 808 * Output only. Read-only. Information about all followup intents that have 809 * this intent as a direct or indirect parent. We populate this field only in 810 * the output. 811 * </pre> 812 * 813 * <code> 814 * repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; 815 * </code> 816 */ getFollowupIntentInfo(int index)817 com.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo getFollowupIntentInfo(int index); 818 /** 819 * 820 * 821 * <pre> 822 * Output only. Read-only. Information about all followup intents that have 823 * this intent as a direct or indirect parent. We populate this field only in 824 * the output. 825 * </pre> 826 * 827 * <code> 828 * repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; 829 * </code> 830 */ getFollowupIntentInfoCount()831 int getFollowupIntentInfoCount(); 832 /** 833 * 834 * 835 * <pre> 836 * Output only. Read-only. Information about all followup intents that have 837 * this intent as a direct or indirect parent. We populate this field only in 838 * the output. 839 * </pre> 840 * 841 * <code> 842 * repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; 843 * </code> 844 */ 845 java.util.List<? extends com.google.cloud.dialogflow.v2.Intent.FollowupIntentInfoOrBuilder> getFollowupIntentInfoOrBuilderList()846 getFollowupIntentInfoOrBuilderList(); 847 /** 848 * 849 * 850 * <pre> 851 * Output only. Read-only. Information about all followup intents that have 852 * this intent as a direct or indirect parent. We populate this field only in 853 * the output. 854 * </pre> 855 * 856 * <code> 857 * repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; 858 * </code> 859 */ getFollowupIntentInfoOrBuilder( int index)860 com.google.cloud.dialogflow.v2.Intent.FollowupIntentInfoOrBuilder getFollowupIntentInfoOrBuilder( 861 int index); 862 } 863