Interface FlowOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Flow, Flow.Builder

@Generated public interface FlowOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       The unique identifier of the flow.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The unique identifier of the flow.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Required. The human-readable name of the flow.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The human-readable name of the flow.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for displayName.
    • getDescription

      String getDescription()
       The description of the flow. The maximum length is 500 characters. If
       exceeded, the request is rejected.
       
      string description = 3;
      Returns:
      The description.
    • getDescriptionBytes

      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;
      Returns:
      The bytes for description.
    • getTransitionRoutesList

      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.v3beta1.TransitionRoute transition_routes = 4;
    • getTransitionRoutes

      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.v3beta1.TransitionRoute transition_routes = 4;
    • getTransitionRoutesCount

      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.v3beta1.TransitionRoute transition_routes = 4;
    • getTransitionRoutesOrBuilderList

      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.v3beta1.TransitionRoute transition_routes = 4;
    • getTransitionRoutesOrBuilder

      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.v3beta1.TransitionRoute transition_routes = 4;
    • getEventHandlersList

      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;
    • getEventHandlers

      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;
    • getEventHandlersCount

      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;
    • getEventHandlersOrBuilderList

      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;
    • getEventHandlersOrBuilder

      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;
    • getTransitionRouteGroupsList

      List<String> 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) = { ... }
      Returns:
      A list containing the transitionRouteGroups.
    • getTransitionRouteGroupsCount

      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) = { ... }
      Returns:
      The count of transitionRouteGroups.
    • getTransitionRouteGroups

      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) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The transitionRouteGroups at the given index.
    • getTransitionRouteGroupsBytes

      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) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the transitionRouteGroups at the given index.
    • hasNluSettings

      boolean hasNluSettings()
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
      Returns:
      Whether the nluSettings field is set.
    • getNluSettings

      NluSettings getNluSettings()
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
      Returns:
      The nluSettings.
    • getNluSettingsOrBuilder

      NluSettingsOrBuilder getNluSettingsOrBuilder()
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
    • hasAdvancedSettings

      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.v3beta1.AdvancedSettings advanced_settings = 14;
      Returns:
      Whether the advancedSettings field is set.
    • getAdvancedSettings

      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.v3beta1.AdvancedSettings advanced_settings = 14;
      Returns:
      The advancedSettings.
    • getAdvancedSettingsOrBuilder

      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.v3beta1.AdvancedSettings advanced_settings = 14;
    • hasKnowledgeConnectorSettings

      boolean hasKnowledgeConnectorSettings()
       Optional. Knowledge connector configuration.
       
      .google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the knowledgeConnectorSettings field is set.
    • getKnowledgeConnectorSettings

      KnowledgeConnectorSettings getKnowledgeConnectorSettings()
       Optional. Knowledge connector configuration.
       
      .google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The knowledgeConnectorSettings.
    • getKnowledgeConnectorSettingsOrBuilder

      KnowledgeConnectorSettingsOrBuilder getKnowledgeConnectorSettingsOrBuilder()
       Optional. Knowledge connector configuration.
       
      .google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
    • getInputParameterDefinitionsList

      List<ParameterDefinition> getInputParameterDefinitionsList()
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getInputParameterDefinitions

      ParameterDefinition getInputParameterDefinitions(int index)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getInputParameterDefinitionsCount

      int getInputParameterDefinitionsCount()
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getInputParameterDefinitionsOrBuilderList

      List<? extends ParameterDefinitionOrBuilder> getInputParameterDefinitionsOrBuilderList()
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getInputParameterDefinitionsOrBuilder

      ParameterDefinitionOrBuilder getInputParameterDefinitionsOrBuilder(int index)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitionsList

      List<ParameterDefinition> getOutputParameterDefinitionsList()
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitions

      ParameterDefinition getOutputParameterDefinitions(int index)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitionsCount

      int getOutputParameterDefinitionsCount()
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitionsOrBuilderList

      List<? extends ParameterDefinitionOrBuilder> getOutputParameterDefinitionsOrBuilderList()
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • getOutputParameterDefinitionsOrBuilder

      ParameterDefinitionOrBuilder getOutputParameterDefinitionsOrBuilder(int index)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • hasMultiLanguageSettings

      boolean hasMultiLanguageSettings()
       Optional. Multi-lingual agent settings for this flow.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the multiLanguageSettings field is set.
    • getMultiLanguageSettings

      Flow.MultiLanguageSettings getMultiLanguageSettings()
       Optional. Multi-lingual agent settings for this flow.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The multiLanguageSettings.
    • getMultiLanguageSettingsOrBuilder

      Flow.MultiLanguageSettingsOrBuilder getMultiLanguageSettingsOrBuilder()
       Optional. Multi-lingual agent settings for this flow.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
    • getLocked

      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;
      Returns:
      The locked.