public static final class AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder extends GeneratedMessage.Builder<AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder> implements AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestionOrBuilderThe duplicate suggestion details.
Protobuf type
google.cloud.dialogflow.v2.AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion build()| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion |
|
buildPartial()
public AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion |
|
clear()
public AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
clearAnswerRecord()
public AgentCoachingInstruction.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 |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
clearSimilarityScore()
public AgentCoachingInstruction.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 |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
clearSuggestionIndex()
public AgentCoachingInstruction.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 |
AgentCoachingInstruction.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 AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion other)
public AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder mergeFrom(AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
|
setAnswerRecord(String value)
public AgentCoachingInstruction.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 |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
setAnswerRecordBytes(ByteString value)
public AgentCoachingInstruction.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 |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
setSimilarityScore(float value)
public AgentCoachingInstruction.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 |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |
setSuggestionIndex(int value)
public AgentCoachingInstruction.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 |
AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion.Builder |
This builder for chaining. |