Class Page
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.cx.v3.Page
-
- All Implemented Interfaces:
PageOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Page extends com.google.protobuf.GeneratedMessageV3 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](https://cloud.google.com/dialogflow/cx/docs/concept/page).
Protobuf typegoogle.cloud.dialogflow.cx.v3.Page
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Page.Builder
A Dialogflow CX conversation (session) can be described and visualized as a state machine.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
DISPLAY_NAME_FIELD_NUMBER
static int
ENTRY_FULFILLMENT_FIELD_NUMBER
static int
EVENT_HANDLERS_FIELD_NUMBER
static int
FORM_FIELD_NUMBER
static int
KNOWLEDGE_CONNECTOR_SETTINGS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
TRANSITION_ROUTE_GROUPS_FIELD_NUMBER
static int
TRANSITION_ROUTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Page
getDefaultInstance()
Page
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.Fulfillment
getEntryFulfillment()
The fulfillment to call when the session is entering the page.FulfillmentOrBuilder
getEntryFulfillmentOrBuilder()
The fulfillment to call when the session is entering the page.EventHandler
getEventHandlers(int index)
Handlers associated with the page to handle events such as webhook errors, no match or no input.int
getEventHandlersCount()
Handlers associated with the page to handle events such as webhook errors, no match or no input.List<EventHandler>
getEventHandlersList()
Handlers associated with the page to handle events such as webhook errors, no match or no input.EventHandlerOrBuilder
getEventHandlersOrBuilder(int index)
Handlers associated with the page to handle events such as webhook errors, no match or no input.List<? extends EventHandlerOrBuilder>
getEventHandlersOrBuilderList()
Handlers associated with the page to handle events such as webhook errors, no match or no input.Form
getForm()
The form associated with the page, used for collecting parameters relevant to the page.FormOrBuilder
getFormOrBuilder()
The form associated with the page, used for collecting parameters relevant to the page.KnowledgeConnectorSettings
getKnowledgeConnectorSettings()
Optional.KnowledgeConnectorSettingsOrBuilder
getKnowledgeConnectorSettingsOrBuilder()
Optional.String
getName()
The unique identifier of the page.com.google.protobuf.ByteString
getNameBytes()
The unique identifier of the page.com.google.protobuf.Parser<Page>
getParserForType()
int
getSerializedSize()
String
getTransitionRouteGroups(int index)
Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] added to the page.com.google.protobuf.ByteString
getTransitionRouteGroupsBytes(int index)
Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] added to the page.int
getTransitionRouteGroupsCount()
Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] added to the page.com.google.protobuf.ProtocolStringList
getTransitionRouteGroupsList()
Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] added to the page.TransitionRoute
getTransitionRoutes(int index)
A list of transitions for the transition rules of this page.int
getTransitionRoutesCount()
A list of transitions for the transition rules of this page.List<TransitionRoute>
getTransitionRoutesList()
A list of transitions for the transition rules of this page.TransitionRouteOrBuilder
getTransitionRoutesOrBuilder(int index)
A list of transitions for the transition rules of this page.List<? extends TransitionRouteOrBuilder>
getTransitionRoutesOrBuilderList()
A list of transitions for the transition rules of this page.boolean
hasEntryFulfillment()
The fulfillment to call when the session is entering the page.boolean
hasForm()
The form associated with the page, used for collecting parameters relevant to the page.int
hashCode()
boolean
hasKnowledgeConnectorSettings()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Page.Builder
newBuilder()
static Page.Builder
newBuilder(Page prototype)
Page.Builder
newBuilderForType()
protected Page.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Page
parseDelimitedFrom(InputStream input)
static Page
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Page
parseFrom(byte[] data)
static Page
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Page
parseFrom(com.google.protobuf.ByteString data)
static Page
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Page
parseFrom(com.google.protobuf.CodedInputStream input)
static Page
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Page
parseFrom(InputStream input)
static Page
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Page
parseFrom(ByteBuffer data)
static Page
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Page>
parser()
Page.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTRY_FULFILLMENT_FIELD_NUMBER
public static final int ENTRY_FULFILLMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORM_FIELD_NUMBER
public static final int FORM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSITION_ROUTE_GROUPS_FIELD_NUMBER
public static final int TRANSITION_ROUTE_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSITION_ROUTES_FIELD_NUMBER
public static final int TRANSITION_ROUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_HANDLERS_FIELD_NUMBER
public static final int EVENT_HANDLERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KNOWLEDGE_CONNECTOR_SETTINGS_FIELD_NUMBER
public static final int KNOWLEDGE_CONNECTOR_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
The unique identifier of the page. Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3.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;
- Specified by:
getName
in interfacePageOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The unique identifier of the page. Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3.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;
- Specified by:
getNameBytes
in interfacePageOrBuilder
- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Required. The human-readable name of the page, unique within the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDisplayName
in interfacePageOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. The human-readable name of the page, unique within the flow.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDisplayNameBytes
in interfacePageOrBuilder
- Returns:
- The bytes for displayName.
-
hasEntryFulfillment
public boolean hasEntryFulfillment()
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
- Specified by:
hasEntryFulfillment
in interfacePageOrBuilder
- Returns:
- Whether the entryFulfillment field is set.
-
getEntryFulfillment
public Fulfillment getEntryFulfillment()
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
- Specified by:
getEntryFulfillment
in interfacePageOrBuilder
- Returns:
- The entryFulfillment.
-
getEntryFulfillmentOrBuilder
public FulfillmentOrBuilder getEntryFulfillmentOrBuilder()
The fulfillment to call when the session is entering the page.
.google.cloud.dialogflow.cx.v3.Fulfillment entry_fulfillment = 7;
- Specified by:
getEntryFulfillmentOrBuilder
in interfacePageOrBuilder
-
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;
- Specified by:
hasForm
in interfacePageOrBuilder
- Returns:
- Whether the form field is set.
-
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;
- Specified by:
getForm
in interfacePageOrBuilder
- Returns:
- The form.
-
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;
- Specified by:
getFormOrBuilder
in interfacePageOrBuilder
-
getTransitionRouteGroupsList
public com.google.protobuf.ProtocolStringList getTransitionRouteGroupsList()
Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] added to the page. Transition route groups must be unique within a page. If the page links both flow-level transition route groups and agent-level transition route groups, the flow-level ones will have higher priority and will be put before the agent-level ones. * 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>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level groups.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
- Specified by:
getTransitionRouteGroupsList
in interfacePageOrBuilder
- Returns:
- A list containing the transitionRouteGroups.
-
getTransitionRouteGroupsCount
public int getTransitionRouteGroupsCount()
Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] added to the page. Transition route groups must be unique within a page. If the page links both flow-level transition route groups and agent-level transition route groups, the flow-level ones will have higher priority and will be put before the agent-level ones. * 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>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level groups.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
- Specified by:
getTransitionRouteGroupsCount
in interfacePageOrBuilder
- Returns:
- The count of transitionRouteGroups.
-
getTransitionRouteGroups
public String getTransitionRouteGroups(int index)
Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] added to the page. Transition route groups must be unique within a page. If the page links both flow-level transition route groups and agent-level transition route groups, the flow-level ones will have higher priority and will be put before the agent-level ones. * 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>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level groups.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
- Specified by:
getTransitionRouteGroups
in interfacePageOrBuilder
- 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)
Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] added to the page. Transition route groups must be unique within a page. If the page links both flow-level transition route groups and agent-level transition route groups, the flow-level ones will have higher priority and will be put before the agent-level ones. * 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>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/transitionRouteGroups/<TransitionRouteGroup ID>` for agent-level groups.
repeated string transition_route_groups = 11 [(.google.api.resource_reference) = { ... }
- Specified by:
getTransitionRouteGroupsBytes
in interfacePageOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the transitionRouteGroups at the given index.
-
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][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Flow.transition_route_groups] with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
- Specified by:
getTransitionRoutesList
in interfacePageOrBuilder
-
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][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Flow.transition_route_groups] with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
- Specified by:
getTransitionRoutesOrBuilderList
in interfacePageOrBuilder
-
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][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Flow.transition_route_groups] with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
- Specified by:
getTransitionRoutesCount
in interfacePageOrBuilder
-
getTransitionRoutes
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][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Flow.transition_route_groups] with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
- Specified by:
getTransitionRoutes
in interfacePageOrBuilder
-
getTransitionRoutesOrBuilder
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][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with intent specified. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Flow.transition_route_groups] with intent specified. * TransitionRoutes defined in the page with only condition specified. * TransitionRoutes defined in the [transition route groups][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] with only condition specified.
repeated .google.cloud.dialogflow.cx.v3.TransitionRoute transition_routes = 9;
- Specified by:
getTransitionRoutesOrBuilder
in interfacePageOrBuilder
-
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;
- Specified by:
getEventHandlersList
in interfacePageOrBuilder
-
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;
- Specified by:
getEventHandlersOrBuilderList
in interfacePageOrBuilder
-
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;
- Specified by:
getEventHandlersCount
in interfacePageOrBuilder
-
getEventHandlers
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;
- Specified by:
getEventHandlers
in interfacePageOrBuilder
-
getEventHandlersOrBuilder
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;
- Specified by:
getEventHandlersOrBuilder
in interfacePageOrBuilder
-
hasKnowledgeConnectorSettings
public boolean hasKnowledgeConnectorSettings()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasKnowledgeConnectorSettings
in interfacePageOrBuilder
- Returns:
- Whether the knowledgeConnectorSettings field is set.
-
getKnowledgeConnectorSettings
public KnowledgeConnectorSettings getKnowledgeConnectorSettings()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKnowledgeConnectorSettings
in interfacePageOrBuilder
- Returns:
- The knowledgeConnectorSettings.
-
getKnowledgeConnectorSettingsOrBuilder
public KnowledgeConnectorSettingsOrBuilder getKnowledgeConnectorSettingsOrBuilder()
Optional. Knowledge connector configuration.
.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings knowledge_connector_settings = 18 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKnowledgeConnectorSettingsOrBuilder
in interfacePageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Page parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Page parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Page parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Page parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Page parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Page parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Page parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Page parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Page parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Page parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Page parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Page parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Page.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Page.Builder newBuilder()
-
newBuilder
public static Page.Builder newBuilder(Page prototype)
-
toBuilder
public Page.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Page.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Page getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Page> parser()
-
getParserForType
public com.google.protobuf.Parser<Page> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Page getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-