com.google.cloud.dialogflow.v2.MessageOrBuilder 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/participant.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.v2;
public interface MessageOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.Message)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. The unique identifier of the message.
* Format: `projects/<Project ID>/locations/<Location
* ID>/conversations/<Conversation ID>/messages/<Message ID>`.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Optional. The unique identifier of the message.
* Format: `projects/<Project ID>/locations/<Location
* ID>/conversations/<Conversation ID>/messages/<Message ID>`.
*
*
* string name = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. The message content.
*
*
* string content = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The content.
*/
java.lang.String getContent();
/**
*
*
*
* Required. The message content.
*
*
* string content = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for content.
*/
com.google.protobuf.ByteString getContentBytes();
/**
*
*
*
* Optional. The message language.
* This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
* language tag. Example: "en-US".
*
*
* string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
*
*
*
* Optional. The message language.
* This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
* language tag. Example: "en-US".
*
*
* string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString getLanguageCodeBytes();
/**
*
*
*
* Output only. The participant that sends this message.
*
*
* string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The participant.
*/
java.lang.String getParticipant();
/**
*
*
*
* Output only. The participant that sends this message.
*
*
* string participant = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for participant.
*/
com.google.protobuf.ByteString getParticipantBytes();
/**
*
*
*
* Output only. The role of the participant.
*
*
*
* .google.cloud.dialogflow.v2.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for participantRole.
*/
int getParticipantRoleValue();
/**
*
*
*
* Output only. The role of the participant.
*
*
*
* .google.cloud.dialogflow.v2.Participant.Role participant_role = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The participantRole.
*/
com.google.cloud.dialogflow.v2.Participant.Role getParticipantRole();
/**
*
*
*
* Output only. The time when the message was created in Contact Center AI.
*
*
* .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The time when the message was created in Contact Center AI.
*
*
* .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. The time when the message was created in Contact Center AI.
*
*
* .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Optional. The time when the message was sent.
*
*
* .google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the sendTime field is set.
*/
boolean hasSendTime();
/**
*
*
*
* Optional. The time when the message was sent.
*
*
* .google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The sendTime.
*/
com.google.protobuf.Timestamp getSendTime();
/**
*
*
*
* Optional. The time when the message was sent.
*
*
* .google.protobuf.Timestamp send_time = 9 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.protobuf.TimestampOrBuilder getSendTimeOrBuilder();
/**
*
*
*
* Output only. The annotation for the message.
*
*
*
* .google.cloud.dialogflow.v2.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the messageAnnotation field is set.
*/
boolean hasMessageAnnotation();
/**
*
*
*
* Output only. The annotation for the message.
*
*
*
* .google.cloud.dialogflow.v2.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The messageAnnotation.
*/
com.google.cloud.dialogflow.v2.MessageAnnotation getMessageAnnotation();
/**
*
*
*
* Output only. The annotation for the message.
*
*
*
* .google.cloud.dialogflow.v2.MessageAnnotation message_annotation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloud.dialogflow.v2.MessageAnnotationOrBuilder getMessageAnnotationOrBuilder();
/**
*
*
*
* Output only. The sentiment analysis result for the message.
*
*
*
* .google.cloud.dialogflow.v2.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the sentimentAnalysis field is set.
*/
boolean hasSentimentAnalysis();
/**
*
*
*
* Output only. The sentiment analysis result for the message.
*
*
*
* .google.cloud.dialogflow.v2.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The sentimentAnalysis.
*/
com.google.cloud.dialogflow.v2.SentimentAnalysisResult getSentimentAnalysis();
/**
*
*
*
* Output only. The sentiment analysis result for the message.
*
*
*
* .google.cloud.dialogflow.v2.SentimentAnalysisResult sentiment_analysis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.cloud.dialogflow.v2.SentimentAnalysisResultOrBuilder getSentimentAnalysisOrBuilder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy