Class Flow
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.cx.v3beta1.Flow
-
- All Implemented Interfaces:
FlowOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Flow extends com.google.protobuf.GeneratedMessageV3 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 typegoogle.cloud.dialogflow.cx.v3beta1.Flow- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlow.BuilderFlows represents the conversation flows when you build your chatbot agent.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDESCRIPTION_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intEVENT_HANDLERS_FIELD_NUMBERstatic intKNOWLEDGE_CONNECTOR_SETTINGS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNLU_SETTINGS_FIELD_NUMBERstatic intTRANSITION_ROUTE_GROUPS_FIELD_NUMBERstatic intTRANSITION_ROUTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static FlowgetDefaultInstance()FlowgetDefaultInstanceForType()StringgetDescription()The description of the flow.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the flow.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.EventHandlergetEventHandlers(int index)A flow's event handlers serve two purposes: * They are responsible for handling events (e.g.intgetEventHandlersCount()A flow's event handlers serve two purposes: * They are responsible for handling events (e.g.List<EventHandler>getEventHandlersList()A flow's event handlers serve two purposes: * They are responsible for handling events (e.g.EventHandlerOrBuildergetEventHandlersOrBuilder(int index)A flow's event handlers serve two purposes: * They are responsible for handling events (e.g.List<? extends EventHandlerOrBuilder>getEventHandlersOrBuilderList()A flow's event handlers serve two purposes: * They are responsible for handling events (e.g.KnowledgeConnectorSettingsgetKnowledgeConnectorSettings()Optional.KnowledgeConnectorSettingsOrBuildergetKnowledgeConnectorSettingsOrBuilder()Optional.StringgetName()The unique identifier of the flow.com.google.protobuf.ByteStringgetNameBytes()The unique identifier of the flow.NluSettingsgetNluSettings()NLU related settings of the flow.NluSettingsOrBuildergetNluSettingsOrBuilder()NLU related settings of the flow.com.google.protobuf.Parser<Flow>getParserForType()intgetSerializedSize()StringgetTransitionRouteGroups(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.ByteStringgetTransitionRouteGroupsBytes(int index)A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow.intgetTransitionRouteGroupsCount()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.ProtocolStringListgetTransitionRouteGroupsList()A flow's transition route group serve two purposes: * They are responsible for matching the user's first utterances in the flow.TransitionRoutegetTransitionRoutes(int index)A flow's transition routes serve two purposes: * They are responsible for matching the user's first utterances in the flow.intgetTransitionRoutesCount()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.TransitionRouteOrBuildergetTransitionRoutesOrBuilder(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.inthashCode()booleanhasKnowledgeConnectorSettings()Optional.booleanhasNluSettings()NLU related settings of the flow.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Flow.BuildernewBuilder()static Flow.BuildernewBuilder(Flow prototype)Flow.BuildernewBuilderForType()protected Flow.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static FlowparseDelimitedFrom(InputStream input)static FlowparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlowparseFrom(byte[] data)static FlowparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlowparseFrom(com.google.protobuf.ByteString data)static FlowparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlowparseFrom(com.google.protobuf.CodedInputStream input)static FlowparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlowparseFrom(InputStream input)static FlowparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlowparseFrom(ByteBuffer data)static FlowparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Flow>parser()Flow.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSITION_ROUTES_FIELD_NUMBER
public static final int TRANSITION_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_HANDLERS_FIELD_NUMBER
public static final int EVENT_HANDLERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSITION_ROUTE_GROUPS_FIELD_NUMBER
public static final int TRANSITION_ROUTE_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NLU_SETTINGS_FIELD_NUMBER
public static final int NLU_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KNOWLEDGE_CONNECTOR_SETTINGS_FIELD_NUMBER
public static final int KNOWLEDGE_CONNECTOR_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
The unique identifier of the flow. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string name = 1;- Specified by:
getNamein interfaceFlowOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The unique identifier of the flow. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string name = 1;- Specified by:
getNameBytesin interfaceFlowOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Required. The human-readable name of the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceFlowOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceFlowOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
public String getDescription()
The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected.
string description = 3;- Specified by:
getDescriptionin interfaceFlowOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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;- Specified by:
getDescriptionBytesin interfaceFlowOrBuilder- Returns:
- The bytes for description.
-
getTransitionRoutesList
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 evalauted 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.v3beta1.TransitionRoute transition_routes = 4;- Specified by:
getTransitionRoutesListin interfaceFlowOrBuilder
-
getTransitionRoutesOrBuilderList
public 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 evalauted 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.v3beta1.TransitionRoute transition_routes = 4;- Specified by:
getTransitionRoutesOrBuilderListin interfaceFlowOrBuilder
-
getTransitionRoutesCount
public 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 evalauted 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.v3beta1.TransitionRoute transition_routes = 4;- Specified by:
getTransitionRoutesCountin interfaceFlowOrBuilder
-
getTransitionRoutes
public 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 evalauted 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.v3beta1.TransitionRoute transition_routes = 4;- Specified by:
getTransitionRoutesin interfaceFlowOrBuilder
-
getTransitionRoutesOrBuilder
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 evalauted 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.v3beta1.TransitionRoute transition_routes = 4;- Specified by:
getTransitionRoutesOrBuilderin interfaceFlowOrBuilder
-
getEventHandlersList
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.v3beta1.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.v3beta1.EventHandler event_handlers = 10;- Specified by:
getEventHandlersListin interfaceFlowOrBuilder
-
getEventHandlersOrBuilderList
public 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.v3beta1.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.v3beta1.EventHandler event_handlers = 10;- Specified by:
getEventHandlersOrBuilderListin interfaceFlowOrBuilder
-
getEventHandlersCount
public 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.v3beta1.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.v3beta1.EventHandler event_handlers = 10;- Specified by:
getEventHandlersCountin interfaceFlowOrBuilder
-
getEventHandlers
public 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.v3beta1.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.v3beta1.EventHandler event_handlers = 10;- Specified by:
getEventHandlersin interfaceFlowOrBuilder
-
getEventHandlersOrBuilder
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.v3beta1.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.v3beta1.EventHandler event_handlers = 10;- Specified by:
getEventHandlersOrBuilderin interfaceFlowOrBuilder
-
getTransitionRouteGroupsList
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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }- Specified by:
getTransitionRouteGroupsListin interfaceFlowOrBuilder- Returns:
- A list containing the transitionRouteGroups.
-
getTransitionRouteGroupsCount
public 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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }- Specified by:
getTransitionRouteGroupsCountin interfaceFlowOrBuilder- Returns:
- The count of transitionRouteGroups.
-
getTransitionRouteGroups
public 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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }- Specified by:
getTransitionRouteGroupsin interfaceFlowOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The transitionRouteGroups at the given index.
-
getTransitionRouteGroupsBytes
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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level groups.
repeated string transition_route_groups = 15 [(.google.api.resource_reference) = { ... }- Specified by:
getTransitionRouteGroupsBytesin interfaceFlowOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the transitionRouteGroups at the given index.
-
hasNluSettings
public boolean hasNluSettings()
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;- Specified by:
hasNluSettingsin interfaceFlowOrBuilder- Returns:
- Whether the nluSettings field is set.
-
getNluSettings
public NluSettings getNluSettings()
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;- Specified by:
getNluSettingsin interfaceFlowOrBuilder- Returns:
- The nluSettings.
-
getNluSettingsOrBuilder
public NluSettingsOrBuilder getNluSettingsOrBuilder()
NLU related settings of the flow.
.google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;- Specified by:
getNluSettingsOrBuilderin interfaceFlowOrBuilder
-
hasKnowledgeConnectorSettings
public boolean hasKnowledgeConnectorSettings()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasKnowledgeConnectorSettingsin interfaceFlowOrBuilder- Returns:
- Whether the knowledgeConnectorSettings field is set.
-
getKnowledgeConnectorSettings
public KnowledgeConnectorSettings getKnowledgeConnectorSettings()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKnowledgeConnectorSettingsin interfaceFlowOrBuilder- Returns:
- The knowledgeConnectorSettings.
-
getKnowledgeConnectorSettingsOrBuilder
public KnowledgeConnectorSettingsOrBuilder getKnowledgeConnectorSettingsOrBuilder()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKnowledgeConnectorSettingsOrBuilderin interfaceFlowOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Flow parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Flow parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Flow parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Flow parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Flow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Flow parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Flow parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Flow parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Flow parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Flow parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Flow parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Flow parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Flow.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Flow.Builder newBuilder()
-
newBuilder
public static Flow.Builder newBuilder(Flow prototype)
-
toBuilder
public Flow.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Flow.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Flow getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Flow> parser()
-
getParserForType
public com.google.protobuf.Parser<Flow> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Flow getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-