com.google.cloud.dialogflow.v2.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-v2 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2
/*
* 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/v2/conversation_event.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dialogflow.v2;
public interface ConversationEventOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ConversationEvent)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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();
/**
*
*
*
* 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();
/**
*
*
*
* The type of the event that this notification refers to.
*
*
* .google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;
*
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
*
*
* The type of the event that this notification refers to.
*
*
* .google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;
*
* @return The type.
*/
com.google.cloud.dialogflow.v2.ConversationEvent.Type getType();
/**
*
*
*
* 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();
/**
*
*
*
* 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();
/**
*
*
*
* 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.v2.Message new_message_payload = 4;
*
* @return Whether the newMessagePayload field is set.
*/
boolean hasNewMessagePayload();
/**
*
*
*
* Payload of NEW_MESSAGE event.
*
*
* .google.cloud.dialogflow.v2.Message new_message_payload = 4;
*
* @return The newMessagePayload.
*/
com.google.cloud.dialogflow.v2.Message getNewMessagePayload();
/**
*
*
*
* Payload of NEW_MESSAGE event.
*
*
* .google.cloud.dialogflow.v2.Message new_message_payload = 4;
*/
com.google.cloud.dialogflow.v2.MessageOrBuilder getNewMessagePayloadOrBuilder();
com.google.cloud.dialogflow.v2.ConversationEvent.PayloadCase getPayloadCase();
}