Package com.google.cloud.dialogflow.v2
Class Intent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
com.google.cloud.dialogflow.v2.Intent.Builder
- All Implemented Interfaces:
IntentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Intent
public static final class Intent.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
implements IntentOrBuilder
An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).Protobuf type
google.cloud.dialogflow.v2.Intent-
Method Summary
Modifier and TypeMethodDescriptionaddAllDefaultResponsePlatforms(Iterable<? extends Intent.Message.Platform> values) Optional.Optional.addAllEvents(Iterable<String> values) Optional.addAllFollowupIntentInfo(Iterable<? extends Intent.FollowupIntentInfo> values) Output only.addAllInputContextNames(Iterable<String> values) Optional.addAllMessages(Iterable<? extends Intent.Message> values) Optional.addAllOutputContexts(Iterable<? extends Context> values) Optional.addAllParameters(Iterable<? extends Intent.Parameter> values) Optional.addAllTrainingPhrases(Iterable<? extends Intent.TrainingPhrase> values) Optional.Optional.addDefaultResponsePlatformsValue(int value) Optional.Optional.addEventsBytes(com.google.protobuf.ByteString value) Optional.addFollowupIntentInfo(int index, Intent.FollowupIntentInfo value) Output only.addFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue) Output only.Output only.addFollowupIntentInfo(Intent.FollowupIntentInfo.Builder builderForValue) Output only.Output only.addFollowupIntentInfoBuilder(int index) Output only.addInputContextNames(String value) Optional.addInputContextNamesBytes(com.google.protobuf.ByteString value) Optional.addMessages(int index, Intent.Message value) Optional.addMessages(int index, Intent.Message.Builder builderForValue) Optional.addMessages(Intent.Message value) Optional.addMessages(Intent.Message.Builder builderForValue) Optional.Optional.addMessagesBuilder(int index) Optional.addOutputContexts(int index, Context value) Optional.addOutputContexts(int index, Context.Builder builderForValue) Optional.addOutputContexts(Context value) Optional.addOutputContexts(Context.Builder builderForValue) Optional.Optional.addOutputContextsBuilder(int index) Optional.addParameters(int index, Intent.Parameter value) Optional.addParameters(int index, Intent.Parameter.Builder builderForValue) Optional.addParameters(Intent.Parameter value) Optional.addParameters(Intent.Parameter.Builder builderForValue) Optional.Optional.addParametersBuilder(int index) Optional.addTrainingPhrases(int index, Intent.TrainingPhrase value) Optional.addTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue) Optional.Optional.addTrainingPhrases(Intent.TrainingPhrase.Builder builderForValue) Optional.Optional.addTrainingPhrasesBuilder(int index) Optional.build()clear()Optional.Optional.Required.Optional.Optional.Output only.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Read-only after creation.Optional.Optional.Output only.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.getDefaultResponsePlatforms(int index) Optional.intOptional.Optional.intgetDefaultResponsePlatformsValue(int index) Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.booleanOptional.getEvents(int index) Optional.com.google.protobuf.ByteStringgetEventsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getFollowupIntentInfo(int index) Output only.getFollowupIntentInfoBuilder(int index) Output only.Output only.intOutput only.Output only.getFollowupIntentInfoOrBuilder(int index) Output only.List<? extends Intent.FollowupIntentInfoOrBuilder>Output only.getInputContextNames(int index) Optional.com.google.protobuf.ByteStringgetInputContextNamesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanOptional.booleanOptional.getMessages(int index) Optional.getMessagesBuilder(int index) Optional.Optional.intOptional.Optional.getMessagesOrBuilder(int index) Optional.List<? extends Intent.MessageOrBuilder>Optional.booleanOptional.getName()Optional.com.google.protobuf.ByteStringOptional.getOutputContexts(int index) Optional.getOutputContextsBuilder(int index) Optional.Optional.intOptional.Optional.getOutputContextsOrBuilder(int index) Optional.List<? extends ContextOrBuilder>Optional.getParameters(int index) Optional.getParametersBuilder(int index) Optional.Optional.intOptional.Optional.getParametersOrBuilder(int index) Optional.List<? extends Intent.ParameterOrBuilder>Optional.Read-only after creation.com.google.protobuf.ByteStringRead-only after creation.intOptional.booleanOptional.Output only.com.google.protobuf.ByteStringOutput only.getTrainingPhrases(int index) Optional.getTrainingPhrasesBuilder(int index) Optional.Optional.intOptional.Optional.getTrainingPhrasesOrBuilder(int index) Optional.List<? extends Intent.TrainingPhraseOrBuilder>Optional.Optional.intOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFollowupIntentInfo(int index) Output only.removeMessages(int index) Optional.removeOutputContexts(int index) Optional.removeParameters(int index) Optional.removeTrainingPhrases(int index) Optional.Optional.setActionBytes(com.google.protobuf.ByteString value) Optional.setDefaultResponsePlatforms(int index, Intent.Message.Platform value) Optional.setDefaultResponsePlatformsValue(int index, int value) Optional.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setEndInteraction(boolean value) Optional.Optional.setFollowupIntentInfo(int index, Intent.FollowupIntentInfo value) Output only.setFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue) Output only.setInputContextNames(int index, String value) Optional.setIsFallback(boolean value) Optional.setLiveAgentHandoff(boolean value) Optional.setMessages(int index, Intent.Message value) Optional.setMessages(int index, Intent.Message.Builder builderForValue) Optional.setMlDisabled(boolean value) Optional.Optional.setNameBytes(com.google.protobuf.ByteString value) Optional.setOutputContexts(int index, Context value) Optional.setOutputContexts(int index, Context.Builder builderForValue) Optional.setParameters(int index, Intent.Parameter value) Optional.setParameters(int index, Intent.Parameter.Builder builderForValue) Optional.Read-only after creation.setParentFollowupIntentNameBytes(com.google.protobuf.ByteString value) Read-only after creation.setPriority(int value) Optional.setResetContexts(boolean value) Optional.setRootFollowupIntentName(String value) Output only.setRootFollowupIntentNameBytes(com.google.protobuf.ByteString value) Output only.setTrainingPhrases(int index, Intent.TrainingPhrase value) Optional.setTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue) Optional.Optional.setWebhookStateValue(int value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Intent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Intent.Builder>
-
mergeFrom
public Intent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Intent.Builder>- Throws:
IOException
-
getName
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] methods. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamein interfaceIntentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] methods. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for name.
-
setName
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] methods. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] methods. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNameBytes
Optional. The unique identifier of this intent. Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents] methods. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceIntentOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. The name of this intent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getWebhookStateValue
public int getWebhookStateValue()Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWebhookStateValuein interfaceIntentOrBuilder- Returns:
- The enum numeric value on the wire for webhookState.
-
setWebhookStateValue
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for webhookState to set.- Returns:
- This builder for chaining.
-
getWebhookState
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWebhookStatein interfaceIntentOrBuilder- Returns:
- The webhookState.
-
setWebhookState
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The webhookState to set.- Returns:
- This builder for chaining.
-
clearWebhookState
Optional. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2.Intent.WebhookState webhook_state = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getPriority
public int getPriority()Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPriorityin interfaceIntentOrBuilder- Returns:
- The priority.
-
setPriority
Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
Optional. The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.
int32 priority = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getIsFallback
public boolean getIsFallback()Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getIsFallbackin interfaceIntentOrBuilder- Returns:
- The isFallback.
-
setIsFallback
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The isFallback to set.- Returns:
- This builder for chaining.
-
clearIsFallback
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getMlDisabled
public boolean getMlDisabled()Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
bool ml_disabled = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMlDisabledin interfaceIntentOrBuilder- Returns:
- The mlDisabled.
-
setMlDisabled
Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
bool ml_disabled = 19 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The mlDisabled to set.- Returns:
- This builder for chaining.
-
clearMlDisabled
Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
bool ml_disabled = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getLiveAgentHandoff
public boolean getLiveAgentHandoff()Optional. Indicates that a live agent should be brought in to handle the interaction with the user. In most cases, when you set this flag to true, you would also want to set end_interaction to true as well. Default is false.
bool live_agent_handoff = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLiveAgentHandoffin interfaceIntentOrBuilder- Returns:
- The liveAgentHandoff.
-
setLiveAgentHandoff
Optional. Indicates that a live agent should be brought in to handle the interaction with the user. In most cases, when you set this flag to true, you would also want to set end_interaction to true as well. Default is false.
bool live_agent_handoff = 20 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The liveAgentHandoff to set.- Returns:
- This builder for chaining.
-
clearLiveAgentHandoff
Optional. Indicates that a live agent should be brought in to handle the interaction with the user. In most cases, when you set this flag to true, you would also want to set end_interaction to true as well. Default is false.
bool live_agent_handoff = 20 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getEndInteraction
public boolean getEndInteraction()Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
bool end_interaction = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEndInteractionin interfaceIntentOrBuilder- Returns:
- The endInteraction.
-
setEndInteraction
Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
bool end_interaction = 21 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The endInteraction to set.- Returns:
- This builder for chaining.
-
clearEndInteraction
Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
bool end_interaction = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getInputContextNamesList
public com.google.protobuf.ProtocolStringList getInputContextNamesList()Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputContextNamesListin interfaceIntentOrBuilder- Returns:
- A list containing the inputContextNames.
-
getInputContextNamesCount
public int getInputContextNamesCount()Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputContextNamesCountin interfaceIntentOrBuilder- Returns:
- The count of inputContextNames.
-
getInputContextNames
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputContextNamesin interfaceIntentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inputContextNames at the given index.
-
getInputContextNamesBytes
public com.google.protobuf.ByteString getInputContextNamesBytes(int index) Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInputContextNamesBytesin interfaceIntentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputContextNames at the given index.
-
setInputContextNames
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The inputContextNames to set.- Returns:
- This builder for chaining.
-
addInputContextNames
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The inputContextNames to add.- Returns:
- This builder for chaining.
-
addAllInputContextNames
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The inputContextNames to add.- Returns:
- This builder for chaining.
-
clearInputContextNames
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addInputContextNamesBytes
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the inputContextNames to add.- Returns:
- This builder for chaining.
-
getEventsList
public com.google.protobuf.ProtocolStringList getEventsList()Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventsListin interfaceIntentOrBuilder- Returns:
- A list containing the events.
-
getEventsCount
public int getEventsCount()Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventsCountin interfaceIntentOrBuilder- Returns:
- The count of events.
-
getEvents
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventsin interfaceIntentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The events at the given index.
-
getEventsBytes
public com.google.protobuf.ByteString getEventsBytes(int index) Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventsBytesin interfaceIntentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the events at the given index.
-
setEvents
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The events to set.- Returns:
- This builder for chaining.
-
addEvents
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The events to add.- Returns:
- This builder for chaining.
-
addAllEvents
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The events to add.- Returns:
- This builder for chaining.
-
clearEvents
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addEventsBytes
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent. Event names are limited to 150 characters.
repeated string events = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the events to add.- Returns:
- This builder for chaining.
-
getTrainingPhrasesList
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesListin interfaceIntentOrBuilder
-
getTrainingPhrasesCount
public int getTrainingPhrasesCount()Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesCountin interfaceIntentOrBuilder
-
getTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesin interfaceIntentOrBuilder
-
setTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
setTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addAllTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
clearTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
removeTrainingPhrases
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getTrainingPhrasesBuilder
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getTrainingPhrasesOrBuilder
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesOrBuilderin interfaceIntentOrBuilder
-
getTrainingPhrasesOrBuilderList
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTrainingPhrasesOrBuilderListin interfaceIntentOrBuilder
-
addTrainingPhrasesBuilder
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
addTrainingPhrasesBuilder
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getTrainingPhrasesBuilderList
Optional. The collection of examples that the agent is trained on.
repeated .google.cloud.dialogflow.v2.Intent.TrainingPhrase training_phrases = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getAction
Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionin interfaceIntentOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getActionBytesin interfaceIntentOrBuilder- Returns:
- The bytes for action.
-
setAction
Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setActionBytes
Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for action to set.- Returns:
- This builder for chaining.
-
getOutputContextsList
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsListin interfaceIntentOrBuilder
-
getOutputContextsCount
public int getOutputContextsCount()Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsCountin interfaceIntentOrBuilder
-
getOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsin interfaceIntentOrBuilder
-
setOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
setOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
addOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
addOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
addOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
addOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
addAllOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
clearOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
removeOutputContexts
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getOutputContextsBuilder
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getOutputContextsOrBuilder
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsOrBuilderin interfaceIntentOrBuilder
-
getOutputContextsOrBuilderList
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputContextsOrBuilderListin interfaceIntentOrBuilder
-
addOutputContextsBuilder
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
addOutputContextsBuilder
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getOutputContextsBuilderList
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getResetContexts
public boolean getResetContexts()Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getResetContextsin interfaceIntentOrBuilder- Returns:
- The resetContexts.
-
setResetContexts
Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The resetContexts to set.- Returns:
- This builder for chaining.
-
clearResetContexts
Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getParametersList
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersListin interfaceIntentOrBuilder
-
getParametersCount
public int getParametersCount()Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersCountin interfaceIntentOrBuilder
-
getParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersin interfaceIntentOrBuilder
-
setParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
setParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
addParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
addParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
addParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
addParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
addAllParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
clearParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
removeParameters
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getParametersBuilder
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getParametersOrBuilder
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersOrBuilderin interfaceIntentOrBuilder
-
getParametersOrBuilderList
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersOrBuilderListin interfaceIntentOrBuilder
-
addParametersBuilder
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
addParametersBuilder
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getParametersBuilderList
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2.Intent.Parameter parameters = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getMessagesList
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesListin interfaceIntentOrBuilder
-
getMessagesCount
public int getMessagesCount()Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesCountin interfaceIntentOrBuilder
-
getMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesin interfaceIntentOrBuilder
-
setMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
setMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
addMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
addMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
addMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
addMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
addAllMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
clearMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
removeMessages
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
getMessagesBuilder
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
getMessagesOrBuilder
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesOrBuilderin interfaceIntentOrBuilder
-
getMessagesOrBuilderList
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMessagesOrBuilderListin interfaceIntentOrBuilder
-
addMessagesBuilder
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
addMessagesBuilder
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
getMessagesBuilderList
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2.Intent.Message messages = 14 [(.google.api.field_behavior) = OPTIONAL]; -
getDefaultResponsePlatformsList
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsListin interfaceIntentOrBuilder- Returns:
- A list containing the defaultResponsePlatforms.
-
getDefaultResponsePlatformsCount
public int getDefaultResponsePlatformsCount()Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsCountin interfaceIntentOrBuilder- Returns:
- The count of defaultResponsePlatforms.
-
getDefaultResponsePlatforms
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsin interfaceIntentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The defaultResponsePlatforms at the given index.
-
setDefaultResponsePlatforms
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The defaultResponsePlatforms to set.- Returns:
- This builder for chaining.
-
addDefaultResponsePlatforms
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The defaultResponsePlatforms to add.- Returns:
- This builder for chaining.
-
addAllDefaultResponsePlatforms
public Intent.Builder addAllDefaultResponsePlatforms(Iterable<? extends Intent.Message.Platform> values) Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The defaultResponsePlatforms to add.- Returns:
- This builder for chaining.
-
clearDefaultResponsePlatforms
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDefaultResponsePlatformsValueList
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsValueListin interfaceIntentOrBuilder- Returns:
- A list containing the enum numeric values on the wire for defaultResponsePlatforms.
-
getDefaultResponsePlatformsValue
public int getDefaultResponsePlatformsValue(int index) Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultResponsePlatformsValuein interfaceIntentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of defaultResponsePlatforms at the given index.
-
setDefaultResponsePlatformsValue
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for defaultResponsePlatforms to set.- Returns:
- This builder for chaining.
-
addDefaultResponsePlatformsValue
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for defaultResponsePlatforms to add.- Returns:
- This builder for chaining.
-
addAllDefaultResponsePlatformsValue
Optional. The list of platforms for which the first responses will be copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
repeated .google.cloud.dialogflow.v2.Intent.Message.Platform default_response_platforms = 15 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The enum numeric values on the wire for defaultResponsePlatforms to add.- Returns:
- This builder for chaining.
-
getRootFollowupIntentName
Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRootFollowupIntentNamein interfaceIntentOrBuilder- Returns:
- The rootFollowupIntentName.
-
getRootFollowupIntentNameBytes
public com.google.protobuf.ByteString getRootFollowupIntentNameBytes()Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRootFollowupIntentNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for rootFollowupIntentName.
-
setRootFollowupIntentName
Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rootFollowupIntentName to set.- Returns:
- This builder for chaining.
-
clearRootFollowupIntentName
Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRootFollowupIntentNameBytes
Output only. Read-only. The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. We populate this field only in the output. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for rootFollowupIntentName to set.- Returns:
- This builder for chaining.
-
getParentFollowupIntentName
Read-only after creation. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;- Specified by:
getParentFollowupIntentNamein interfaceIntentOrBuilder- Returns:
- The parentFollowupIntentName.
-
getParentFollowupIntentNameBytes
public com.google.protobuf.ByteString getParentFollowupIntentNameBytes()Read-only after creation. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;- Specified by:
getParentFollowupIntentNameBytesin interfaceIntentOrBuilder- Returns:
- The bytes for parentFollowupIntentName.
-
setParentFollowupIntentName
Read-only after creation. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;- Parameters:
value- The parentFollowupIntentName to set.- Returns:
- This builder for chaining.
-
clearParentFollowupIntentName
Read-only after creation. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;- Returns:
- This builder for chaining.
-
setParentFollowupIntentNameBytes
Read-only after creation. The unique identifier of the parent intent in the chain of followup intents. You can set this field when creating an intent, for example with [CreateIntent][google.cloud.dialogflow.v2.Intents.CreateIntent] or [BatchUpdateIntents][google.cloud.dialogflow.v2.Intents.BatchUpdateIntents], in order to make this intent a followup intent. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;- Parameters:
value- The bytes for parentFollowupIntentName to set.- Returns:
- This builder for chaining.
-
getFollowupIntentInfoList
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoListin interfaceIntentOrBuilder
-
getFollowupIntentInfoCount
public int getFollowupIntentInfoCount()Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoCountin interfaceIntentOrBuilder
-
getFollowupIntentInfo
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoin interfaceIntentOrBuilder
-
setFollowupIntentInfo
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setFollowupIntentInfo
public Intent.Builder setFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue) Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFollowupIntentInfo
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFollowupIntentInfo
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFollowupIntentInfo
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFollowupIntentInfo
public Intent.Builder addFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue) Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllFollowupIntentInfo
public Intent.Builder addAllFollowupIntentInfo(Iterable<? extends Intent.FollowupIntentInfo> values) Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearFollowupIntentInfo
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeFollowupIntentInfo
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFollowupIntentInfoBuilder
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFollowupIntentInfoOrBuilder
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoOrBuilderin interfaceIntentOrBuilder
-
getFollowupIntentInfoOrBuilderList
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFollowupIntentInfoOrBuilderListin interfaceIntentOrBuilder
-
addFollowupIntentInfoBuilder
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addFollowupIntentInfoBuilder
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getFollowupIntentInfoBuilderList
Output only. Read-only. Information about all followup intents that have this intent as a direct or indirect parent. We populate this field only in the output.
repeated .google.cloud.dialogflow.v2.Intent.FollowupIntentInfo followup_intent_info = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
-