public static final class Intent.Builder extends GeneratedMessageV3.Builder<Intent.Builder> implements IntentOrBuilder
Represents an intent. Intents convert a number of user expressions or patterns into an action. An action is an extraction of a user command or sentence semantics.Protobuf type
google.cloud.dialogflow.v2beta1.Intent
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Builder>
public Intent.Builder mergeFrom(Intent other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Builder>
public Intent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Builder>
java.io.IOException
public java.lang.String getName()
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;
getName
in interface IntentOrBuilder
public ByteString getNameBytes()
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;
getNameBytes
in interface IntentOrBuilder
public Intent.Builder setName(java.lang.String value)
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;
public Intent.Builder clearName()
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;
public Intent.Builder setNameBytes(ByteString value)
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;
public java.lang.String getDisplayName()
Required. The name of this intent.
string display_name = 2;
getDisplayName
in interface IntentOrBuilder
public ByteString getDisplayNameBytes()
Required. The name of this intent.
string display_name = 2;
getDisplayNameBytes
in interface IntentOrBuilder
public Intent.Builder setDisplayName(java.lang.String value)
Required. The name of this intent.
string display_name = 2;
public Intent.Builder clearDisplayName()
Required. The name of this intent.
string display_name = 2;
public Intent.Builder setDisplayNameBytes(ByteString value)
Required. The name of this intent.
string display_name = 2;
public int getWebhookStateValue()
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;
getWebhookStateValue
in interface IntentOrBuilder
public Intent.Builder setWebhookStateValue(int value)
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;
public Intent.WebhookState getWebhookState()
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;
getWebhookState
in interface IntentOrBuilder
public Intent.Builder setWebhookState(Intent.WebhookState value)
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;
public Intent.Builder clearWebhookState()
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;
public int getPriority()
Optional. The priority of this intent. Higher numbers represent higher priorities. Zero or negative numbers mean that the intent is disabled.
int32 priority = 3;
getPriority
in interface IntentOrBuilder
public Intent.Builder setPriority(int value)
Optional. The priority of this intent. Higher numbers represent higher priorities. Zero or negative numbers mean that the intent is disabled.
int32 priority = 3;
public Intent.Builder clearPriority()
Optional. The priority of this intent. Higher numbers represent higher priorities. Zero or negative numbers mean that the intent is disabled.
int32 priority = 3;
public boolean getIsFallback()
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4;
getIsFallback
in interface IntentOrBuilder
public Intent.Builder setIsFallback(boolean value)
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4;
public Intent.Builder clearIsFallback()
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4;
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 neither `ml_enabled` nor `ml_disabled` field is set, 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;
getMlEnabled
in interface IntentOrBuilder
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 neither `ml_enabled` nor `ml_disabled` field is set, 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;
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 neither `ml_enabled` nor `ml_disabled` field is set, 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;
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;
getMlDisabled
in interface IntentOrBuilder
public Intent.Builder setMlDisabled(boolean value)
Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
bool ml_disabled = 19;
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;
public 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;
getInputContextNamesList
in interface IntentOrBuilder
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;
getInputContextNamesCount
in interface IntentOrBuilder
public java.lang.String getInputContextNames(int index)
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;
getInputContextNames
in interface IntentOrBuilder
public 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;
getInputContextNamesBytes
in interface IntentOrBuilder
public Intent.Builder setInputContextNames(int index, java.lang.String value)
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;
public Intent.Builder addInputContextNames(java.lang.String value)
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;
public Intent.Builder addAllInputContextNames(java.lang.Iterable<java.lang.String> values)
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;
public Intent.Builder clearInputContextNames()
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;
public Intent.Builder addInputContextNamesBytes(ByteString value)
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;
public ProtocolStringList getEventsList()
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent.
repeated string events = 8;
getEventsList
in interface IntentOrBuilder
public int getEventsCount()
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent.
repeated string events = 8;
getEventsCount
in interface IntentOrBuilder
public java.lang.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.
repeated string events = 8;
getEvents
in interface IntentOrBuilder
public ByteString getEventsBytes(int index)
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent.
repeated string events = 8;
getEventsBytes
in interface IntentOrBuilder
public Intent.Builder setEvents(int index, java.lang.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.
repeated string events = 8;
public Intent.Builder addEvents(java.lang.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.
repeated string events = 8;
public Intent.Builder addAllEvents(java.lang.Iterable<java.lang.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.
repeated string events = 8;
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.
repeated string events = 8;
public Intent.Builder addEventsBytes(ByteString value)
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent.
repeated string events = 8;
public java.util.List<Intent.TrainingPhrase> getTrainingPhrasesList()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrasesList
in interface IntentOrBuilder
public int getTrainingPhrasesCount()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrasesCount
in interface IntentOrBuilder
public Intent.TrainingPhrase getTrainingPhrases(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrases
in interface IntentOrBuilder
public Intent.Builder setTrainingPhrases(int index, Intent.TrainingPhrase value)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.Builder setTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.Builder addTrainingPhrases(Intent.TrainingPhrase value)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.Builder addTrainingPhrases(int index, Intent.TrainingPhrase value)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.Builder addTrainingPhrases(Intent.TrainingPhrase.Builder builderForValue)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.Builder addTrainingPhrases(int index, Intent.TrainingPhrase.Builder builderForValue)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.Builder addAllTrainingPhrases(java.lang.Iterable<? extends Intent.TrainingPhrase> values)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.Builder clearTrainingPhrases()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.Builder removeTrainingPhrases(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.TrainingPhrase.Builder getTrainingPhrasesBuilder(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.TrainingPhraseOrBuilder getTrainingPhrasesOrBuilder(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrasesOrBuilder
in interface IntentOrBuilder
public java.util.List<? extends Intent.TrainingPhraseOrBuilder> getTrainingPhrasesOrBuilderList()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrasesOrBuilderList
in interface IntentOrBuilder
public Intent.TrainingPhrase.Builder addTrainingPhrasesBuilder()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public Intent.TrainingPhrase.Builder addTrainingPhrasesBuilder(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public java.util.List<Intent.TrainingPhrase.Builder> getTrainingPhrasesBuilderList()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
public java.lang.String getAction()
Optional. The name of the action associated with the intent.
string action = 10;
getAction
in interface IntentOrBuilder
public ByteString getActionBytes()
Optional. The name of the action associated with the intent.
string action = 10;
getActionBytes
in interface IntentOrBuilder
public Intent.Builder setAction(java.lang.String value)
Optional. The name of the action associated with the intent.
string action = 10;
public Intent.Builder clearAction()
Optional. The name of the action associated with the intent.
string action = 10;
public Intent.Builder setActionBytes(ByteString value)
Optional. The name of the action associated with the intent.
string action = 10;
public java.util.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;
getOutputContextsList
in interface IntentOrBuilder
public int getOutputContextsCount()
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;
getOutputContextsCount
in interface IntentOrBuilder
public Context getOutputContexts(int index)
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;
getOutputContexts
in interface IntentOrBuilder
public Intent.Builder setOutputContexts(int index, Context value)
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;
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;
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;
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;
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;
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;
public Intent.Builder addAllOutputContexts(java.lang.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;
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;
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;
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;
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;
getOutputContextsOrBuilder
in interface IntentOrBuilder
public java.util.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;
getOutputContextsOrBuilderList
in interface IntentOrBuilder
public Context.Builder addOutputContextsBuilder()
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;
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;
public java.util.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;
public boolean getResetContexts()
Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12;
getResetContexts
in interface IntentOrBuilder
public Intent.Builder setResetContexts(boolean value)
Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12;
public Intent.Builder clearResetContexts()
Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12;
public java.util.List<Intent.Parameter> getParametersList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
getParametersList
in interface IntentOrBuilder
public int getParametersCount()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
getParametersCount
in interface IntentOrBuilder
public Intent.Parameter getParameters(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
getParameters
in interface IntentOrBuilder
public Intent.Builder setParameters(int index, Intent.Parameter value)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
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;
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;
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;
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;
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;
public Intent.Builder addAllParameters(java.lang.Iterable<? extends Intent.Parameter> values)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
public Intent.Builder clearParameters()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
public Intent.Builder removeParameters(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
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;
public Intent.ParameterOrBuilder getParametersOrBuilder(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
getParametersOrBuilder
in interface IntentOrBuilder
public java.util.List<? extends Intent.ParameterOrBuilder> getParametersOrBuilderList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
getParametersOrBuilderList
in interface IntentOrBuilder
public Intent.Parameter.Builder addParametersBuilder()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
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;
public java.util.List<Intent.Parameter.Builder> getParametersBuilderList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;
public java.util.List<Intent.Message> getMessagesList()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesList
in interface IntentOrBuilder
public int getMessagesCount()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesCount
in interface IntentOrBuilder
public Intent.Message getMessages(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessages
in interface IntentOrBuilder
public Intent.Builder setMessages(int index, Intent.Message value)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Builder setMessages(int index, Intent.Message.Builder builderForValue)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Builder addMessages(Intent.Message value)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Builder addMessages(int index, Intent.Message value)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Builder addMessages(Intent.Message.Builder builderForValue)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Builder addMessages(int index, Intent.Message.Builder builderForValue)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Builder addAllMessages(java.lang.Iterable<? extends Intent.Message> values)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Builder clearMessages()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Builder removeMessages(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Message.Builder getMessagesBuilder(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.MessageOrBuilder getMessagesOrBuilder(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesOrBuilder
in interface IntentOrBuilder
public java.util.List<? extends Intent.MessageOrBuilder> getMessagesOrBuilderList()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
getMessagesOrBuilderList
in interface IntentOrBuilder
public Intent.Message.Builder addMessagesBuilder()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public Intent.Message.Builder addMessagesBuilder(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;
public java.util.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 java.util.List<Intent.Message.Platform> getDefaultResponsePlatformsList()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatformsList
in interface IntentOrBuilder
public int getDefaultResponsePlatformsCount()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatformsCount
in interface IntentOrBuilder
public Intent.Message.Platform getDefaultResponsePlatforms(int index)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatforms
in interface IntentOrBuilder
public Intent.Builder setDefaultResponsePlatforms(int index, Intent.Message.Platform value)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
public Intent.Builder addDefaultResponsePlatforms(Intent.Message.Platform value)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
public Intent.Builder addAllDefaultResponsePlatforms(java.lang.Iterable<? extends Intent.Message.Platform> values)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
public Intent.Builder clearDefaultResponsePlatforms()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
public java.util.List<java.lang.Integer> getDefaultResponsePlatformsValueList()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatformsValueList
in interface IntentOrBuilder
public int getDefaultResponsePlatformsValue(int index)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatformsValue
in interface IntentOrBuilder
public Intent.Builder setDefaultResponsePlatformsValue(int index, int value)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
public Intent.Builder addDefaultResponsePlatformsValue(int value)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
public Intent.Builder addAllDefaultResponsePlatformsValue(java.lang.Iterable<java.lang.Integer> values)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
public java.lang.String getRootFollowupIntentName()
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;
getRootFollowupIntentName
in interface IntentOrBuilder
public ByteString getRootFollowupIntentNameBytes()
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;
getRootFollowupIntentNameBytes
in interface IntentOrBuilder
public Intent.Builder setRootFollowupIntentName(java.lang.String value)
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;
public Intent.Builder clearRootFollowupIntentName()
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;
public Intent.Builder setRootFollowupIntentNameBytes(ByteString value)
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;
public java.lang.String getParentFollowupIntentName()
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;
getParentFollowupIntentName
in interface IntentOrBuilder
public ByteString getParentFollowupIntentNameBytes()
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;
getParentFollowupIntentNameBytes
in interface IntentOrBuilder
public Intent.Builder setParentFollowupIntentName(java.lang.String value)
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;
public Intent.Builder clearParentFollowupIntentName()
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;
public Intent.Builder setParentFollowupIntentNameBytes(ByteString value)
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;
public java.util.List<Intent.FollowupIntentInfo> getFollowupIntentInfoList()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfoList
in interface IntentOrBuilder
public int getFollowupIntentInfoCount()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfoCount
in interface IntentOrBuilder
public Intent.FollowupIntentInfo getFollowupIntentInfo(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfo
in interface IntentOrBuilder
public Intent.Builder setFollowupIntentInfo(int index, Intent.FollowupIntentInfo value)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.Builder setFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.Builder addFollowupIntentInfo(Intent.FollowupIntentInfo value)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.Builder addFollowupIntentInfo(int index, Intent.FollowupIntentInfo value)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.Builder addFollowupIntentInfo(Intent.FollowupIntentInfo.Builder builderForValue)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.Builder addFollowupIntentInfo(int index, Intent.FollowupIntentInfo.Builder builderForValue)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.Builder addAllFollowupIntentInfo(java.lang.Iterable<? extends Intent.FollowupIntentInfo> values)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.Builder clearFollowupIntentInfo()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.Builder removeFollowupIntentInfo(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.FollowupIntentInfo.Builder getFollowupIntentInfoBuilder(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.FollowupIntentInfoOrBuilder getFollowupIntentInfoOrBuilder(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfoOrBuilder
in interface IntentOrBuilder
public java.util.List<? extends Intent.FollowupIntentInfoOrBuilder> getFollowupIntentInfoOrBuilderList()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfoOrBuilderList
in interface IntentOrBuilder
public Intent.FollowupIntentInfo.Builder addFollowupIntentInfoBuilder()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public Intent.FollowupIntentInfo.Builder addFollowupIntentInfoBuilder(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public java.util.List<Intent.FollowupIntentInfo.Builder> getFollowupIntentInfoBuilderList()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
public final Intent.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Builder>
public final Intent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Builder>