- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class Page.Builder extends GeneratedMessageV3.Builder<Page.Builder> implements PageOrBuilder
A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the Page guide.
Protobuf type google.cloud.dialogflow.cx.v3.Page
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Page.BuilderImplements
PageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllEventHandlers(Iterable<? extends EventHandler> values)
public Page.Builder addAllEventHandlers(Iterable<? extends EventHandler> values)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3.EventHandler> |
Type | Description |
Page.Builder |
addAllTransitionRouteGroups(Iterable<String> values)
public Page.Builder addAllTransitionRouteGroups(Iterable<String> values)
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Name | Description |
values | Iterable<String> The transitionRouteGroups to add. |
Type | Description |
Page.Builder | This builder for chaining. |
addAllTransitionRoutes(Iterable<? extends TransitionRoute> values)
public Page.Builder addAllTransitionRoutes(Iterable<? extends TransitionRoute> values)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3.TransitionRoute> |
Type | Description |
Page.Builder |
addEventHandlers(EventHandler value)
public Page.Builder addEventHandlers(EventHandler value)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
value | EventHandler |
Type | Description |
Page.Builder |
addEventHandlers(EventHandler.Builder builderForValue)
public Page.Builder addEventHandlers(EventHandler.Builder builderForValue)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
builderForValue | EventHandler.Builder |
Type | Description |
Page.Builder |
addEventHandlers(int index, EventHandler value)
public Page.Builder addEventHandlers(int index, EventHandler value)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
value | EventHandler |
Type | Description |
Page.Builder |
addEventHandlers(int index, EventHandler.Builder builderForValue)
public Page.Builder addEventHandlers(int index, EventHandler.Builder builderForValue)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
builderForValue | EventHandler.Builder |
Type | Description |
Page.Builder |
addEventHandlersBuilder()
public EventHandler.Builder addEventHandlersBuilder()
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Type | Description |
EventHandler.Builder |
addEventHandlersBuilder(int index)
public EventHandler.Builder addEventHandlersBuilder(int index)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
Type | Description |
EventHandler.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Page.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Page.Builder |
addTransitionRouteGroups(String value)
public Page.Builder addTransitionRouteGroups(String value)
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The transitionRouteGroups to add. |
Type | Description |
Page.Builder | This builder for chaining. |
addTransitionRouteGroupsBytes(ByteString value)
public Page.Builder addTransitionRouteGroupsBytes(ByteString value)
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes of the transitionRouteGroups to add. |
Type | Description |
Page.Builder | This builder for chaining. |
addTransitionRoutes(TransitionRoute value)
public Page.Builder addTransitionRoutes(TransitionRoute value)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
value | TransitionRoute |
Type | Description |
Page.Builder |
addTransitionRoutes(TransitionRoute.Builder builderForValue)
public Page.Builder addTransitionRoutes(TransitionRoute.Builder builderForValue)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
builderForValue | TransitionRoute.Builder |
Type | Description |
Page.Builder |
addTransitionRoutes(int index, TransitionRoute value)
public Page.Builder addTransitionRoutes(int index, TransitionRoute value)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
value | TransitionRoute |
Type | Description |
Page.Builder |
addTransitionRoutes(int index, TransitionRoute.Builder builderForValue)
public Page.Builder addTransitionRoutes(int index, TransitionRoute.Builder builderForValue)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
builderForValue | TransitionRoute.Builder |
Type | Description |
Page.Builder |
addTransitionRoutesBuilder()
public TransitionRoute.Builder addTransitionRoutesBuilder()
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Type | Description |
TransitionRoute.Builder |
addTransitionRoutesBuilder(int index)
public TransitionRoute.Builder addTransitionRoutesBuilder(int index)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
Type | Description |
TransitionRoute.Builder |
build()
public Page build()
Type | Description |
Page |
buildPartial()
public Page buildPartial()
Type | Description |
Page |
clear()
public Page.Builder clear()
Type | Description |
Page.Builder |
clearDisplayName()
public Page.Builder clearDisplayName()
Required. The human-readable name of the page, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Page.Builder | This builder for chaining. |
clearEntryFulfillment()
public Page.Builder clearEntryFulfillment()
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
Type | Description |
Page.Builder |
clearEventHandlers()
public Page.Builder clearEventHandlers()
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Type | Description |
Page.Builder |
clearField(Descriptors.FieldDescriptor field)
public Page.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Page.Builder |
clearForm()
public Page.Builder clearForm()
The form associated with the page, used for collecting parameters relevant to the page.
.google.cloud.dialogflow.cx.v3.Form form = 4;
Type | Description |
Page.Builder |
clearName()
public Page.Builder clearName()
The unique identifier of the page.
Required for the Pages.UpdatePage method. Pages.CreatePage
populates the name automatically.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string name = 1;
Type | Description |
Page.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Page.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Page.Builder |
clearTransitionRouteGroups()
public Page.Builder clearTransitionRouteGroups()
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Type | Description |
Page.Builder | This builder for chaining. |
clearTransitionRoutes()
public Page.Builder clearTransitionRoutes()
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Type | Description |
Page.Builder |
clone()
public Page.Builder clone()
Type | Description |
Page.Builder |
getDefaultInstanceForType()
public Page getDefaultInstanceForType()
Type | Description |
Page |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The human-readable name of the page, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The human-readable name of the page, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for displayName. |
getEntryFulfillment()
public Fulfillment getEntryFulfillment()
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
Type | Description |
Fulfillment | The entryFulfillment. |
getEntryFulfillmentBuilder()
public Fulfillment.Builder getEntryFulfillmentBuilder()
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
Type | Description |
Fulfillment.Builder |
getEntryFulfillmentOrBuilder()
public FulfillmentOrBuilder getEntryFulfillmentOrBuilder()
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
Type | Description |
FulfillmentOrBuilder |
getEventHandlers(int index)
public EventHandler getEventHandlers(int index)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
Type | Description |
EventHandler |
getEventHandlersBuilder(int index)
public EventHandler.Builder getEventHandlersBuilder(int index)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
Type | Description |
EventHandler.Builder |
getEventHandlersBuilderList()
public List<EventHandler.Builder> getEventHandlersBuilderList()
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Type | Description |
List<Builder> |
getEventHandlersCount()
public int getEventHandlersCount()
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Type | Description |
int |
getEventHandlersList()
public List<EventHandler> getEventHandlersList()
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Type | Description |
List<EventHandler> |
getEventHandlersOrBuilder(int index)
public EventHandlerOrBuilder getEventHandlersOrBuilder(int index)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
Type | Description |
EventHandlerOrBuilder |
getEventHandlersOrBuilderList()
public List<? extends EventHandlerOrBuilder> getEventHandlersOrBuilderList()
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.EventHandlerOrBuilder> |
getForm()
public Form getForm()
The form associated with the page, used for collecting parameters relevant to the page.
.google.cloud.dialogflow.cx.v3.Form form = 4;
Type | Description |
Form | The form. |
getFormBuilder()
public Form.Builder getFormBuilder()
The form associated with the page, used for collecting parameters relevant to the page.
.google.cloud.dialogflow.cx.v3.Form form = 4;
Type | Description |
Form.Builder |
getFormOrBuilder()
public FormOrBuilder getFormOrBuilder()
The form associated with the page, used for collecting parameters relevant to the page.
.google.cloud.dialogflow.cx.v3.Form form = 4;
Type | Description |
FormOrBuilder |
getName()
public String getName()
The unique identifier of the page.
Required for the Pages.UpdatePage method. Pages.CreatePage
populates the name automatically.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The unique identifier of the page.
Required for the Pages.UpdatePage method. Pages.CreatePage
populates the name automatically.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getTransitionRouteGroups(int index)
public String getTransitionRouteGroups(int index)
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The transitionRouteGroups at the given index. |
getTransitionRouteGroupsBytes(int index)
public ByteString getTransitionRouteGroupsBytes(int index)
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the transitionRouteGroups at the given index. |
getTransitionRouteGroupsCount()
public int getTransitionRouteGroupsCount()
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Type | Description |
int | The count of transitionRouteGroups. |
getTransitionRouteGroupsList()
public ProtocolStringList getTransitionRouteGroupsList()
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Type | Description |
ProtocolStringList | A list containing the transitionRouteGroups. |
getTransitionRoutes(int index)
public TransitionRoute getTransitionRoutes(int index)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
Type | Description |
TransitionRoute |
getTransitionRoutesBuilder(int index)
public TransitionRoute.Builder getTransitionRoutesBuilder(int index)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
Type | Description |
TransitionRoute.Builder |
getTransitionRoutesBuilderList()
public List<TransitionRoute.Builder> getTransitionRoutesBuilderList()
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Type | Description |
List<Builder> |
getTransitionRoutesCount()
public int getTransitionRoutesCount()
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Type | Description |
int |
getTransitionRoutesList()
public List<TransitionRoute> getTransitionRoutesList()
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Type | Description |
List<TransitionRoute> |
getTransitionRoutesOrBuilder(int index)
public TransitionRouteOrBuilder getTransitionRoutesOrBuilder(int index)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
Type | Description |
TransitionRouteOrBuilder |
getTransitionRoutesOrBuilderList()
public List<? extends TransitionRouteOrBuilder> getTransitionRoutesOrBuilderList()
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.TransitionRouteOrBuilder> |
hasEntryFulfillment()
public boolean hasEntryFulfillment()
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
Type | Description |
boolean | Whether the entryFulfillment field is set. |
hasForm()
public boolean hasForm()
The form associated with the page, used for collecting parameters relevant to the page.
.google.cloud.dialogflow.cx.v3.Form form = 4;
Type | Description |
boolean | Whether the form field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEntryFulfillment(Fulfillment value)
public Page.Builder mergeEntryFulfillment(Fulfillment value)
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
Name | Description |
value | Fulfillment |
Type | Description |
Page.Builder |
mergeForm(Form value)
public Page.Builder mergeForm(Form value)
The form associated with the page, used for collecting parameters relevant to the page.
.google.cloud.dialogflow.cx.v3.Form form = 4;
Name | Description |
value | Form |
Type | Description |
Page.Builder |
mergeFrom(Page other)
public Page.Builder mergeFrom(Page other)
Name | Description |
other | Page |
Type | Description |
Page.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Page.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Page.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Page.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Page.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Page.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Page.Builder |
removeEventHandlers(int index)
public Page.Builder removeEventHandlers(int index)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
Type | Description |
Page.Builder |
removeTransitionRoutes(int index)
public Page.Builder removeTransitionRoutes(int index)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
Type | Description |
Page.Builder |
setDisplayName(String value)
public Page.Builder setDisplayName(String value)
Required. The human-readable name of the page, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The displayName to set. |
Type | Description |
Page.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Page.Builder setDisplayNameBytes(ByteString value)
Required. The human-readable name of the page, unique within the agent.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Page.Builder | This builder for chaining. |
setEntryFulfillment(Fulfillment value)
public Page.Builder setEntryFulfillment(Fulfillment value)
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
Name | Description |
value | Fulfillment |
Type | Description |
Page.Builder |
setEntryFulfillment(Fulfillment.Builder builderForValue)
public Page.Builder setEntryFulfillment(Fulfillment.Builder builderForValue)
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
Name | Description |
builderForValue | Fulfillment.Builder |
Type | Description |
Page.Builder |
setEventHandlers(int index, EventHandler value)
public Page.Builder setEventHandlers(int index, EventHandler value)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
value | EventHandler |
Type | Description |
Page.Builder |
setEventHandlers(int index, EventHandler.Builder builderForValue)
public Page.Builder setEventHandlers(int index, EventHandler.Builder builderForValue)
Handlers associated with the page to handle events such as webhook errors, no match or no input.
repeated .google.cloud.dialogflow.cx.v3.EventHandler event_handlers = 10;
Name | Description |
index | int |
builderForValue | EventHandler.Builder |
Type | Description |
Page.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Page.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Page.Builder |
setForm(Form value)
public Page.Builder setForm(Form value)
The form associated with the page, used for collecting parameters relevant to the page.
.google.cloud.dialogflow.cx.v3.Form form = 4;
Name | Description |
value | Form |
Type | Description |
Page.Builder |
setForm(Form.Builder builderForValue)
public Page.Builder setForm(Form.Builder builderForValue)
The form associated with the page, used for collecting parameters relevant to the page.
.google.cloud.dialogflow.cx.v3.Form form = 4;
Name | Description |
builderForValue | Form.Builder |
Type | Description |
Page.Builder |
setName(String value)
public Page.Builder setName(String value)
The unique identifier of the page.
Required for the Pages.UpdatePage method. Pages.CreatePage
populates the name automatically.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Page.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Page.Builder setNameBytes(ByteString value)
The unique identifier of the page.
Required for the Pages.UpdatePage method. Pages.CreatePage
populates the name automatically.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Page.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Page.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Page.Builder |
setTransitionRouteGroups(int index, String value)
public Page.Builder setTransitionRouteGroups(int index, String value)
Ordered list of TransitionRouteGroups
associated
with the page. Transition route groups must be unique within a page.
- If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -> page's transition route group -> flow's transition routes.
- If multiple transition route groups within a page contain the same
intent, then the first group in the ordered list takes precedence.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>
.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index to set the value at. |
value | String The transitionRouteGroups to set. |
Type | Description |
Page.Builder | This builder for chaining. |
setTransitionRoutes(int index, TransitionRoute value)
public Page.Builder setTransitionRoutes(int index, TransitionRoute value)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
value | TransitionRoute |
Type | Description |
Page.Builder |
setTransitionRoutes(int index, TransitionRoute.Builder builderForValue)
public Page.Builder setTransitionRoutes(int index, TransitionRoute.Builder builderForValue)
A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order:
- TransitionRoutes defined in the page with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in flow with intent specified.
- TransitionRoutes defined in the transition route groups with intent specified.
- TransitionRoutes defined in the page with only condition specified.
- TransitionRoutes defined in the transition route groups with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
Name | Description |
index | int |
builderForValue | TransitionRoute.Builder |
Type | Description |
Page.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Page.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Page.Builder |