public static final class Intent.Builder extends com.google.protobuf.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.IntentgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Intent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Intent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Intent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Builder>public Intent.Builder mergeFrom(Intent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public Intent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Builder>IOExceptionpublic 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 IntentOrBuilderpublic com.google.protobuf.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 IntentOrBuilderpublic 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(com.google.protobuf.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 IntentOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface IntentOrBuilderpublic 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(com.google.protobuf.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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 com.google.protobuf.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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderindex - The index of the element to return.public com.google.protobuf.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 IntentOrBuilderindex - 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(com.google.protobuf.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 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];getEventsList in interface IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderindex - The index of the element to return.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];getEventsBytes in interface IntentOrBuilderindex - 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(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];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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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];getActionBytes in interface IntentOrBuilderpublic 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(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];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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderindex - 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 IntentOrBuilderpublic 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 IntentOrBuilderindex - 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 IntentOrBuilderpublic com.google.protobuf.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 IntentOrBuilderpublic 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(com.google.protobuf.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 IntentOrBuilderpublic com.google.protobuf.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 IntentOrBuilderpublic 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(com.google.protobuf.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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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 IntentOrBuilderpublic 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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>public final Intent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Builder>Copyright © 2023 Google LLC. All rights reserved.