Interface PageOrBuilder (0.13.0)

public interface PageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Required. The human-readable name of the page, unique within the flow.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The human-readable name of the page, unique within the flow.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

getEntryFulfillment()

public abstract Fulfillment getEntryFulfillment()

The fulfillment to call when the session is entering the page.

.google.cloud.dialogflow.cx.v3beta1.Fulfillment entry_fulfillment = 7;

Returns
TypeDescription
Fulfillment

The entryFulfillment.

getEntryFulfillmentOrBuilder()

public abstract FulfillmentOrBuilder getEntryFulfillmentOrBuilder()

The fulfillment to call when the session is entering the page.

.google.cloud.dialogflow.cx.v3beta1.Fulfillment entry_fulfillment = 7;

Returns
TypeDescription
FulfillmentOrBuilder

getEventHandlers(int index)

public abstract 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.v3beta1.EventHandler event_handlers = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
EventHandler

getEventHandlersCount()

public abstract int getEventHandlersCount()

Handlers associated with the page to handle events such as webhook errors, no match or no input.

repeated .google.cloud.dialogflow.cx.v3beta1.EventHandler event_handlers = 10;

Returns
TypeDescription
int

getEventHandlersList()

public abstract 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.v3beta1.EventHandler event_handlers = 10;

Returns
TypeDescription
List<EventHandler>

getEventHandlersOrBuilder(int index)

public abstract 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.v3beta1.EventHandler event_handlers = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
EventHandlerOrBuilder

getEventHandlersOrBuilderList()

public abstract 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.v3beta1.EventHandler event_handlers = 10;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.EventHandlerOrBuilder>

getForm()

public abstract Form getForm()

The form associated with the page, used for collecting parameters relevant to the page.

.google.cloud.dialogflow.cx.v3beta1.Form form = 4;

Returns
TypeDescription
Form

The form.

getFormOrBuilder()

public abstract FormOrBuilder getFormOrBuilder()

The form associated with the page, used for collecting parameters relevant to the page.

.google.cloud.dialogflow.cx.v3beta1.Form form = 4;

Returns
TypeDescription
FormOrBuilder

getName()

public abstract 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;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for name.

getTransitionRouteGroups(int index)

public abstract 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) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The transitionRouteGroups at the given index.

getTransitionRouteGroupsBytes(int index)

public abstract 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) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the transitionRouteGroups at the given index.

getTransitionRouteGroupsCount()

public abstract 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) = { ... }

Returns
TypeDescription
int

The count of transitionRouteGroups.

getTransitionRouteGroupsList()

public abstract List<String> 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) = { ... }

Returns
TypeDescription
List<String>

A list containing the transitionRouteGroups.

getTransitionRoutes(int index)

public abstract 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.v3beta1.TransitionRoute transition_routes = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRoute

getTransitionRoutesCount()

public abstract 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.v3beta1.TransitionRoute transition_routes = 9;

Returns
TypeDescription
int

getTransitionRoutesList()

public abstract 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.v3beta1.TransitionRoute transition_routes = 9;

Returns
TypeDescription
List<TransitionRoute>

getTransitionRoutesOrBuilder(int index)

public abstract 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.v3beta1.TransitionRoute transition_routes = 9;

Parameter
NameDescription
indexint
Returns
TypeDescription
TransitionRouteOrBuilder

getTransitionRoutesOrBuilderList()

public abstract 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.v3beta1.TransitionRoute transition_routes = 9;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteOrBuilder>

hasEntryFulfillment()

public abstract boolean hasEntryFulfillment()

The fulfillment to call when the session is entering the page.

.google.cloud.dialogflow.cx.v3beta1.Fulfillment entry_fulfillment = 7;

Returns
TypeDescription
boolean

Whether the entryFulfillment field is set.

hasForm()

public abstract boolean hasForm()

The form associated with the page, used for collecting parameters relevant to the page.

.google.cloud.dialogflow.cx.v3beta1.Form form = 4;

Returns
TypeDescription
boolean

Whether the form field is set.