public static final class Flow.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder> implements FlowOrBuilder
Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be "consumed". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.Protobuf type
google.cloud.dialogflow.cx.v3.Flow| Modifier and Type | Method and Description |
|---|---|
Flow.Builder |
addAllEventHandlers(Iterable<? extends EventHandler> values)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
addAllTransitionRouteGroups(Iterable<String> values)
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
addAllTransitionRoutes(Iterable<? extends TransitionRoute> values)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
addEventHandlers(EventHandler.Builder builderForValue)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
addEventHandlers(EventHandler value)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
addEventHandlers(int index,
EventHandler.Builder builderForValue)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
addEventHandlers(int index,
EventHandler value)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
EventHandler.Builder |
addEventHandlersBuilder()
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
EventHandler.Builder |
addEventHandlersBuilder(int index)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Flow.Builder |
addTransitionRouteGroups(String value)
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
addTransitionRouteGroupsBytes(com.google.protobuf.ByteString value)
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
addTransitionRoutes(int index,
TransitionRoute.Builder builderForValue)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
addTransitionRoutes(int index,
TransitionRoute value)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
addTransitionRoutes(TransitionRoute.Builder builderForValue)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
addTransitionRoutes(TransitionRoute value)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
TransitionRoute.Builder |
addTransitionRoutesBuilder()
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
TransitionRoute.Builder |
addTransitionRoutesBuilder(int index)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow |
build() |
Flow |
buildPartial() |
Flow.Builder |
clear() |
Flow.Builder |
clearAdvancedSettings()
Hierarchical advanced settings for this flow.
|
Flow.Builder |
clearDescription()
The description of the flow.
|
Flow.Builder |
clearDisplayName()
Required.
|
Flow.Builder |
clearEventHandlers()
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Flow.Builder |
clearKnowledgeConnectorSettings()
Optional.
|
Flow.Builder |
clearLocked()
Indicates whether the flow is locked for changes.
|
Flow.Builder |
clearMultiLanguageSettings()
Optional.
|
Flow.Builder |
clearName()
The unique identifier of the flow.
|
Flow.Builder |
clearNluSettings()
NLU related settings of the flow.
|
Flow.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Flow.Builder |
clearTransitionRouteGroups()
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
clearTransitionRoutes()
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
clone() |
AdvancedSettings |
getAdvancedSettings()
Hierarchical advanced settings for this flow.
|
AdvancedSettings.Builder |
getAdvancedSettingsBuilder()
Hierarchical advanced settings for this flow.
|
AdvancedSettingsOrBuilder |
getAdvancedSettingsOrBuilder()
Hierarchical advanced settings for this flow.
|
Flow |
getDefaultInstanceForType() |
String |
getDescription()
The description of the flow.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The description of the flow.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
EventHandler |
getEventHandlers(int index)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
EventHandler.Builder |
getEventHandlersBuilder(int index)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
List<EventHandler.Builder> |
getEventHandlersBuilderList()
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
int |
getEventHandlersCount()
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
List<EventHandler> |
getEventHandlersList()
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
EventHandlerOrBuilder |
getEventHandlersOrBuilder(int index)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
List<? extends EventHandlerOrBuilder> |
getEventHandlersOrBuilderList()
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
KnowledgeConnectorSettings |
getKnowledgeConnectorSettings()
Optional.
|
KnowledgeConnectorSettings.Builder |
getKnowledgeConnectorSettingsBuilder()
Optional.
|
KnowledgeConnectorSettingsOrBuilder |
getKnowledgeConnectorSettingsOrBuilder()
Optional.
|
boolean |
getLocked()
Indicates whether the flow is locked for changes.
|
Flow.MultiLanguageSettings |
getMultiLanguageSettings()
Optional.
|
Flow.MultiLanguageSettings.Builder |
getMultiLanguageSettingsBuilder()
Optional.
|
Flow.MultiLanguageSettingsOrBuilder |
getMultiLanguageSettingsOrBuilder()
Optional.
|
String |
getName()
The unique identifier of the flow.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique identifier of the flow.
|
NluSettings |
getNluSettings()
NLU related settings of the flow.
|
NluSettings.Builder |
getNluSettingsBuilder()
NLU related settings of the flow.
|
NluSettingsOrBuilder |
getNluSettingsOrBuilder()
NLU related settings of the flow.
|
String |
getTransitionRouteGroups(int index)
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
com.google.protobuf.ByteString |
getTransitionRouteGroupsBytes(int index)
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
int |
getTransitionRouteGroupsCount()
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
com.google.protobuf.ProtocolStringList |
getTransitionRouteGroupsList()
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
TransitionRoute |
getTransitionRoutes(int index)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
TransitionRoute.Builder |
getTransitionRoutesBuilder(int index)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
List<TransitionRoute.Builder> |
getTransitionRoutesBuilderList()
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
int |
getTransitionRoutesCount()
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
List<TransitionRoute> |
getTransitionRoutesList()
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
TransitionRouteOrBuilder |
getTransitionRoutesOrBuilder(int index)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
List<? extends TransitionRouteOrBuilder> |
getTransitionRoutesOrBuilderList()
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
boolean |
hasAdvancedSettings()
Hierarchical advanced settings for this flow.
|
boolean |
hasKnowledgeConnectorSettings()
Optional.
|
boolean |
hasMultiLanguageSettings()
Optional.
|
boolean |
hasNluSettings()
NLU related settings of the flow.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Flow.Builder |
mergeAdvancedSettings(AdvancedSettings value)
Hierarchical advanced settings for this flow.
|
Flow.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Flow.Builder |
mergeFrom(Flow other) |
Flow.Builder |
mergeFrom(com.google.protobuf.Message other) |
Flow.Builder |
mergeKnowledgeConnectorSettings(KnowledgeConnectorSettings value)
Optional.
|
Flow.Builder |
mergeMultiLanguageSettings(Flow.MultiLanguageSettings value)
Optional.
|
Flow.Builder |
mergeNluSettings(NluSettings value)
NLU related settings of the flow.
|
Flow.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Flow.Builder |
removeEventHandlers(int index)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
removeTransitionRoutes(int index)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
setAdvancedSettings(AdvancedSettings.Builder builderForValue)
Hierarchical advanced settings for this flow.
|
Flow.Builder |
setAdvancedSettings(AdvancedSettings value)
Hierarchical advanced settings for this flow.
|
Flow.Builder |
setDescription(String value)
The description of the flow.
|
Flow.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the flow.
|
Flow.Builder |
setDisplayName(String value)
Required.
|
Flow.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
Flow.Builder |
setEventHandlers(int index,
EventHandler.Builder builderForValue)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
setEventHandlers(int index,
EventHandler value)
A flow's event handlers serve two purposes:
* They are responsible for handling events (e.g. no match,
webhook errors) in the flow
|
Flow.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Flow.Builder |
setKnowledgeConnectorSettings(KnowledgeConnectorSettings.Builder builderForValue)
Optional.
|
Flow.Builder |
setKnowledgeConnectorSettings(KnowledgeConnectorSettings value)
Optional.
|
Flow.Builder |
setLocked(boolean value)
Indicates whether the flow is locked for changes.
|
Flow.Builder |
setMultiLanguageSettings(Flow.MultiLanguageSettings.Builder builderForValue)
Optional.
|
Flow.Builder |
setMultiLanguageSettings(Flow.MultiLanguageSettings value)
Optional.
|
Flow.Builder |
setName(String value)
The unique identifier of the flow.
|
Flow.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the flow.
|
Flow.Builder |
setNluSettings(NluSettings.Builder builderForValue)
NLU related settings of the flow.
|
Flow.Builder |
setNluSettings(NluSettings value)
NLU related settings of the flow.
|
Flow.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Flow.Builder |
setTransitionRouteGroups(int index,
String value)
A flow's transition route group serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
setTransitionRoutes(int index,
TransitionRoute.Builder builderForValue)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
setTransitionRoutes(int index,
TransitionRoute value)
A flow's transition routes serve two purposes:
* They are responsible for matching the user's first utterances in the
flow
|
Flow.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Flow build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Flow buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Flow.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flow.Builder>public Flow.Builder mergeFrom(Flow other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public Flow.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flow.Builder>IOExceptionpublic String getName()
The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string name = 1;getName in interface FlowOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string name = 1;getNameBytes in interface FlowOrBuilderpublic Flow.Builder setName(String value)
The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string name = 1;value - The name to set.public Flow.Builder clearName()
The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string name = 1;public Flow.Builder setNameBytes(com.google.protobuf.ByteString value)
The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
string name = 1;value - The bytes for name to set.public String getDisplayName()
Required. The human-readable name of the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface FlowOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface FlowOrBuilderpublic Flow.Builder setDisplayName(String value)
Required. The human-readable name of the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public Flow.Builder clearDisplayName()
Required. The human-readable name of the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];public Flow.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The human-readable name of the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public String getDescription()
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;getDescription in interface FlowOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;getDescriptionBytes in interface FlowOrBuilderpublic Flow.Builder setDescription(String value)
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;value - The description to set.public Flow.Builder clearDescription()
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;public Flow.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;value - The bytes for description to set.public List<TransitionRoute> getTransitionRoutesList()
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;getTransitionRoutesList in interface FlowOrBuilderpublic int getTransitionRoutesCount()
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;getTransitionRoutesCount in interface FlowOrBuilderpublic TransitionRoute getTransitionRoutes(int index)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;getTransitionRoutes in interface FlowOrBuilderpublic Flow.Builder setTransitionRoutes(int index, TransitionRoute value)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public Flow.Builder setTransitionRoutes(int index, TransitionRoute.Builder builderForValue)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public Flow.Builder addTransitionRoutes(TransitionRoute value)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public Flow.Builder addTransitionRoutes(int index, TransitionRoute value)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public Flow.Builder addTransitionRoutes(TransitionRoute.Builder builderForValue)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public Flow.Builder addTransitionRoutes(int index, TransitionRoute.Builder builderForValue)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public Flow.Builder addAllTransitionRoutes(Iterable<? extends TransitionRoute> values)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public Flow.Builder clearTransitionRoutes()
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public Flow.Builder removeTransitionRoutes(int index)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public TransitionRoute.Builder getTransitionRoutesBuilder(int index)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public TransitionRouteOrBuilder getTransitionRoutesOrBuilder(int index)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;getTransitionRoutesOrBuilder in interface FlowOrBuilderpublic List<? extends TransitionRouteOrBuilder> getTransitionRoutesOrBuilderList()
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;getTransitionRoutesOrBuilderList in interface FlowOrBuilderpublic TransitionRoute.Builder addTransitionRoutesBuilder()
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public TransitionRoute.Builder addTransitionRoutesBuilder(int index)
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public List<TransitionRoute.Builder> getTransitionRoutesBuilderList()
A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition routes][Page.transition_routes] and can support use cases such as the user saying "help" or "can I talk to a human?", which can be handled in a common way regardless of the current page. Transition routes defined in the page have higher priority than those defined in the flow. TransitionRoutes are evaluated in the following order: * TransitionRoutes with intent specified. * TransitionRoutes with only condition specified. TransitionRoutes with intent specified are inherited by pages in the flow.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 4;public List<EventHandler> getEventHandlersList()
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;getEventHandlersList in interface FlowOrBuilderpublic int getEventHandlersCount()
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;getEventHandlersCount in interface FlowOrBuilderpublic EventHandler getEventHandlers(int index)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;getEventHandlers in interface FlowOrBuilderpublic Flow.Builder setEventHandlers(int index, EventHandler value)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public Flow.Builder setEventHandlers(int index, EventHandler.Builder builderForValue)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public Flow.Builder addEventHandlers(EventHandler value)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public Flow.Builder addEventHandlers(int index, EventHandler value)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public Flow.Builder addEventHandlers(EventHandler.Builder builderForValue)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public Flow.Builder addEventHandlers(int index, EventHandler.Builder builderForValue)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public Flow.Builder addAllEventHandlers(Iterable<? extends EventHandler> values)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public Flow.Builder clearEventHandlers()
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public Flow.Builder removeEventHandlers(int index)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public EventHandler.Builder getEventHandlersBuilder(int index)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public EventHandlerOrBuilder getEventHandlersOrBuilder(int index)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;getEventHandlersOrBuilder in interface FlowOrBuilderpublic List<? extends EventHandlerOrBuilder> getEventHandlersOrBuilderList()
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;getEventHandlersOrBuilderList in interface FlowOrBuilderpublic EventHandler.Builder addEventHandlersBuilder()
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public EventHandler.Builder addEventHandlersBuilder(int index)
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public List<EventHandler.Builder> getEventHandlersBuilderList()
A flow's event handlers serve two purposes: * They are responsible for handling events (e.g. no match, webhook errors) in the flow. * They are inherited by every page's [event handlers][Page.event_handlers], which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;public com.google.protobuf.ProtocolStringList getTransitionRouteGroupsList()
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
getTransitionRouteGroupsList in interface FlowOrBuilderpublic int getTransitionRouteGroupsCount()
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
getTransitionRouteGroupsCount in interface FlowOrBuilderpublic String getTransitionRouteGroups(int index)
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
getTransitionRouteGroups in interface FlowOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTransitionRouteGroupsBytes(int index)
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
getTransitionRouteGroupsBytes in interface FlowOrBuilderindex - The index of the value to return.public Flow.Builder setTransitionRouteGroups(int index, String value)
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
index - The index to set the value at.value - The transitionRouteGroups to set.public Flow.Builder addTransitionRouteGroups(String value)
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
value - The transitionRouteGroups to add.public Flow.Builder addAllTransitionRouteGroups(Iterable<String> values)
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
values - The transitionRouteGroups to add.public Flow.Builder clearTransitionRouteGroups()
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
public Flow.Builder addTransitionRouteGroupsBytes(com.google.protobuf.ByteString value)
A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow. * They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }
value - The bytes of the transitionRouteGroups to add.public boolean hasNluSettings()
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 11;hasNluSettings in interface FlowOrBuilderpublic NluSettings getNluSettings()
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 11;getNluSettings in interface FlowOrBuilderpublic Flow.Builder setNluSettings(NluSettings value)
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 11;public Flow.Builder setNluSettings(NluSettings.Builder builderForValue)
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 11;public Flow.Builder mergeNluSettings(NluSettings value)
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 11;public Flow.Builder clearNluSettings()
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 11;public NluSettings.Builder getNluSettingsBuilder()
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 11;public NluSettingsOrBuilder getNluSettingsOrBuilder()
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3.NluSettings nlu_settings = 11;getNluSettingsOrBuilder in interface FlowOrBuilderpublic boolean hasAdvancedSettings()
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 14;hasAdvancedSettings in interface FlowOrBuilderpublic AdvancedSettings getAdvancedSettings()
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 14;getAdvancedSettings in interface FlowOrBuilderpublic Flow.Builder setAdvancedSettings(AdvancedSettings value)
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 14;public Flow.Builder setAdvancedSettings(AdvancedSettings.Builder builderForValue)
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 14;public Flow.Builder mergeAdvancedSettings(AdvancedSettings value)
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 14;public Flow.Builder clearAdvancedSettings()
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 14;public AdvancedSettings.Builder getAdvancedSettingsBuilder()
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 14;public AdvancedSettingsOrBuilder getAdvancedSettingsOrBuilder()
Hierarchical advanced settings for this flow. The settings exposed at the lower level overrides the settings exposed at the higher level.
.google.cloud.dialogflow.cx.v3.AdvancedSettings advanced_settings = 14;getAdvancedSettingsOrBuilder in interface FlowOrBuilderpublic boolean hasKnowledgeConnectorSettings()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
hasKnowledgeConnectorSettings in interface FlowOrBuilderpublic KnowledgeConnectorSettings getKnowledgeConnectorSettings()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
getKnowledgeConnectorSettings in interface FlowOrBuilderpublic Flow.Builder setKnowledgeConnectorSettings(KnowledgeConnectorSettings value)
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
public Flow.Builder setKnowledgeConnectorSettings(KnowledgeConnectorSettings.Builder builderForValue)
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
public Flow.Builder mergeKnowledgeConnectorSettings(KnowledgeConnectorSettings value)
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
public Flow.Builder clearKnowledgeConnectorSettings()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettings.Builder getKnowledgeConnectorSettingsBuilder()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
public KnowledgeConnectorSettingsOrBuilder getKnowledgeConnectorSettingsOrBuilder()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
getKnowledgeConnectorSettingsOrBuilder in interface FlowOrBuilderpublic boolean hasMultiLanguageSettings()
Optional. Multi-lingual agent settings for this flow.
.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
hasMultiLanguageSettings in interface FlowOrBuilderpublic Flow.MultiLanguageSettings getMultiLanguageSettings()
Optional. Multi-lingual agent settings for this flow.
.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
getMultiLanguageSettings in interface FlowOrBuilderpublic Flow.Builder setMultiLanguageSettings(Flow.MultiLanguageSettings value)
Optional. Multi-lingual agent settings for this flow.
.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
public Flow.Builder setMultiLanguageSettings(Flow.MultiLanguageSettings.Builder builderForValue)
Optional. Multi-lingual agent settings for this flow.
.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
public Flow.Builder mergeMultiLanguageSettings(Flow.MultiLanguageSettings value)
Optional. Multi-lingual agent settings for this flow.
.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
public Flow.Builder clearMultiLanguageSettings()
Optional. Multi-lingual agent settings for this flow.
.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
public Flow.MultiLanguageSettings.Builder getMultiLanguageSettingsBuilder()
Optional. Multi-lingual agent settings for this flow.
.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
public Flow.MultiLanguageSettingsOrBuilder getMultiLanguageSettingsOrBuilder()
Optional. Multi-lingual agent settings for this flow.
.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
getMultiLanguageSettingsOrBuilder in interface FlowOrBuilderpublic boolean getLocked()
Indicates whether the flow is locked for changes. If the flow is locked, modifications to the flow will be rejected.
bool locked = 30;getLocked in interface FlowOrBuilderpublic Flow.Builder setLocked(boolean value)
Indicates whether the flow is locked for changes. If the flow is locked, modifications to the flow will be rejected.
bool locked = 30;value - The locked to set.public Flow.Builder clearLocked()
Indicates whether the flow is locked for changes. If the flow is locked, modifications to the flow will be rejected.
bool locked = 30;public final Flow.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>public final Flow.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flow.Builder>Copyright © 2025 Google LLC. All rights reserved.