Class Intent.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
com.google.cloud.dialogflow.v2.Intent.Builder
All Implemented Interfaces:
IntentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Intent

public static final class Intent.Builder extends com.google.protobuf.GeneratedMessage.Builder<Intent.Builder> implements IntentOrBuilder
 An intent categorizes an end-user's intention for one conversation turn. For
 each agent, you define many intents, where your combined intents can handle a
 complete conversation. When an end-user writes or says something, referred to
 as an end-user expression or end-user input, Dialogflow matches the end-user
 input to the best intent in your agent. Matching an intent is also known as
 intent classification.

 For more information, see the [intent
 guide](https://cloud.google.com/dialogflow/docs/intents-overview).
 
Protobuf type google.cloud.dialogflow.v2.Intent
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
    • clear

      public Intent.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
    • getDefaultInstanceForType

      public Intent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Intent build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Intent buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Intent.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Builder>
    • mergeFrom

      public Intent.Builder mergeFrom(Intent other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
    • mergeFrom

      public Intent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Optional. The unique identifier of this intent.
       Required for
       [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and
       [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
       methods.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getName in interface IntentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Optional. The unique identifier of this intent.
       Required for
       [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and
       [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
       methods.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNameBytes in interface IntentOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Intent.Builder setName(String value)
       Optional. The unique identifier of this intent.
       Required for
       [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and
       [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
       methods.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Intent.Builder clearName()
       Optional. The unique identifier of this intent.
       Required for
       [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and
       [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
       methods.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Intent.Builder setNameBytes(com.google.protobuf.ByteString value)
       Optional. The unique identifier of this intent.
       Required for
       [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and
       [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents]
       methods.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The name of this intent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface IntentOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The name of this intent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface IntentOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Intent.Builder setDisplayName(String value)
       Required. The name of this intent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Intent.Builder clearDisplayName()
       Required. The name of this intent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Intent.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The name of this intent.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getWebhookStateValue

      public int getWebhookStateValue()
       Optional. Indicates whether webhooks are enabled for the intent.
       
      .google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWebhookStateValue in interface IntentOrBuilder
      Returns:
      The enum numeric value on the wire for webhookState.
    • setWebhookStateValue

      public Intent.Builder setWebhookStateValue(int value)
       Optional. Indicates whether webhooks are enabled for the intent.
       
      .google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for webhookState to set.
      Returns:
      This builder for chaining.
    • getWebhookState

      public Intent.WebhookState getWebhookState()
       Optional. Indicates whether webhooks are enabled for the intent.
       
      .google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWebhookState in interface IntentOrBuilder
      Returns:
      The webhookState.
    • setWebhookState

      public Intent.Builder setWebhookState(Intent.WebhookState value)
       Optional. Indicates whether webhooks are enabled for the intent.
       
      .google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The webhookState to set.
      Returns:
      This builder for chaining.
    • clearWebhookState

      public Intent.Builder clearWebhookState()
       Optional. Indicates whether webhooks are enabled for the intent.
       
      .google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPriority

      public int getPriority()
       Optional. The priority of this intent. Higher numbers represent higher
       priorities.
      
       - If the supplied value is unspecified or 0, the service
       translates the value to 500,000, which corresponds to the
       `Normal` priority in the console.
       - If the supplied value is negative, the intent is ignored
       in runtime detect intent requests.
       
      int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPriority in interface IntentOrBuilder
      Returns:
      The priority.
    • setPriority

      public Intent.Builder setPriority(int value)
       Optional. The priority of this intent. Higher numbers represent higher
       priorities.
      
       - If the supplied value is unspecified or 0, the service
       translates the value to 500,000, which corresponds to the
       `Normal` priority in the console.
       - If the supplied value is negative, the intent is ignored
       in runtime detect intent requests.
       
      int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The priority to set.
      Returns:
      This builder for chaining.
    • clearPriority

      public Intent.Builder clearPriority()
       Optional. The priority of this intent. Higher numbers represent higher
       priorities.
      
       - If the supplied value is unspecified or 0, the service
       translates the value to 500,000, which corresponds to the
       `Normal` priority in the console.
       - If the supplied value is negative, the intent is ignored
       in runtime detect intent requests.
       
      int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getIsFallback

      public boolean getIsFallback()
       Optional. Indicates whether this is a fallback intent.
       
      bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsFallback in interface IntentOrBuilder
      Returns:
      The isFallback.
    • setIsFallback

      public Intent.Builder setIsFallback(boolean value)
       Optional. Indicates whether this is a fallback intent.
       
      bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The isFallback to set.
      Returns:
      This builder for chaining.
    • clearIsFallback

      public Intent.Builder clearIsFallback()
       Optional. Indicates whether this is a fallback intent.
       
      bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMlDisabled

      public boolean getMlDisabled()
       Optional. Indicates whether Machine Learning is disabled for the intent.
       Note: If `ml_disabled` setting is set to true, then this intent is not
       taken into account during inference in `ML ONLY` match mode. Also,
       auto-markup in the UI is turned off.
       
      bool ml_disabled = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMlDisabled in interface IntentOrBuilder
      Returns:
      The mlDisabled.
    • setMlDisabled

      public Intent.Builder setMlDisabled(boolean value)
       Optional. Indicates whether Machine Learning is disabled for the intent.
       Note: If `ml_disabled` setting is set to true, then this intent is not
       taken into account during inference in `ML ONLY` match mode. Also,
       auto-markup in the UI is turned off.
       
      bool ml_disabled = 19 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The mlDisabled to set.
      Returns:
      This builder for chaining.
    • clearMlDisabled

      public Intent.Builder clearMlDisabled()
       Optional. Indicates whether Machine Learning is disabled for the intent.
       Note: If `ml_disabled` setting is set to true, then this intent is not
       taken into account during inference in `ML ONLY` match mode. Also,
       auto-markup in the UI is turned off.
       
      bool ml_disabled = 19 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getLiveAgentHandoff

      public boolean getLiveAgentHandoff()
       Optional. Indicates that a live agent should be brought in to handle the
       interaction with the user. In most cases, when you set this flag to true,
       you would also want to set end_interaction to true as well. Default is
       false.
       
      bool live_agent_handoff = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLiveAgentHandoff in interface IntentOrBuilder
      Returns:
      The liveAgentHandoff.
    • setLiveAgentHandoff

      public Intent.Builder setLiveAgentHandoff(boolean value)
       Optional. Indicates that a live agent should be brought in to handle the
       interaction with the user. In most cases, when you set this flag to true,
       you would also want to set end_interaction to true as well. Default is
       false.
       
      bool live_agent_handoff = 20 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The liveAgentHandoff to set.
      Returns:
      This builder for chaining.
    • clearLiveAgentHandoff

      public Intent.Builder clearLiveAgentHandoff()
       Optional. Indicates that a live agent should be brought in to handle the
       interaction with the user. In most cases, when you set this flag to true,
       you would also want to set end_interaction to true as well. Default is
       false.
       
      bool live_agent_handoff = 20 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getEndInteraction

      public boolean getEndInteraction()
       Optional. Indicates that this intent ends an interaction. Some integrations
       (e.g., Actions on Google or Dialogflow phone gateway) use this information
       to close interaction with an end user. Default is false.
       
      bool end_interaction = 21 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEndInteraction in interface IntentOrBuilder
      Returns:
      The endInteraction.
    • setEndInteraction

      public Intent.Builder setEndInteraction(boolean value)
       Optional. Indicates that this intent ends an interaction. Some integrations
       (e.g., Actions on Google or Dialogflow phone gateway) use this information
       to close interaction with an end user. Default is false.
       
      bool end_interaction = 21 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The endInteraction to set.
      Returns:
      This builder for chaining.
    • clearEndInteraction

      public Intent.Builder clearEndInteraction()
       Optional. Indicates that this intent ends an interaction. Some integrations
       (e.g., Actions on Google or Dialogflow phone gateway) use this information
       to close interaction with an end user. Default is false.
       
      bool end_interaction = 21 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getInputContextNamesList

      public com.google.protobuf.ProtocolStringList getInputContextNamesList()
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputContextNamesList in interface IntentOrBuilder
      Returns:
      A list containing the inputContextNames.
    • getInputContextNamesCount

      public int getInputContextNamesCount()
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputContextNamesCount in interface IntentOrBuilder
      Returns:
      The count of inputContextNames.
    • getInputContextNames

      public String getInputContextNames(int index)
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputContextNames in interface IntentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The inputContextNames at the given index.
    • getInputContextNamesBytes

      public com.google.protobuf.ByteString getInputContextNamesBytes(int index)
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputContextNamesBytes in interface IntentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inputContextNames at the given index.
    • setInputContextNames

      public Intent.Builder setInputContextNames(int index, String value)
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The inputContextNames to set.
      Returns:
      This builder for chaining.
    • addInputContextNames

      public Intent.Builder addInputContextNames(String value)
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The inputContextNames to add.
      Returns:
      This builder for chaining.
    • addAllInputContextNames

      public Intent.Builder addAllInputContextNames(Iterable<String> values)
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The inputContextNames to add.
      Returns:
      This builder for chaining.
    • clearInputContextNames

      public Intent.Builder clearInputContextNames()
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addInputContextNamesBytes

      public Intent.Builder addInputContextNamesBytes(com.google.protobuf.ByteString value)
       Optional. The list of context names required for this intent to be
       triggered.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the inputContextNames to add.
      Returns:
      This builder for chaining.
    • getEventsList

      public com.google.protobuf.ProtocolStringList getEventsList()
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventsList in interface IntentOrBuilder
      Returns:
      A list containing the events.
    • getEventsCount

      public int getEventsCount()
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventsCount in interface IntentOrBuilder
      Returns:
      The count of events.
    • getEvents

      public String getEvents(int index)
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEvents in interface IntentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The events at the given index.
    • getEventsBytes

      public com.google.protobuf.ByteString getEventsBytes(int index)
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventsBytes in interface IntentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the events at the given index.
    • setEvents

      public Intent.Builder setEvents(int index, String value)
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The events to set.
      Returns:
      This builder for chaining.
    • addEvents

      public Intent.Builder addEvents(String value)
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The events to add.
      Returns:
      This builder for chaining.
    • addAllEvents

      public Intent.Builder addAllEvents(Iterable<String> values)
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The events to add.
      Returns:
      This builder for chaining.
    • clearEvents

      public Intent.Builder clearEvents()
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addEventsBytes

      public Intent.Builder addEventsBytes(com.google.protobuf.ByteString value)
       Optional. The collection of event names that trigger the intent.
       If the collection of input contexts is not empty, all of the contexts must
       be present in the active user session for an event to trigger this intent.
       Event names are limited to 150 characters.
       
      repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the events to add.
      Returns:
      This builder for chaining.
    • getTrainingPhrasesList

      public List<Intent.TrainingPhrase> getTrainingPhrasesList()
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTrainingPhrasesList in interface IntentOrBuilder
    • getTrainingPhrasesCount

      public int getTrainingPhrasesCount()
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTrainingPhrasesCount in interface IntentOrBuilder
    • getTrainingPhrases

      public Intent.TrainingPhrase getTrainingPhrases(int index)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTrainingPhrases in interface IntentOrBuilder
    • setTrainingPhrases

      public Intent.Builder setTrainingPhrases(int index, Intent.TrainingPhrase value)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • setTrainingPhrases

      public Intent.Builder setTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • addTrainingPhrases

      public Intent.Builder addTrainingPhrases(Intent.TrainingPhrase value)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • addTrainingPhrases

      public Intent.Builder addTrainingPhrases(int index, Intent.TrainingPhrase value)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • addTrainingPhrases

      public Intent.Builder addTrainingPhrases(Intent.TrainingPhrase.Builder builderForValue)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • addTrainingPhrases

      public Intent.Builder addTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • addAllTrainingPhrases

      public Intent.Builder addAllTrainingPhrases(Iterable<? extends Intent.TrainingPhrase> values)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • clearTrainingPhrases

      public Intent.Builder clearTrainingPhrases()
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • removeTrainingPhrases

      public Intent.Builder removeTrainingPhrases(int index)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getTrainingPhrasesBuilder

      public Intent.TrainingPhrase.Builder getTrainingPhrasesBuilder(int index)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getTrainingPhrasesOrBuilder

      public Intent.TrainingPhraseOrBuilder getTrainingPhrasesOrBuilder(int index)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTrainingPhrasesOrBuilder in interface IntentOrBuilder
    • getTrainingPhrasesOrBuilderList

      public List<? extends Intent.TrainingPhraseOrBuilder> getTrainingPhrasesOrBuilderList()
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTrainingPhrasesOrBuilderList in interface IntentOrBuilder
    • addTrainingPhrasesBuilder

      public Intent.TrainingPhrase.Builder addTrainingPhrasesBuilder()
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • addTrainingPhrasesBuilder

      public Intent.TrainingPhrase.Builder addTrainingPhrasesBuilder(int index)
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getTrainingPhrasesBuilderList

      public List<Intent.TrainingPhrase.Builder> getTrainingPhrasesBuilderList()
       Optional. The collection of examples that the agent is
       trained on.
       
      repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getAction

      public String getAction()
       Optional. The name of the action associated with the intent.
       Note: The action name must not contain whitespaces.
       
      string action = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAction in interface IntentOrBuilder
      Returns:
      The action.
    • getActionBytes

      public com.google.protobuf.ByteString getActionBytes()
       Optional. The name of the action associated with the intent.
       Note: The action name must not contain whitespaces.
       
      string action = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getActionBytes in interface IntentOrBuilder
      Returns:
      The bytes for action.
    • setAction

      public Intent.Builder setAction(String value)
       Optional. The name of the action associated with the intent.
       Note: The action name must not contain whitespaces.
       
      string action = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The action to set.
      Returns:
      This builder for chaining.
    • clearAction

      public Intent.Builder clearAction()
       Optional. The name of the action associated with the intent.
       Note: The action name must not contain whitespaces.
       
      string action = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setActionBytes

      public Intent.Builder setActionBytes(com.google.protobuf.ByteString value)
       Optional. The name of the action associated with the intent.
       Note: The action name must not contain whitespaces.
       
      string action = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for action to set.
      Returns:
      This builder for chaining.
    • getOutputContextsList

      public List<Context> getOutputContextsList()
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputContextsList in interface IntentOrBuilder
    • getOutputContextsCount

      public int getOutputContextsCount()
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputContextsCount in interface IntentOrBuilder
    • getOutputContexts

      public Context getOutputContexts(int index)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputContexts in interface IntentOrBuilder
    • setOutputContexts

      public Intent.Builder setOutputContexts(int index, Context value)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • setOutputContexts

      public Intent.Builder setOutputContexts(int index, Context.Builder builderForValue)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputContexts

      public Intent.Builder addOutputContexts(Context value)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputContexts

      public Intent.Builder addOutputContexts(int index, Context value)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputContexts

      public Intent.Builder addOutputContexts(Context.Builder builderForValue)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputContexts

      public Intent.Builder addOutputContexts(int index, Context.Builder builderForValue)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addAllOutputContexts

      public Intent.Builder addAllOutputContexts(Iterable<? extends Context> values)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • clearOutputContexts

      public Intent.Builder clearOutputContexts()
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • removeOutputContexts

      public Intent.Builder removeOutputContexts(int index)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputContextsBuilder

      public Context.Builder getOutputContextsBuilder(int index)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputContextsOrBuilder

      public ContextOrBuilder getOutputContextsOrBuilder(int index)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputContextsOrBuilder in interface IntentOrBuilder
    • getOutputContextsOrBuilderList

      public List<? extends ContextOrBuilder> getOutputContextsOrBuilderList()
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputContextsOrBuilderList in interface IntentOrBuilder
    • addOutputContextsBuilder

      public Context.Builder addOutputContextsBuilder()
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputContextsBuilder

      public Context.Builder addOutputContextsBuilder(int index)
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputContextsBuilderList

      public List<Context.Builder> getOutputContextsBuilderList()
       Optional. The collection of contexts that are activated when the intent
       is matched. Context messages in this collection should not set the
       parameters field. Setting the `lifespan_count` to 0 will reset the context
       when the intent is matched.
       Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
       
      repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getResetContexts

      public boolean getResetContexts()
       Optional. Indicates whether to delete all contexts in the current
       session when this intent is matched.
       
      bool reset_contexts = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResetContexts in interface IntentOrBuilder
      Returns:
      The resetContexts.
    • setResetContexts

      public Intent.Builder setResetContexts(boolean value)
       Optional. Indicates whether to delete all contexts in the current
       session when this intent is matched.
       
      bool reset_contexts = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The resetContexts to set.
      Returns:
      This builder for chaining.
    • clearResetContexts

      public Intent.Builder clearResetContexts()
       Optional. Indicates whether to delete all contexts in the current
       session when this intent is matched.
       
      bool reset_contexts = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getParametersList

      public List<Intent.Parameter> getParametersList()
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersList in interface IntentOrBuilder
    • getParametersCount

      public int getParametersCount()
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersCount in interface IntentOrBuilder
    • getParameters

      public Intent.Parameter getParameters(int index)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParameters in interface IntentOrBuilder
    • setParameters

      public Intent.Builder setParameters(int index, Intent.Parameter value)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • setParameters

      public Intent.Builder setParameters(int index, Intent.Parameter.Builder builderForValue)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addParameters

      public Intent.Builder addParameters(Intent.Parameter value)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addParameters

      public Intent.Builder addParameters(int index, Intent.Parameter value)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addParameters

      public Intent.Builder addParameters(Intent.Parameter.Builder builderForValue)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addParameters

      public Intent.Builder addParameters(int index, Intent.Parameter.Builder builderForValue)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addAllParameters

      public Intent.Builder addAllParameters(Iterable<? extends Intent.Parameter> values)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • clearParameters

      public Intent.Builder clearParameters()
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • removeParameters

      public Intent.Builder removeParameters(int index)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersBuilder

      public Intent.Parameter.Builder getParametersBuilder(int index)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersOrBuilder

      public Intent.ParameterOrBuilder getParametersOrBuilder(int index)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrBuilder in interface IntentOrBuilder
    • getParametersOrBuilderList

      public List<? extends Intent.ParameterOrBuilder> getParametersOrBuilderList()
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getParametersOrBuilderList in interface IntentOrBuilder
    • addParametersBuilder

      public Intent.Parameter.Builder addParametersBuilder()
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addParametersBuilder

      public Intent.Parameter.Builder addParametersBuilder(int index)
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getParametersBuilderList

      public List<Intent.Parameter.Builder> getParametersBuilderList()
       Optional. The collection of parameters associated with the intent.
       
      repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getMessagesList

      public List<Intent.Message> getMessagesList()
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMessagesList in interface IntentOrBuilder
    • getMessagesCount

      public int getMessagesCount()
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMessagesCount in interface IntentOrBuilder
    • getMessages

      public Intent.Message getMessages(int index)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMessages in interface IntentOrBuilder
    • setMessages

      public Intent.Builder setMessages(int index, Intent.Message value)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • setMessages

      public Intent.Builder setMessages(int index, Intent.Message.Builder builderForValue)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addMessages

      public Intent.Builder addMessages(Intent.Message value)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addMessages

      public Intent.Builder addMessages(int index, Intent.Message value)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addMessages

      public Intent.Builder addMessages(Intent.Message.Builder builderForValue)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addMessages

      public Intent.Builder addMessages(int index, Intent.Message.Builder builderForValue)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addAllMessages

      public Intent.Builder addAllMessages(Iterable<? extends Intent.Message> values)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • clearMessages

      public Intent.Builder clearMessages()
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • removeMessages

      public Intent.Builder removeMessages(int index)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getMessagesBuilder

      public Intent.Message.Builder getMessagesBuilder(int index)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getMessagesOrBuilder

      public Intent.MessageOrBuilder getMessagesOrBuilder(int index)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMessagesOrBuilder in interface IntentOrBuilder
    • getMessagesOrBuilderList

      public List<? extends Intent.MessageOrBuilder> getMessagesOrBuilderList()
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMessagesOrBuilderList in interface IntentOrBuilder
    • addMessagesBuilder

      public Intent.Message.Builder addMessagesBuilder()
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addMessagesBuilder

      public Intent.Message.Builder addMessagesBuilder(int index)
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getMessagesBuilderList

      public List<Intent.Message.Builder> getMessagesBuilderList()
       Optional. The collection of rich messages corresponding to the
       `Response` field in the Dialogflow console.
       
      repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getDefaultResponsePlatformsList

      public List<Intent.Message.Platform> getDefaultResponsePlatformsList()
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultResponsePlatformsList in interface IntentOrBuilder
      Returns:
      A list containing the defaultResponsePlatforms.
    • getDefaultResponsePlatformsCount

      public int getDefaultResponsePlatformsCount()
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultResponsePlatformsCount in interface IntentOrBuilder
      Returns:
      The count of defaultResponsePlatforms.
    • getDefaultResponsePlatforms

      public Intent.Message.Platform getDefaultResponsePlatforms(int index)
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultResponsePlatforms in interface IntentOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The defaultResponsePlatforms at the given index.
    • setDefaultResponsePlatforms

      public Intent.Builder setDefaultResponsePlatforms(int index, Intent.Message.Platform value)
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The defaultResponsePlatforms to set.
      Returns:
      This builder for chaining.
    • addDefaultResponsePlatforms

      public Intent.Builder addDefaultResponsePlatforms(Intent.Message.Platform value)
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The defaultResponsePlatforms to add.
      Returns:
      This builder for chaining.
    • addAllDefaultResponsePlatforms

      public Intent.Builder addAllDefaultResponsePlatforms(Iterable<? extends Intent.Message.Platform> values)
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The defaultResponsePlatforms to add.
      Returns:
      This builder for chaining.
    • clearDefaultResponsePlatforms

      public Intent.Builder clearDefaultResponsePlatforms()
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getDefaultResponsePlatformsValueList

      public List<Integer> getDefaultResponsePlatformsValueList()
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultResponsePlatformsValueList in interface IntentOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for defaultResponsePlatforms.
    • getDefaultResponsePlatformsValue

      public int getDefaultResponsePlatformsValue(int index)
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultResponsePlatformsValue in interface IntentOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of defaultResponsePlatforms at the given index.
    • setDefaultResponsePlatformsValue

      public Intent.Builder setDefaultResponsePlatformsValue(int index, int value)
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for defaultResponsePlatforms to set.
      Returns:
      This builder for chaining.
    • addDefaultResponsePlatformsValue

      public Intent.Builder addDefaultResponsePlatformsValue(int value)
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for defaultResponsePlatforms to add.
      Returns:
      This builder for chaining.
    • addAllDefaultResponsePlatformsValue

      public Intent.Builder addAllDefaultResponsePlatformsValue(Iterable<Integer> values)
       Optional. The list of platforms for which the first responses will be
       copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
       
      repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum numeric values on the wire for defaultResponsePlatforms to add.
      Returns:
      This builder for chaining.
    • getRootFollowupIntentName

      public String getRootFollowupIntentName()
       Output only.
       Read-only. The unique identifier of the root intent in the chain of
       followup intents. It identifies the correct followup intents chain for
       this intent. We populate this field only in the output.
      
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRootFollowupIntentName in interface IntentOrBuilder
      Returns:
      The rootFollowupIntentName.
    • getRootFollowupIntentNameBytes

      public com.google.protobuf.ByteString getRootFollowupIntentNameBytes()
       Output only.
       Read-only. The unique identifier of the root intent in the chain of
       followup intents. It identifies the correct followup intents chain for
       this intent. We populate this field only in the output.
      
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRootFollowupIntentNameBytes in interface IntentOrBuilder
      Returns:
      The bytes for rootFollowupIntentName.
    • setRootFollowupIntentName

      public Intent.Builder setRootFollowupIntentName(String value)
       Output only.
       Read-only. The unique identifier of the root intent in the chain of
       followup intents. It identifies the correct followup intents chain for
       this intent. We populate this field only in the output.
      
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The rootFollowupIntentName to set.
      Returns:
      This builder for chaining.
    • clearRootFollowupIntentName

      public Intent.Builder clearRootFollowupIntentName()
       Output only.
       Read-only. The unique identifier of the root intent in the chain of
       followup intents. It identifies the correct followup intents chain for
       this intent. We populate this field only in the output.
      
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setRootFollowupIntentNameBytes

      public Intent.Builder setRootFollowupIntentNameBytes(com.google.protobuf.ByteString value)
       Output only.
       Read-only. The unique identifier of the root intent in the chain of
       followup intents. It identifies the correct followup intents chain for
       this intent. We populate this field only in the output.
      
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for rootFollowupIntentName to set.
      Returns:
      This builder for chaining.
    • getParentFollowupIntentName

      public String getParentFollowupIntentName()
       Read-only after creation. The unique identifier of the parent intent in the
       chain of followup intents. You can set this field when creating an intent,
       for example with
       [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or
       [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents],
       in order to make this intent a followup intent.
      
       It identifies the parent followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 17;
      Specified by:
      getParentFollowupIntentName in interface IntentOrBuilder
      Returns:
      The parentFollowupIntentName.
    • getParentFollowupIntentNameBytes

      public com.google.protobuf.ByteString getParentFollowupIntentNameBytes()
       Read-only after creation. The unique identifier of the parent intent in the
       chain of followup intents. You can set this field when creating an intent,
       for example with
       [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or
       [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents],
       in order to make this intent a followup intent.
      
       It identifies the parent followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 17;
      Specified by:
      getParentFollowupIntentNameBytes in interface IntentOrBuilder
      Returns:
      The bytes for parentFollowupIntentName.
    • setParentFollowupIntentName

      public Intent.Builder setParentFollowupIntentName(String value)
       Read-only after creation. The unique identifier of the parent intent in the
       chain of followup intents. You can set this field when creating an intent,
       for example with
       [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or
       [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents],
       in order to make this intent a followup intent.
      
       It identifies the parent followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 17;
      Parameters:
      value - The parentFollowupIntentName to set.
      Returns:
      This builder for chaining.
    • clearParentFollowupIntentName

      public Intent.Builder clearParentFollowupIntentName()
       Read-only after creation. The unique identifier of the parent intent in the
       chain of followup intents. You can set this field when creating an intent,
       for example with
       [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or
       [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents],
       in order to make this intent a followup intent.
      
       It identifies the parent followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 17;
      Returns:
      This builder for chaining.
    • setParentFollowupIntentNameBytes

      public Intent.Builder setParentFollowupIntentNameBytes(com.google.protobuf.ByteString value)
       Read-only after creation. The unique identifier of the parent intent in the
       chain of followup intents. You can set this field when creating an intent,
       for example with
       [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or
       [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents],
       in order to make this intent a followup intent.
      
       It identifies the parent followup intent.
       Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
       
      string parent_followup_intent_name = 17;
      Parameters:
      value - The bytes for parentFollowupIntentName to set.
      Returns:
      This builder for chaining.
    • getFollowupIntentInfoList

      public List<Intent.FollowupIntentInfo> getFollowupIntentInfoList()
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFollowupIntentInfoList in interface IntentOrBuilder
    • getFollowupIntentInfoCount

      public int getFollowupIntentInfoCount()
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFollowupIntentInfoCount in interface IntentOrBuilder
    • getFollowupIntentInfo

      public Intent.FollowupIntentInfo getFollowupIntentInfo(int index)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFollowupIntentInfo in interface IntentOrBuilder
    • setFollowupIntentInfo

      public Intent.Builder setFollowupIntentInfo(int index, Intent.FollowupIntentInfo value)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setFollowupIntentInfo

      public Intent.Builder setFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFollowupIntentInfo

      public Intent.Builder addFollowupIntentInfo(Intent.FollowupIntentInfo value)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFollowupIntentInfo

      public Intent.Builder addFollowupIntentInfo(int index, Intent.FollowupIntentInfo value)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFollowupIntentInfo

      public Intent.Builder addFollowupIntentInfo(Intent.FollowupIntentInfo.Builder builderForValue)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFollowupIntentInfo

      public Intent.Builder addFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllFollowupIntentInfo

      public Intent.Builder addAllFollowupIntentInfo(Iterable<? extends Intent.FollowupIntentInfo> values)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearFollowupIntentInfo

      public Intent.Builder clearFollowupIntentInfo()
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeFollowupIntentInfo

      public Intent.Builder removeFollowupIntentInfo(int index)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFollowupIntentInfoBuilder

      public Intent.FollowupIntentInfo.Builder getFollowupIntentInfoBuilder(int index)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFollowupIntentInfoOrBuilder

      public Intent.FollowupIntentInfoOrBuilder getFollowupIntentInfoOrBuilder(int index)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFollowupIntentInfoOrBuilder in interface IntentOrBuilder
    • getFollowupIntentInfoOrBuilderList

      public List<? extends Intent.FollowupIntentInfoOrBuilder> getFollowupIntentInfoOrBuilderList()
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFollowupIntentInfoOrBuilderList in interface IntentOrBuilder
    • addFollowupIntentInfoBuilder

      public Intent.FollowupIntentInfo.Builder addFollowupIntentInfoBuilder()
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addFollowupIntentInfoBuilder

      public Intent.FollowupIntentInfo.Builder addFollowupIntentInfoBuilder(int index)
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFollowupIntentInfoBuilderList

      public List<Intent.FollowupIntentInfo.Builder> getFollowupIntentInfoBuilderList()
       Output only. Read-only. Information about all followup intents that have
       this intent as a direct or indirect parent. We populate this field only in
       the output.
       
      repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];