Class Flow.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Flow.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Flow.Builder
All Implemented Interfaces:
FlowOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Flow

public static final class Flow.Builder extends com.google.protobuf.GeneratedMessage.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.v3beta1.Flow
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Flow.Builder>
    • clear

      public Flow.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Flow.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Flow.Builder>
    • getDefaultInstanceForType

      public Flow getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Flow build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Flow buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Flow.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flow.Builder>
    • mergeFrom

      public Flow.Builder mergeFrom(Flow other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Flow.Builder>
    • mergeFrom

      public Flow.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flow.Builder>
      Throws:
      IOException
    • getName

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

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

      public Flow.Builder setName(String value)
       The unique identifier of the flow.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Flow.Builder clearName()
       The unique identifier of the flow.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      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;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The human-readable name of the flow.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface FlowOrBuilder
      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:
      getDisplayNameBytes in interface FlowOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Flow.Builder setDisplayName(String value)
       Required. The human-readable name of the flow.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Flow.Builder clearDisplayName()
       Required. The human-readable name of the flow.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      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];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • 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:
      getDescription in interface FlowOrBuilder
      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:
      getDescriptionBytes in interface FlowOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public 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;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Flow.Builder clearDescription()
       The description of the flow. The maximum length is 500 characters. If
       exceeded, the request is rejected.
       
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      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;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • 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 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;
      Specified by:
      getTransitionRoutesList in interface FlowOrBuilder
    • 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 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;
      Specified by:
      getTransitionRoutesCount in interface FlowOrBuilder
    • 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 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;
      Specified by:
      getTransitionRoutes in interface FlowOrBuilder
    • setTransitionRoutes

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

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

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

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

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

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

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

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

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

      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.v3beta1.TransitionRoute transition_routes = 4;
    • 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 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;
      Specified by:
      getTransitionRoutesOrBuilder in interface FlowOrBuilder
    • 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 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;
      Specified by:
      getTransitionRoutesOrBuilderList in interface FlowOrBuilder
    • addTransitionRoutesBuilder

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

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

      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.v3beta1.TransitionRoute transition_routes = 4;
    • 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:
      getEventHandlersList in interface FlowOrBuilder
    • 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:
      getEventHandlersCount in interface FlowOrBuilder
    • 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:
      getEventHandlers in interface FlowOrBuilder
    • setEventHandlers

      public 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.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;
    • setEventHandlers

      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.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;
    • addEventHandlers

      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.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;
    • addEventHandlers

      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.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;
    • addEventHandlers

      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.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;
    • addEventHandlers

      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.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;
    • addAllEventHandlers

      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.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;
    • clearEventHandlers

      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.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;
    • removeEventHandlers

      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.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;
    • getEventHandlersBuilder

      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.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

      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:
      getEventHandlersOrBuilder in interface FlowOrBuilder
    • 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:
      getEventHandlersOrBuilderList in interface FlowOrBuilder
    • addEventHandlersBuilder

      public 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.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;
    • addEventHandlersBuilder

      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.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;
    • getEventHandlersBuilderList

      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.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

      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) = { ... }
      Specified by:
      getTransitionRouteGroupsList in interface FlowOrBuilder
      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/<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) = { ... }
      Specified by:
      getTransitionRouteGroupsCount in interface FlowOrBuilder
      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/<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) = { ... }
      Specified by:
      getTransitionRouteGroups in interface FlowOrBuilder
      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/<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) = { ... }
      Specified by:
      getTransitionRouteGroupsBytes in interface FlowOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the transitionRouteGroups at the given index.
    • setTransitionRouteGroups

      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) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The transitionRouteGroups to set.
      Returns:
      This builder for chaining.
    • addTransitionRouteGroups

      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) = { ... }
      Parameters:
      value - The transitionRouteGroups to add.
      Returns:
      This builder for chaining.
    • addAllTransitionRouteGroups

      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) = { ... }
      Parameters:
      values - The transitionRouteGroups to add.
      Returns:
      This builder for chaining.
    • clearTransitionRouteGroups

      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) = { ... }
      Returns:
      This builder for chaining.
    • addTransitionRouteGroupsBytes

      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) = { ... }
      Parameters:
      value - The bytes of the transitionRouteGroups to add.
      Returns:
      This builder for chaining.
    • hasNluSettings

      public boolean hasNluSettings()
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
      Specified by:
      hasNluSettings in interface FlowOrBuilder
      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:
      getNluSettings in interface FlowOrBuilder
      Returns:
      The nluSettings.
    • setNluSettings

      public Flow.Builder setNluSettings(NluSettings value)
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
    • setNluSettings

      public Flow.Builder setNluSettings(NluSettings.Builder builderForValue)
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
    • mergeNluSettings

      public Flow.Builder mergeNluSettings(NluSettings value)
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
    • clearNluSettings

      public Flow.Builder clearNluSettings()
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
    • getNluSettingsBuilder

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

      public NluSettingsOrBuilder getNluSettingsOrBuilder()
       NLU related settings of the flow.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings nlu_settings = 11;
      Specified by:
      getNluSettingsOrBuilder in interface FlowOrBuilder
    • hasAdvancedSettings

      public 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;
      Specified by:
      hasAdvancedSettings in interface FlowOrBuilder
      Returns:
      Whether the advancedSettings field is set.
    • getAdvancedSettings

      public 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;
      Specified by:
      getAdvancedSettings in interface FlowOrBuilder
      Returns:
      The advancedSettings.
    • setAdvancedSettings

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

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

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

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

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

      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.v3beta1.AdvancedSettings advanced_settings = 14;
      Specified by:
      getAdvancedSettingsOrBuilder in interface FlowOrBuilder
    • 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:
      hasKnowledgeConnectorSettings in interface FlowOrBuilder
      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:
      getKnowledgeConnectorSettings in interface FlowOrBuilder
      Returns:
      The knowledgeConnectorSettings.
    • setKnowledgeConnectorSettings

      public Flow.Builder setKnowledgeConnectorSettings(KnowledgeConnectorSettings value)
       Optional. Knowledge connector configuration.
       
      .google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
    • setKnowledgeConnectorSettings

      public Flow.Builder setKnowledgeConnectorSettings(KnowledgeConnectorSettings.Builder builderForValue)
       Optional. Knowledge connector configuration.
       
      .google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
    • mergeKnowledgeConnectorSettings

      public Flow.Builder mergeKnowledgeConnectorSettings(KnowledgeConnectorSettings value)
       Optional. Knowledge connector configuration.
       
      .google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
    • clearKnowledgeConnectorSettings

      public Flow.Builder clearKnowledgeConnectorSettings()
       Optional. Knowledge connector configuration.
       
      .google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
    • getKnowledgeConnectorSettingsBuilder

      public KnowledgeConnectorSettings.Builder getKnowledgeConnectorSettingsBuilder()
       Optional. Knowledge connector configuration.
       
      .google.cloud.dialogflow.cx.v3beta1.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
    • 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:
      getKnowledgeConnectorSettingsOrBuilder in interface FlowOrBuilder
    • getInputParameterDefinitionsList

      public 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];
      Specified by:
      getInputParameterDefinitionsList in interface FlowOrBuilder
    • getInputParameterDefinitionsCount

      public 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];
      Specified by:
      getInputParameterDefinitionsCount in interface FlowOrBuilder
    • getInputParameterDefinitions

      public 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];
      Specified by:
      getInputParameterDefinitions in interface FlowOrBuilder
    • setInputParameterDefinitions

      public Flow.Builder setInputParameterDefinitions(int index, ParameterDefinition value)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • setInputParameterDefinitions

      public Flow.Builder setInputParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitions

      public Flow.Builder addInputParameterDefinitions(ParameterDefinition value)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitions

      public Flow.Builder addInputParameterDefinitions(int index, ParameterDefinition value)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitions

      public Flow.Builder addInputParameterDefinitions(ParameterDefinition.Builder builderForValue)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addInputParameterDefinitions

      public Flow.Builder addInputParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addAllInputParameterDefinitions

      public Flow.Builder addAllInputParameterDefinitions(Iterable<? extends ParameterDefinition> values)
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • clearInputParameterDefinitions

      public Flow.Builder clearInputParameterDefinitions()
       Optional. Defined structured input parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition input_parameter_definitions = 26 [(.google.api.field_behavior) = OPTIONAL];
    • removeInputParameterDefinitions

      public Flow.Builder removeInputParameterDefinitions(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];
    • getInputParameterDefinitionsBuilder

      public ParameterDefinition.Builder getInputParameterDefinitionsBuilder(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];
    • getInputParameterDefinitionsOrBuilder

      public 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];
      Specified by:
      getInputParameterDefinitionsOrBuilder in interface FlowOrBuilder
    • getInputParameterDefinitionsOrBuilderList

      public 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];
      Specified by:
      getInputParameterDefinitionsOrBuilderList in interface FlowOrBuilder
    • addInputParameterDefinitionsBuilder

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

      public ParameterDefinition.Builder addInputParameterDefinitionsBuilder(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];
    • getInputParameterDefinitionsBuilderList

      public List<ParameterDefinition.Builder> getInputParameterDefinitionsBuilderList()
       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

      public 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];
      Specified by:
      getOutputParameterDefinitionsList in interface FlowOrBuilder
    • getOutputParameterDefinitionsCount

      public 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];
      Specified by:
      getOutputParameterDefinitionsCount in interface FlowOrBuilder
    • getOutputParameterDefinitions

      public 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];
      Specified by:
      getOutputParameterDefinitions in interface FlowOrBuilder
    • setOutputParameterDefinitions

      public Flow.Builder setOutputParameterDefinitions(int index, ParameterDefinition value)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • setOutputParameterDefinitions

      public Flow.Builder setOutputParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitions

      public Flow.Builder addOutputParameterDefinitions(ParameterDefinition value)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitions

      public Flow.Builder addOutputParameterDefinitions(int index, ParameterDefinition value)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitions

      public Flow.Builder addOutputParameterDefinitions(ParameterDefinition.Builder builderForValue)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • addOutputParameterDefinitions

      public Flow.Builder addOutputParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • addAllOutputParameterDefinitions

      public Flow.Builder addAllOutputParameterDefinitions(Iterable<? extends ParameterDefinition> values)
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • clearOutputParameterDefinitions

      public Flow.Builder clearOutputParameterDefinitions()
       Optional. Defined structured output parameters for this flow.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ParameterDefinition output_parameter_definitions = 27 [(.google.api.field_behavior) = OPTIONAL];
    • removeOutputParameterDefinitions

      public Flow.Builder removeOutputParameterDefinitions(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];
    • getOutputParameterDefinitionsBuilder

      public ParameterDefinition.Builder getOutputParameterDefinitionsBuilder(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];
    • getOutputParameterDefinitionsOrBuilder

      public 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];
      Specified by:
      getOutputParameterDefinitionsOrBuilder in interface FlowOrBuilder
    • getOutputParameterDefinitionsOrBuilderList

      public 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];
      Specified by:
      getOutputParameterDefinitionsOrBuilderList in interface FlowOrBuilder
    • addOutputParameterDefinitionsBuilder

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

      public ParameterDefinition.Builder addOutputParameterDefinitionsBuilder(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];
    • getOutputParameterDefinitionsBuilderList

      public List<ParameterDefinition.Builder> getOutputParameterDefinitionsBuilderList()
       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

      public 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];
      Specified by:
      hasMultiLanguageSettings in interface FlowOrBuilder
      Returns:
      Whether the multiLanguageSettings field is set.
    • getMultiLanguageSettings

      public 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];
      Specified by:
      getMultiLanguageSettings in interface FlowOrBuilder
      Returns:
      The multiLanguageSettings.
    • setMultiLanguageSettings

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

      public Flow.Builder setMultiLanguageSettings(Flow.MultiLanguageSettings.Builder builderForValue)
       Optional. Multi-lingual agent settings for this flow.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMultiLanguageSettings

      public Flow.Builder mergeMultiLanguageSettings(Flow.MultiLanguageSettings value)
       Optional. Multi-lingual agent settings for this flow.
       
      .google.cloud.dialogflow.cx.v3beta1.Flow.MultiLanguageSettings multi_language_settings = 28 [(.google.api.field_behavior) = OPTIONAL];
    • clearMultiLanguageSettings

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

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

      public 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];
      Specified by:
      getMultiLanguageSettingsOrBuilder in interface FlowOrBuilder
    • getLocked

      public 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;
      Specified by:
      getLocked in interface FlowOrBuilder
      Returns:
      The locked.
    • setLocked

      public 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;
      Parameters:
      value - The locked to set.
      Returns:
      This builder for chaining.
    • clearLocked

      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;
      Returns:
      This builder for chaining.