public static final class AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder extends GeneratedMessage.Builder<AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder> implements AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestionOrBuilderThe duplicate suggestion details. Keeping answer_record and sources together as they are identifiers for duplicate suggestions.
Protobuf type
google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion build()| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion |
|
buildPartial()
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion |
|
clear()
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
clearAnswerRecord()
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder clearAnswerRecord()Output only. The answer record id of the past duplicate suggestion.
string answer_record = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
clearSimilarityScore()
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder clearSimilarityScore()Output only. The similarity score of between the past and current suggestion.
float similarity_score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
clearSources()
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder clearSources()Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
clearSuggestionIndex()
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder clearSuggestionIndex()Output only. The index of the duplicate suggestion in the past suggestion list.
int32 suggestion_index = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
getAnswerRecord()
public String getAnswerRecord()Output only. The answer record id of the past duplicate suggestion.
string answer_record = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The answerRecord. |
getAnswerRecordBytes()
public ByteString getAnswerRecordBytes()Output only. The answer record id of the past duplicate suggestion.
string answer_record = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for answerRecord. |
getDefaultInstanceForType()
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSimilarityScore()
public 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 | |
|---|---|
| Type | Description |
float |
The similarityScore. |
getSources()
public AgentCoachingSuggestion.Sources getSources()Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources |
The sources. |
getSourcesBuilder()
public AgentCoachingSuggestion.Sources.Builder getSourcesBuilder()Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.Sources.Builder |
|
getSourcesOrBuilder()
public AgentCoachingSuggestion.SourcesOrBuilder getSourcesOrBuilder()Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.SourcesOrBuilder |
|
getSuggestionIndex()
public 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 | |
|---|---|
| Type | Description |
int |
The suggestionIndex. |
hasSources()
public boolean hasSources()Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sources field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion other)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder mergeFrom(AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
mergeSources(AgentCoachingSuggestion.Sources value)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder mergeSources(AgentCoachingSuggestion.Sources value)Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingSuggestion.Sources |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
setAnswerRecord(String value)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder setAnswerRecord(String value)Output only. The answer record id of the past duplicate suggestion.
string answer_record = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe answerRecord to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
setAnswerRecordBytes(ByteString value)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder setAnswerRecordBytes(ByteString value)Output only. The answer record id of the past duplicate suggestion.
string answer_record = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for answerRecord to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
setSimilarityScore(float value)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder setSimilarityScore(float value)Output only. The similarity score of between the past and current suggestion.
float similarity_score = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe similarityScore to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
setSources(AgentCoachingSuggestion.Sources value)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder setSources(AgentCoachingSuggestion.Sources value)Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingSuggestion.Sources |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
setSources(AgentCoachingSuggestion.Sources.Builder builderForValue)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder setSources(AgentCoachingSuggestion.Sources.Builder builderForValue)Output only. Sources for the suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCoachingSuggestion.Sources.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
setSuggestionIndex(int value)
public AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder setSuggestionIndex(int value)Output only. The index of the duplicate suggestion in the past suggestion list.
int32 suggestion_index = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe suggestionIndex to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |