com.google.cloud.dialogflow.cx.v3beta1.WebhookResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3beta1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3beta1/webhook.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.cx.v3beta1;
public interface WebhookResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.WebhookResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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.v3beta1.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
*
*
* @return Whether the fulfillmentResponse field is set.
*/
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.v3beta1.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
*
*
* @return The fulfillmentResponse.
*/
com.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.WebhookResponse.FulfillmentResponse fulfillment_response = 1;
*
*/
com.google.cloud.dialogflow.cx.v3beta1.WebhookResponse.FulfillmentResponseOrBuilder
getFulfillmentResponseOrBuilder();
/**
*
*
*
* 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.v3beta1.PageInfo page_info = 2;
*
* @return Whether the pageInfo field is set.
*/
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.v3beta1.PageInfo page_info = 2;
*
* @return The pageInfo.
*/
com.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.PageInfo page_info = 2;
*/
com.google.cloud.dialogflow.cx.v3beta1.PageInfoOrBuilder getPageInfoOrBuilder();
/**
*
*
*
* 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.v3beta1.SessionInfo session_info = 3;
*
* @return Whether the sessionInfo field is set.
*/
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.v3beta1.SessionInfo session_info = 3;
*
* @return The sessionInfo.
*/
com.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.SessionInfo session_info = 3;
*/
com.google.cloud.dialogflow.cx.v3beta1.SessionInfoOrBuilder getSessionInfoOrBuilder();
/**
*
*
*
* Value to append directly to
* [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
*
* @return Whether the payload field is set.
*/
boolean hasPayload();
/**
*
*
*
* Value to append directly to
* [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
*
* @return The payload.
*/
com.google.protobuf.Struct getPayload();
/**
*
*
*
* Value to append directly to
* [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3beta1.QueryResult.webhook_payloads].
*
*
* .google.protobuf.Struct payload = 4;
*/
com.google.protobuf.StructOrBuilder getPayloadOrBuilder();
/**
*
*
*
* 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) = { ... }
*
* @return Whether the targetPage field is set.
*/
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) = { ... }
*
* @return The targetPage.
*/
java.lang.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) = { ... }
*
* @return The bytes for targetPage.
*/
com.google.protobuf.ByteString getTargetPageBytes();
/**
*
*
*
* 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) = { ... }
*
* @return Whether the targetFlow field is set.
*/
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) = { ... }
*
* @return The targetFlow.
*/
java.lang.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) = { ... }
*
* @return The bytes for targetFlow.
*/
com.google.protobuf.ByteString getTargetFlowBytes();
com.google.cloud.dialogflow.cx.v3beta1.WebhookResponse.TransitionCase getTransitionCase();
}