Interface WebhookResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WebhookResponse
,WebhookResponse.Builder
public interface WebhookResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebhookResponse.FulfillmentResponse
getFulfillmentResponse()
The fulfillment response to send to the user.WebhookResponse.FulfillmentResponseOrBuilder
getFulfillmentResponseOrBuilder()
The fulfillment response to send to the user.PageInfo
getPageInfo()
Information about page status.PageInfoOrBuilder
getPageInfoOrBuilder()
Information about page status.com.google.protobuf.Struct
getPayload()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].com.google.protobuf.StructOrBuilder
getPayloadOrBuilder()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].SessionInfo
getSessionInfo()
Information about session status.SessionInfoOrBuilder
getSessionInfoOrBuilder()
Information about session status.String
getTargetFlow()
The target flow to transition to.com.google.protobuf.ByteString
getTargetFlowBytes()
The target flow to transition to.String
getTargetPage()
The target page to transition to.com.google.protobuf.ByteString
getTargetPageBytes()
The target page to transition to.WebhookResponse.TransitionCase
getTransitionCase()
boolean
hasFulfillmentResponse()
The fulfillment response to send to the user.boolean
hasPageInfo()
Information about page status.boolean
hasPayload()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].boolean
hasSessionInfo()
Information about session status.boolean
hasTargetFlow()
The target flow to transition to.boolean
hasTargetPage()
The target page to transition to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFulfillmentResponse
boolean hasFulfillmentResponse()
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
- Returns:
- Whether the fulfillmentResponse field is set.
-
getFulfillmentResponse
WebhookResponse.FulfillmentResponse getFulfillmentResponse()
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
- Returns:
- The fulfillmentResponse.
-
getFulfillmentResponseOrBuilder
WebhookResponse.FulfillmentResponseOrBuilder getFulfillmentResponseOrBuilder()
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
.google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
-
hasPageInfo
boolean hasPageInfo()
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
- Returns:
- Whether the pageInfo field is set.
-
getPageInfo
PageInfo getPageInfo()
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
- Returns:
- The pageInfo.
-
getPageInfoOrBuilder
PageInfoOrBuilder getPageInfoOrBuilder()
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 2;
-
hasSessionInfo
boolean hasSessionInfo()
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
- Returns:
- Whether the sessionInfo field is set.
-
getSessionInfo
SessionInfo getSessionInfo()
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
- Returns:
- The sessionInfo.
-
getSessionInfoOrBuilder
SessionInfoOrBuilder getSessionInfoOrBuilder()
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 3;
-
hasPayload
boolean hasPayload()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
.google.protobuf.Struct payload = 4;
- Returns:
- Whether the payload field is set.
-
getPayload
com.google.protobuf.Struct getPayload()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
.google.protobuf.Struct payload = 4;
- Returns:
- The payload.
-
getPayloadOrBuilder
com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
.google.protobuf.Struct payload = 4;
-
hasTargetPage
boolean hasTargetPage()
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 5 [(.google.api.resource_reference) = { ... }
- Returns:
- Whether the targetPage field is set.
-
getTargetPage
String getTargetPage()
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 5 [(.google.api.resource_reference) = { ... }
- Returns:
- The targetPage.
-
getTargetPageBytes
com.google.protobuf.ByteString getTargetPageBytes()
The target page to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`.
string target_page = 5 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for targetPage.
-
hasTargetFlow
boolean hasTargetFlow()
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
- Returns:
- Whether the targetFlow field is set.
-
getTargetFlow
String getTargetFlow()
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
- Returns:
- The targetFlow.
-
getTargetFlowBytes
com.google.protobuf.ByteString getTargetFlowBytes()
The target flow to transition to. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>`.
string target_flow = 6 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for targetFlow.
-
getTransitionCase
WebhookResponse.TransitionCase getTransitionCase()
-
-