public static final class Intent.Builder extends GeneratedMessageV3.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.v2beta1.Intent
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Builder>
public Intent.Builder mergeFrom(Intent other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Builder>
IOException
public String getName()
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] methods. Supported formats: - `projects/<Project ID>/agent/intents/<Intent ID>` - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
getName
in interface IntentOrBuilder
public ByteString getNameBytes()
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] methods. Supported formats: - `projects/<Project ID>/agent/intents/<Intent ID>` - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
getNameBytes
in interface IntentOrBuilder
public Intent.Builder setName(String value)
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] methods. Supported formats: - `projects/<Project ID>/agent/intents/<Intent ID>` - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The name to set.public Intent.Builder clearName()
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] methods. Supported formats: - `projects/<Project ID>/agent/intents/<Intent ID>` - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder setNameBytes(ByteString value)
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] methods. Supported formats: - `projects/<Project ID>/agent/intents/<Intent ID>` - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>`
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for name to set.public String getDisplayName()
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayName
in interface IntentOrBuilder
public ByteString getDisplayNameBytes()
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayNameBytes
in interface IntentOrBuilder
public Intent.Builder setDisplayName(String value)
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The displayName to set.public Intent.Builder clearDisplayName()
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
public Intent.Builder setDisplayNameBytes(ByteString value)
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for displayName to set.public int getWebhookStateValue()
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
getWebhookStateValue
in interface IntentOrBuilder
public Intent.Builder setWebhookStateValue(int value)
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
value
- The enum numeric value on the wire for webhookState to set.public Intent.WebhookState getWebhookState()
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
getWebhookState
in interface IntentOrBuilder
public Intent.Builder setWebhookState(Intent.WebhookState value)
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
value
- The webhookState to set.public Intent.Builder clearWebhookState()
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];
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];
getPriority
in interface IntentOrBuilder
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];
value
- The priority to set.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];
public boolean getIsFallback()
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];
getIsFallback
in interface IntentOrBuilder
public Intent.Builder setIsFallback(boolean value)
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The isFallback to set.public Intent.Builder clearIsFallback()
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public boolean getMlEnabled()
Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
bool ml_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getMlEnabled
in interface IntentOrBuilder
@Deprecated public Intent.Builder setMlEnabled(boolean value)
Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
bool ml_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
value
- The mlEnabled to set.@Deprecated public Intent.Builder clearMlEnabled()
Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
bool ml_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
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];
getMlDisabled
in interface IntentOrBuilder
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];
value
- The mlDisabled to set.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];
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];
getLiveAgentHandoff
in interface IntentOrBuilder
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];
value
- The liveAgentHandoff to set.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];
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];
getEndInteraction
in interface IntentOrBuilder
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];
value
- The endInteraction to set.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];
public ProtocolStringList getInputContextNamesList()
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
getInputContextNamesList
in interface IntentOrBuilder
public int getInputContextNamesCount()
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
getInputContextNamesCount
in interface IntentOrBuilder
public String getInputContextNames(int index)
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
getInputContextNames
in interface IntentOrBuilder
index
- The index of the element to return.public ByteString getInputContextNamesBytes(int index)
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
getInputContextNamesBytes
in interface IntentOrBuilder
index
- The index of the value to return.public Intent.Builder setInputContextNames(int index, String value)
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
index
- The index to set the value at.value
- The inputContextNames to set.public Intent.Builder addInputContextNames(String value)
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
value
- The inputContextNames to add.public Intent.Builder addAllInputContextNames(Iterable<String> values)
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
values
- The inputContextNames to add.public Intent.Builder clearInputContextNames()
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addInputContextNamesBytes(ByteString value)
Optional. The list of context names required for this intent to be triggered. Formats: - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` - `projects/<Project ID>/locations/<Location ID>/agent/sessions/-/contexts/<Context ID>`
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes of the inputContextNames to add.public 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];
getEventsList
in interface IntentOrBuilder
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];
getEventsCount
in interface IntentOrBuilder
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];
getEvents
in interface IntentOrBuilder
index
- The index of the element to return.public 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];
getEventsBytes
in interface IntentOrBuilder
index
- The index of the value to return.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];
index
- The index to set the value at.value
- The events to set.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];
value
- The events to add.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];
values
- The events to add.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];
public Intent.Builder addEventsBytes(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];
value
- The bytes of the events to add.public List<Intent.TrainingPhrase> getTrainingPhrasesList()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrasesList
in interface IntentOrBuilder
public int getTrainingPhrasesCount()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrasesCount
in interface IntentOrBuilder
public Intent.TrainingPhrase getTrainingPhrases(int index)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrases
in interface IntentOrBuilder
public Intent.Builder setTrainingPhrases(int index, Intent.TrainingPhrase value)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addTrainingPhrases(Intent.TrainingPhrase value)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addTrainingPhrases(int index, Intent.TrainingPhrase value)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addTrainingPhrases(Intent.TrainingPhrase.Builder builderForValue)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addAllTrainingPhrases(Iterable<? extends Intent.TrainingPhrase> values)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder clearTrainingPhrases()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder removeTrainingPhrases(int index)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.TrainingPhrase.Builder getTrainingPhrasesBuilder(int index)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.TrainingPhraseOrBuilder getTrainingPhrasesOrBuilder(int index)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrasesOrBuilder
in interface IntentOrBuilder
public List<? extends Intent.TrainingPhraseOrBuilder> getTrainingPhrasesOrBuilderList()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
getTrainingPhrasesOrBuilderList
in interface IntentOrBuilder
public Intent.TrainingPhrase.Builder addTrainingPhrasesBuilder()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public Intent.TrainingPhrase.Builder addTrainingPhrasesBuilder(int index)
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
public List<Intent.TrainingPhrase.Builder> getTrainingPhrasesBuilderList()
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];
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];
getAction
in interface IntentOrBuilder
public 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];
getActionBytes
in interface IntentOrBuilder
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];
value
- The action to set.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];
public Intent.Builder setActionBytes(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];
value
- The bytes for action to set.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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContextsList
in interface IntentOrBuilder
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContextsCount
in interface IntentOrBuilder
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContexts
in interface IntentOrBuilder
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContextsOrBuilder
in interface IntentOrBuilder
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
getOutputContextsOrBuilderList
in interface IntentOrBuilder
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];
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];
getResetContexts
in interface IntentOrBuilder
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];
value
- The resetContexts to set.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];
public List<Intent.Parameter> getParametersList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParametersList
in interface IntentOrBuilder
public int getParametersCount()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParametersCount
in interface IntentOrBuilder
public Intent.Parameter getParameters(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParameters
in interface IntentOrBuilder
public Intent.Builder setParameters(int index, Intent.Parameter value)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder setParameters(int index, Intent.Parameter.Builder builderForValue)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addParameters(Intent.Parameter value)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addParameters(int index, Intent.Parameter value)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addParameters(Intent.Parameter.Builder builderForValue)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addParameters(int index, Intent.Parameter.Builder builderForValue)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder addAllParameters(Iterable<? extends Intent.Parameter> values)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder clearParameters()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder removeParameters(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Parameter.Builder getParametersBuilder(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.ParameterOrBuilder getParametersOrBuilder(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParametersOrBuilder
in interface IntentOrBuilder
public List<? extends Intent.ParameterOrBuilder> getParametersOrBuilderList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
getParametersOrBuilderList
in interface IntentOrBuilder
public Intent.Parameter.Builder addParametersBuilder()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Parameter.Builder addParametersBuilder(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public List<Intent.Parameter.Builder> getParametersBuilderList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];
public List<Intent.Message> getMessagesList()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesList
in interface IntentOrBuilder
public int getMessagesCount()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesCount
in interface IntentOrBuilder
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.v2beta1.Intent.Message messages = 14;
getMessages
in interface IntentOrBuilder
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
public Intent.Builder clearMessages()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
getMessagesOrBuilder
in interface IntentOrBuilder
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.v2beta1.Intent.Message messages = 14;
getMessagesOrBuilderList
in interface IntentOrBuilder
public Intent.Message.Builder addMessagesBuilder()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message messages = 14;
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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatformsList
in interface IntentOrBuilder
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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatformsCount
in interface IntentOrBuilder
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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatforms
in interface IntentOrBuilder
index
- The index of the element to return.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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
index
- The index to set the value at.value
- The defaultResponsePlatforms to set.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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
value
- The defaultResponsePlatforms to add.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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
values
- The defaultResponsePlatforms to add.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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatformsValueList
in interface IntentOrBuilder
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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
getDefaultResponsePlatformsValue
in interface IntentOrBuilder
index
- The index of the value to return.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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
index
- The index to set the value at.value
- The enum numeric value on the wire for defaultResponsePlatforms to set.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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
value
- The enum numeric value on the wire for defaultResponsePlatforms to add.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.v2beta1.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];
values
- The enum numeric values on the wire for defaultResponsePlatforms to add.public String getRootFollowupIntentName()
Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRootFollowupIntentName
in interface IntentOrBuilder
public ByteString getRootFollowupIntentNameBytes()
Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRootFollowupIntentNameBytes
in interface IntentOrBuilder
public Intent.Builder setRootFollowupIntentName(String value)
Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The rootFollowupIntentName to set.public Intent.Builder clearRootFollowupIntentName()
Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder setRootFollowupIntentNameBytes(ByteString value)
Output only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for rootFollowupIntentName to set.public String getParentFollowupIntentName()
Optional. 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.v2beta1.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.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 [(.google.api.field_behavior) = OPTIONAL];
getParentFollowupIntentName
in interface IntentOrBuilder
public ByteString getParentFollowupIntentNameBytes()
Optional. 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.v2beta1.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.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 [(.google.api.field_behavior) = OPTIONAL];
getParentFollowupIntentNameBytes
in interface IntentOrBuilder
public Intent.Builder setParentFollowupIntentName(String value)
Optional. 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.v2beta1.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.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 [(.google.api.field_behavior) = OPTIONAL];
value
- The parentFollowupIntentName to set.public Intent.Builder clearParentFollowupIntentName()
Optional. 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.v2beta1.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.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 [(.google.api.field_behavior) = OPTIONAL];
public Intent.Builder setParentFollowupIntentNameBytes(ByteString value)
Optional. 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.v2beta1.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.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 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for parentFollowupIntentName to set.public List<Intent.FollowupIntentInfo> getFollowupIntentInfoList()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfoList
in interface IntentOrBuilder
public int getFollowupIntentInfoCount()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfoCount
in interface IntentOrBuilder
public Intent.FollowupIntentInfo getFollowupIntentInfo(int index)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfo
in interface IntentOrBuilder
public Intent.Builder setFollowupIntentInfo(int index, Intent.FollowupIntentInfo value)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder setFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder addFollowupIntentInfo(Intent.FollowupIntentInfo value)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder addFollowupIntentInfo(int index, Intent.FollowupIntentInfo value)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder addFollowupIntentInfo(Intent.FollowupIntentInfo.Builder builderForValue)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder addFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder addAllFollowupIntentInfo(Iterable<? extends Intent.FollowupIntentInfo> values)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder clearFollowupIntentInfo()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.Builder removeFollowupIntentInfo(int index)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.FollowupIntentInfo.Builder getFollowupIntentInfoBuilder(int index)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.FollowupIntentInfoOrBuilder getFollowupIntentInfoOrBuilder(int index)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfoOrBuilder
in interface IntentOrBuilder
public List<? extends Intent.FollowupIntentInfoOrBuilder> getFollowupIntentInfoOrBuilderList()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFollowupIntentInfoOrBuilderList
in interface IntentOrBuilder
public Intent.FollowupIntentInfo.Builder addFollowupIntentInfoBuilder()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Intent.FollowupIntentInfo.Builder addFollowupIntentInfoBuilder(int index)
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Intent.FollowupIntentInfo.Builder> getFollowupIntentInfoBuilderList()
Output 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.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Intent.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Builder>
public final Intent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Builder>
Copyright © 2022 Google LLC. All rights reserved.