com.google.cloud.dialogflow.v2beta1.WebhookRequestOrBuilder 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-v2beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2beta1
/*
* 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/v2beta1/webhook.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.v2beta1;
public interface WebhookRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.WebhookRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The unique identifier of detectIntent request session.
* Can be used to identify end-user inside webhook implementation.
* Supported formats:
* - `projects/<Project ID>/agent/sessions/<Session ID>,
* - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
* ID>`,
* - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`,
* - `projects/<Project ID>/locations/<Location
* ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
* ID>`,
*
*
* string session = 4;
*
* @return The session.
*/
java.lang.String getSession();
/**
*
*
*
* The unique identifier of detectIntent request session.
* Can be used to identify end-user inside webhook implementation.
* Supported formats:
* - `projects/<Project ID>/agent/sessions/<Session ID>,
* - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
* ID>`,
* - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
* ID>/sessions/<Session ID>`,
* - `projects/<Project ID>/locations/<Location
* ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
* ID>`,
*
*
* string session = 4;
*
* @return The bytes for session.
*/
com.google.protobuf.ByteString getSessionBytes();
/**
*
*
*
* The unique identifier of the response. Contains the same value as
* `[Streaming]DetectIntentResponse.response_id`.
*
*
* string response_id = 1;
*
* @return The responseId.
*/
java.lang.String getResponseId();
/**
*
*
*
* The unique identifier of the response. Contains the same value as
* `[Streaming]DetectIntentResponse.response_id`.
*
*
* string response_id = 1;
*
* @return The bytes for responseId.
*/
com.google.protobuf.ByteString getResponseIdBytes();
/**
*
*
*
* The result of the conversational query or event processing. Contains the
* same value as `[Streaming]DetectIntentResponse.query_result`.
*
*
* .google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
*
* @return Whether the queryResult field is set.
*/
boolean hasQueryResult();
/**
*
*
*
* The result of the conversational query or event processing. Contains the
* same value as `[Streaming]DetectIntentResponse.query_result`.
*
*
* .google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
*
* @return The queryResult.
*/
com.google.cloud.dialogflow.v2beta1.QueryResult getQueryResult();
/**
*
*
*
* The result of the conversational query or event processing. Contains the
* same value as `[Streaming]DetectIntentResponse.query_result`.
*
*
* .google.cloud.dialogflow.v2beta1.QueryResult query_result = 2;
*/
com.google.cloud.dialogflow.v2beta1.QueryResultOrBuilder getQueryResultOrBuilder();
/**
*
*
*
* Alternative query results from KnowledgeService.
*
*
* repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
*
*/
java.util.List getAlternativeQueryResultsList();
/**
*
*
*
* Alternative query results from KnowledgeService.
*
*
* repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
*
*/
com.google.cloud.dialogflow.v2beta1.QueryResult getAlternativeQueryResults(int index);
/**
*
*
*
* Alternative query results from KnowledgeService.
*
*
* repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
*
*/
int getAlternativeQueryResultsCount();
/**
*
*
*
* Alternative query results from KnowledgeService.
*
*
* repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
*
*/
java.util.List extends com.google.cloud.dialogflow.v2beta1.QueryResultOrBuilder>
getAlternativeQueryResultsOrBuilderList();
/**
*
*
*
* Alternative query results from KnowledgeService.
*
*
* repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
*
*/
com.google.cloud.dialogflow.v2beta1.QueryResultOrBuilder getAlternativeQueryResultsOrBuilder(
int index);
/**
*
*
*
* Optional. The contents of the original request that was passed to
* `[Streaming]DetectIntent` call.
*
*
*
* .google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
*
*
* @return Whether the originalDetectIntentRequest field is set.
*/
boolean hasOriginalDetectIntentRequest();
/**
*
*
*
* Optional. The contents of the original request that was passed to
* `[Streaming]DetectIntent` call.
*
*
*
* .google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
*
*
* @return The originalDetectIntentRequest.
*/
com.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest getOriginalDetectIntentRequest();
/**
*
*
*
* Optional. The contents of the original request that was passed to
* `[Streaming]DetectIntent` call.
*
*
*
* .google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
*
*/
com.google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequestOrBuilder
getOriginalDetectIntentRequestOrBuilder();
}