Package com.google.cloud.dialogflow.v2
Interface AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion,AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder
- Enclosing class:
- AgentCoachingSuggestion.DuplicateCheckResult
public static interface AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.floatOutput only.Output only.Output only.intOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAnswerRecord
String getAnswerRecord()Output only. The answer record id of the past duplicate suggestion.
string answer_record = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The answerRecord.
-
getAnswerRecordBytes
com.google.protobuf.ByteString getAnswerRecordBytes()Output only. The answer record id of the past duplicate suggestion.
string answer_record = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for answerRecord.
-
hasSources
boolean hasSources()Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the sources field is set.
-
getSources
AgentCoachingSuggestion.Sources getSources()Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The sources.
-
getSourcesOrBuilder
AgentCoachingSuggestion.SourcesOrBuilder getSourcesOrBuilder()Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSuggestionIndex
int getSuggestionIndex()Output only. The index of the duplicate suggestion in the past suggestion list.
int32 suggestion_index = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The suggestionIndex.
-
getSimilarityScore
float getSimilarityScore()Output only. The similarity score of between the past and current suggestion.
float similarity_score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The similarityScore.
-