com.google.cloud.dialogflow.v2beta1.ConversationEventOrBuilder 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/conversation_event.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.v2beta1;
public interface ConversationEventOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.ConversationEvent)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The unique identifier of the conversation this notification
* refers to.
* Format: `projects/<Project ID>/conversations/<Conversation ID>`.
*
*
* string conversation = 1;
*
* @return The conversation.
*/
java.lang.String getConversation();
/**
*
*
*
* Required. The unique identifier of the conversation this notification
* refers to.
* Format: `projects/<Project ID>/conversations/<Conversation ID>`.
*
*
* string conversation = 1;
*
* @return The bytes for conversation.
*/
com.google.protobuf.ByteString getConversationBytes();
/**
*
*
*
* Required. The type of the event that this notification refers to.
*
*
* .google.cloud.dialogflow.v2beta1.ConversationEvent.Type type = 2;
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* Required. The type of the event that this notification refers to.
*
*
* .google.cloud.dialogflow.v2beta1.ConversationEvent.Type type = 2;
*
* @return The type.
*/
com.google.cloud.dialogflow.v2beta1.ConversationEvent.Type getType();
/**
*
*
*
* Optional. More detailed information about an error. Only set for type
* UNRECOVERABLE_ERROR_IN_PHONE_CALL.
*
*
* .google.rpc.Status error_status = 3;
*
* @return Whether the errorStatus field is set.
*/
boolean hasErrorStatus();
/**
*
*
*
* Optional. More detailed information about an error. Only set for type
* UNRECOVERABLE_ERROR_IN_PHONE_CALL.
*
*
* .google.rpc.Status error_status = 3;
*
* @return The errorStatus.
*/
com.google.rpc.Status getErrorStatus();
/**
*
*
*
* Optional. More detailed information about an error. Only set for type
* UNRECOVERABLE_ERROR_IN_PHONE_CALL.
*
*
* .google.rpc.Status error_status = 3;
*/
com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder();
/**
*
*
*
* Payload of NEW_MESSAGE event.
*
*
* .google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;
*
* @return Whether the newMessagePayload field is set.
*/
boolean hasNewMessagePayload();
/**
*
*
*
* Payload of NEW_MESSAGE event.
*
*
* .google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;
*
* @return The newMessagePayload.
*/
com.google.cloud.dialogflow.v2beta1.Message getNewMessagePayload();
/**
*
*
*
* Payload of NEW_MESSAGE event.
*
*
* .google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;
*/
com.google.cloud.dialogflow.v2beta1.MessageOrBuilder getNewMessagePayloadOrBuilder();
com.google.cloud.dialogflow.v2beta1.ConversationEvent.PayloadCase getPayloadCase();
}