Package com.google.cloud.dialogflow.v2
Interface AnswerRecordOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnswerRecord,AnswerRecord.Builder
public interface AnswerRecordOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentAssistantRecordgetAgentAssistantRecord()Output only.AgentAssistantRecordOrBuildergetAgentAssistantRecordOrBuilder()Output only.AnswerFeedbackgetAnswerFeedback()Required.AnswerFeedbackOrBuildergetAnswerFeedbackOrBuilder()Required.StringgetName()The unique identifier of this answer record.com.google.protobuf.ByteStringgetNameBytes()The unique identifier of this answer record.AnswerRecord.RecordCasegetRecordCase()booleanhasAgentAssistantRecord()Output only.booleanhasAnswerFeedback()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The unique identifier of this answer record. Format: `projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The unique identifier of this answer record. Format: `projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>`.
string name = 1;- Returns:
- The bytes for name.
-
hasAnswerFeedback
boolean hasAnswerFeedback()
Required. The AnswerFeedback for this record. You can set this with [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about this answer.
.google.cloud.dialogflow.v2.AnswerFeedback answer_feedback = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the answerFeedback field is set.
-
getAnswerFeedback
AnswerFeedback getAnswerFeedback()
Required. The AnswerFeedback for this record. You can set this with [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about this answer.
.google.cloud.dialogflow.v2.AnswerFeedback answer_feedback = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The answerFeedback.
-
getAnswerFeedbackOrBuilder
AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder()
Required. The AnswerFeedback for this record. You can set this with [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about this answer.
.google.cloud.dialogflow.v2.AnswerFeedback answer_feedback = 2 [(.google.api.field_behavior) = REQUIRED];
-
hasAgentAssistantRecord
boolean hasAgentAssistantRecord()
Output only. The record for human agent assistant.
.google.cloud.dialogflow.v2.AgentAssistantRecord agent_assistant_record = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the agentAssistantRecord field is set.
-
getAgentAssistantRecord
AgentAssistantRecord getAgentAssistantRecord()
Output only. The record for human agent assistant.
.google.cloud.dialogflow.v2.AgentAssistantRecord agent_assistant_record = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The agentAssistantRecord.
-
getAgentAssistantRecordOrBuilder
AgentAssistantRecordOrBuilder getAgentAssistantRecordOrBuilder()
Output only. The record for human agent assistant.
.google.cloud.dialogflow.v2.AgentAssistantRecord agent_assistant_record = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRecordCase
AnswerRecord.RecordCase getRecordCase()
-
-